Package boofcv.struct.calib
Class CameraModel
java.lang.Object
boofcv.struct.calib.CameraModel
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CameraPinhole
public abstract class CameraModel extends Object implements Serializable
Common class for camera models
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description CameraModel()
-
Method Summary
Modifier and Type Method Description abstract <T extends CameraModel>
TcreateLike()
Creates a new camera model with zero values of the same type os this oneImageDimension
getDimension(@Nullable ImageDimension dimension)
int
getHeight()
int
getWidth()
void
print()
Prints a summary of this model to stdoutvoid
setHeight(int height)
void
setWidth(int width)
-
Field Details
-
width
public int widthimage shape (units: pixels) -
height
public int heightimage shape (units: pixels)
-
-
Constructor Details
-
CameraModel
public CameraModel()
-
-
Method Details
-
getWidth
public int getWidth() -
setWidth
public void setWidth(int width) -
getHeight
public int getHeight() -
setHeight
public void setHeight(int height) -
getDimension
-
createLike
Creates a new camera model with zero values of the same type os this one -
print
public void print()Prints a summary of this model to stdout
-