Package boofcv.struct.calib
Class CameraDivision
java.lang.Object
boofcv.struct.calib.CameraModel
boofcv.struct.calib.CameraPinhole
boofcv.struct.calib.CameraDivision
- All Implemented Interfaces:
Serializable
Division model for lens distortion [1]. p = (1 / (1 + radial*||x||**2))*x, where 'x' is distorted observation
and 'p' is undistorted point.
[1] Andrew W. Fitzgibbon, "Simultaneous Linear Estimation of Multiple View Geometry and Lens Distortion" CVPR'01
- See Also:
-
Field Summary
FieldsFields inherited from class boofcv.struct.calib.CameraModel
height, width -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends CameraModel>
TCreates a new camera model with zero values of the same type os this onefsetK(double fx, double fy, double skew, double cx, double cy, int width, int height) fsetRadial(double radial) booleanvoidprint()Prints a summary of this model to stdoutvoidreset()Sets all variables to zero.setTo(CameraDivision param) setTo(CameraPinhole param) toString()Methods inherited from class boofcv.struct.calib.CameraPinhole
fsetK, fsetK, fsetShape, isEquals, isInside, isInsideMethods inherited from class boofcv.struct.calib.CameraModel
getDimension, getHeight, getWidth, isSameShape, isSameShape, setHeight, setWidth
-
Field Details
-
radial
public double radialSingle parameter radial distortion term
-
-
Constructor Details
-
CameraDivision
public CameraDivision()
-
-
Method Details
-
reset
public void reset()Description copied from class:CameraPinholeSets all variables to zero.- Overrides:
resetin classCameraPinhole
-
fsetK
public CameraDivision fsetK(double fx, double fy, double skew, double cx, double cy, int width, int height) - Overrides:
fsetKin classCameraPinhole
-
fsetRadial
-
createLike
Description copied from class:CameraModelCreates a new camera model with zero values of the same type os this one- Overrides:
createLikein classCameraPinhole
-
setTo
-
setTo
- Overrides:
setToin classCameraPinhole
-
isDistorted
public boolean isDistorted() -
print
public void print()Description copied from class:CameraModelPrints a summary of this model to stdout- Overrides:
printin classCameraPinhole
-
toString
- Overrides:
toStringin classCameraPinhole
-