Enum Class InitialCamerasEstimatorMethod

java.lang.Object
java.lang.Enum<InitialCamerasEstimatorMethod>
com.irurueta.ar.sfm.InitialCamerasEstimatorMethod
All Implemented Interfaces:
Serializable, Comparable<InitialCamerasEstimatorMethod>, Constable

public enum InitialCamerasEstimatorMethod extends Enum<InitialCamerasEstimatorMethod>
Indicates method used for initial estimation of cameras.
  • Enum Constant Details

    • DUAL_ABSOLUTE_QUADRIC_AND_ESSENTIAL_MATRIX

      public static final InitialCamerasEstimatorMethod DUAL_ABSOLUTE_QUADRIC_AND_ESSENTIAL_MATRIX
      Uses a two-step method based on the estimation of the Dual Absolute Quadric (DAQ) to estimate camera intrinsic parameters, and then those intrinsic parameters are used to estimate initial cameras using the essential matrix. This is the most accurate method, solving cameras and reconstructed points up to scale with the smallest error.
    • DUAL_ABSOLUTE_QUADRIC

      public static final InitialCamerasEstimatorMethod DUAL_ABSOLUTE_QUADRIC
      Uses a method based on the estimation of the Dual Absolute Quadric (DAQ). This method always assumes that principal point is zero (located at the center of the image). This method usually gets good accuracy on camera intrinsics estimation, but extrinsic parameters and reconstructed points usually have poor accuracy.
    • DUAL_IMAGE_OF_ABSOLUTE_CONIC

      public static final InitialCamerasEstimatorMethod DUAL_IMAGE_OF_ABSOLUTE_CONIC
      Uses a method based on the estimation of the Dual Image of Absolute Conic (DIAC) by solving the Kruppa equations. This method requires that principal point is not close to zero (typically coordinates of the center of the image are provided assuming that origin is at bottom-left corner, unless aspect ratio is negative and origin is considered to be at top-left corner). This method also requires that cameras pose has enough rotation (i.e. are not too parallel). This method might fail or produce poor results if these requirements are not met.
    • ESSENTIAL_MATRIX

      public static final InitialCamerasEstimatorMethod ESSENTIAL_MATRIX
      This method uses the essential matrix to determine initial cameras. This can only be used when cameras have been previously calibrated by some offline method and their intrinsic parameters are known.
  • Constructor Details

    • InitialCamerasEstimatorMethod

      private InitialCamerasEstimatorMethod()
  • Method Details

    • values

      public static InitialCamerasEstimatorMethod[] 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 InitialCamerasEstimatorMethod 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