Package boofcv.struct.calib
Class CameraModel
java.lang.Object
boofcv.struct.calib.CameraModel
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CameraPinhole
Common class for camera models
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract <T extends CameraModel>
TCreates a new camera model with zero values of the same type os this onegetDimension
(@Nullable ImageDimension dimension) int
int
getWidth()
boolean
isSameShape
(int width, int height) boolean
isSameShape
(ImageBase<?> image) 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
-
isSameShape
-
isSameShape
public boolean isSameShape(int width, int height) -
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
-