Package boofcv.factory.geo
Enum Class EnumPNP
- All Implemented Interfaces:
Serializable
,Comparable<EnumPNP>
,java.lang.constant.Constable
List of algorithms for solving the Perspective n-Point (PnP) problem
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionFour or more points.Four or more points.Minimal 3-point solution At most 4 solutions.Minimal 3-point solution At most 4 solutions. -
Method Summary
-
Enum Constant Details
-
P3P_GRUNERT
- Minimal 3-point solution
- At most 4 solutions.
- No iteration
- See Also:
-
P3P_FINSTERWALDER
- Minimal 3-point solution
- At most 4 solutions.
- No iteration
- See Also:
-
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:
-
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:
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-