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
Fields inherited from class boofcv.struct.calib.CameraModel
height, width
-
Constructor Summary
-
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) boolean
void
print()
Prints a summary of this model to stdoutvoid
reset()
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, isInside
Methods 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:CameraPinhole
Sets all variables to zero.- Overrides:
reset
in classCameraPinhole
-
fsetK
public CameraDivision fsetK(double fx, double fy, double skew, double cx, double cy, int width, int height) - Overrides:
fsetK
in classCameraPinhole
-
fsetRadial
-
createLike
Description copied from class:CameraModel
Creates a new camera model with zero values of the same type os this one- Overrides:
createLike
in classCameraPinhole
-
setTo
-
setTo
- Overrides:
setTo
in classCameraPinhole
-
isDistorted
public boolean isDistorted() -
print
public void print()Description copied from class:CameraModel
Prints a summary of this model to stdout- Overrides:
print
in classCameraPinhole
-
toString
- Overrides:
toString
in classCameraPinhole
-