Enum SoSupervisedTextureClassificationProcessing2d.CoocTextonShapes
- java.lang.Object
-
- java.lang.Enum<SoSupervisedTextureClassificationProcessing2d.CoocTextonShapes>
-
- com.openinventor.imageviz.engines.imagesegmentation.classification.SoSupervisedTextureClassificationProcessing2d.CoocTextonShapes
-
- All Implemented Interfaces:
IntegerValuedEnum
,java.io.Serializable
,java.lang.Comparable<SoSupervisedTextureClassificationProcessing2d.CoocTextonShapes>
- Enclosing class:
- SoSupervisedTextureClassificationProcessing2d
public static enum SoSupervisedTextureClassificationProcessing2d.CoocTextonShapes extends java.lang.Enum<SoSupervisedTextureClassificationProcessing2d.CoocTextonShapes> implements IntegerValuedEnum
This enum defines all type of measures used for texture classification.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BALL
The set of all points situated at a distance less or equal to textonSize from the center.CUBE
The set of all points associated to corners, middles of edges and middles of faces of a cube of size textonSize.SPHERE
The set of all points situated at the same euclidean distance textonSize from the center.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getValue()
Returns the integer value of the enum constant.static SoSupervisedTextureClassificationProcessing2d.CoocTextonShapes
valueOf(int val)
Returns the enum constant of this type with the specified integer valuestatic SoSupervisedTextureClassificationProcessing2d.CoocTextonShapes
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SoSupervisedTextureClassificationProcessing2d.CoocTextonShapes[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CUBE
public static final SoSupervisedTextureClassificationProcessing2d.CoocTextonShapes CUBE
The set of all points associated to corners, middles of edges and middles of faces of a cube of size textonSize.
-
SPHERE
public static final SoSupervisedTextureClassificationProcessing2d.CoocTextonShapes SPHERE
The set of all points situated at the same euclidean distance textonSize from the center. This mode must be used when a repetitive texture is mono-scale.
-
BALL
public static final SoSupervisedTextureClassificationProcessing2d.CoocTextonShapes BALL
The set of all points situated at a distance less or equal to textonSize from the center. This mode can be useful to classify a multi-scale repetitive texture but may be very time consuming.
-
-
Method Detail
-
values
public static SoSupervisedTextureClassificationProcessing2d.CoocTextonShapes[] 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 (SoSupervisedTextureClassificationProcessing2d.CoocTextonShapes c : SoSupervisedTextureClassificationProcessing2d.CoocTextonShapes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SoSupervisedTextureClassificationProcessing2d.CoocTextonShapes 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 namejava.lang.NullPointerException
- if the argument is null
-
valueOf
public static SoSupervisedTextureClassificationProcessing2d.CoocTextonShapes valueOf(int val)
Returns the enum constant of this type with the specified integer value- Returns:
- the enum constant of this type with the specified integer value.
-
getValue
public int getValue()
Description copied from interface:IntegerValuedEnum
Returns the integer value of the enum constant.- Specified by:
getValue
in interfaceIntegerValuedEnum
- Returns:
- the integer value of the enum constant.
-
-