Enum Class CameraLensModel

java.lang.Object
java.lang.Enum<CameraLensModel>
org.photonvision.vision.calibration.CameraLensModel
All Implemented Interfaces:
Serializable, Comparable<CameraLensModel>, Constable

public enum CameraLensModel extends Enum<CameraLensModel>
What kind of camera lens model our intrinsics are modeling. For more info see: https://docs.opencv.org/4.x/dc/dbb/tutorial_py_calibration.html https://mrcal.secretsauce.net/lensmodels.html#org4e95788
  • Enum Constant Details

    • LENSMODEL_OPENCV

      public static final CameraLensModel LENSMODEL_OPENCV
      OpenCV[4,5,8,12]-based model
    • LENSMODEL_STERIOGRAPHIC

      public static final CameraLensModel LENSMODEL_STERIOGRAPHIC
      Mrcal steriographic lens model. See LENSMODEL_STEREOGRAPHIC in the mrcal docs
    • LENSMODEL_SPLINED_STERIOGRAPHIC

      public static final CameraLensModel LENSMODEL_SPLINED_STERIOGRAPHIC
      Mrcal splined-steriographic lens model. See LENSMODEL_SPLINED_STEREOGRAPHIC in the mrcal docs
  • Method Details

    • values

      public static CameraLensModel[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static CameraLensModel valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null