Enum EnumPNP

java.lang.Object
java.lang.Enum<EnumPNP>
boofcv.factory.geo.EnumPNP
All Implemented Interfaces:
Serializable, Comparable<EnumPNP>, java.lang.constant.Constable

public enum EnumPNP
extends Enum<EnumPNP>
List of algorithms for solving the Perspective n-Point (PnP) problem
  • Enum Constant Details

    • P3P_GRUNERT

      public static final EnumPNP P3P_GRUNERT
      • Minimal 3-point solution
      • At most 4 solutions.
      • No iteration
      See Also:
      P3PGrunert
    • P3P_FINSTERWALDER

      public static final EnumPNP P3P_FINSTERWALDER
      • Minimal 3-point solution
      • At most 4 solutions.
      • No iteration
      See Also:
      P3PFinsterwalder
    • EPNP

      public static final EnumPNP EPNP
      • Four or more points. Really five points since 4 is unstable.
      • Single solution
      • Requires iteration. See class JavaDoc for recommendations and peculiarities.
      • Efficient algorithm for many sample points
      See Also:
      PnPLepetitEPnP
    • IPPE

      public static final EnumPNP IPPE
      • Four or more points.
      • Single solution
      • Points must lie on a plane and have z=0.
      • Efficient algorithm for many sample points
      See Also:
      PnPInfinitesimalPlanePoseEstimation
  • Method Details

    • values

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

      public static EnumPNP valueOf​(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null