Enum Class BatchFaceRegistrationServices.AverageFaceStrategy
java.lang.Object
java.lang.Enum<BatchFaceRegistrationServices.AverageFaceStrategy>
cz.fidentis.analyst.engines.face.batch.registration.BatchFaceRegistrationServices.AverageFaceStrategy
- All Implemented Interfaces:
Serializable
,Comparable<BatchFaceRegistrationServices.AverageFaceStrategy>
,Constable
- Enclosing class:
BatchFaceRegistrationServices
public static enum BatchFaceRegistrationServices.AverageFaceStrategy
extends Enum<BatchFaceRegistrationServices.AverageFaceStrategy>
Strategy of the computation of the average face
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe average face metamorphose to other faces by searching nearest neighbors, i.e., the closest vertices of registered faces.Skip the computation of the average face, i.e., use and existing (average) face as the template face for registration.The average face metamorphose to other faces by projecting its vertices to registered faces using ray-casting computed on CPUThe average face metamorphose to other faces by projecting its vertices to registered faces using ray-casting computed on GPU. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
Skip the computation of the average face, i.e., use and existing (average) face as the template face for registration. -
NEAREST_NEIGHBOURS
The average face metamorphose to other faces by searching nearest neighbors, i.e., the closest vertices of registered faces. -
PROJECTION_CPU
The average face metamorphose to other faces by projecting its vertices to registered faces using ray-casting computed on CPU -
PROJECTION_GPU
The average face metamorphose to other faces by projecting its vertices to registered faces using ray-casting computed on GPU. If GPU is not supported, switches to thePROJECTION_CPU
automatically.
-
-
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
-