Documentation of 'boofcv.factory.geo.EnumPNP' Java class
EnumPNP
boofcv.factory.geo

Enum EnumPNP

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<EnumPNP>


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

      Enum Constants 
      Enum Constant and Description
      EPNP
      Four or more points.
      P3P_FINSTERWALDER
      Minimal 3-point solution At most 4 solutions.
      P3P_GRUNERT
      Minimal 3-point solution At most 4 solutions.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static EnumPNP valueOf(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static EnumPNP[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • 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.
        • Single solution
        • Requires iteration. See class JavaDoc for recommendations and peculiarities.
        • Efficient algorithm for many sample points
        See Also:
        PnPLepetitEPnP
    • Method Detail

      • values

        public static EnumPNP[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (EnumPNP c : EnumPNP.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static EnumPNP valueOf(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.