Class CameraModel

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    CameraPinhole

    public abstract class CameraModel
    extends java.lang.Object
    implements java.io.Serializable
    Common class for camera models
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int height
      image shape (units: pixels)
      int width
      image shape (units: pixels)
    • Constructor Summary

      Constructors 
      Constructor Description
      CameraModel()  
    • Field Detail

      • width

        public int width
        image shape (units: pixels)
      • height

        public int height
        image shape (units: pixels)
    • Constructor Detail

      • CameraModel

        public CameraModel()
    • Method Detail

      • getWidth

        public int getWidth()
      • setWidth

        public void setWidth​(int width)
      • getHeight

        public int getHeight()
      • setHeight

        public void setHeight​(int height)
      • createLike

        public abstract <T extends CameraModel> T createLike()
        Creates a new camera model with zero values of the same type os this one