public enum ShapeFeatures extends Enum<ShapeFeatures> implements CmdLineOptionsProvider
Modifier and Type | Class and Description |
---|---|
static interface |
ShapeFeatures.ShapeFeaturesOp
An object able to perform the execution associated with a ShapeFeatures
type; possibly contains extra options for the operation.
|
Enum Constant and Description |
---|
AFFINE_INVARIANT_MOMENTS
Affine invariant moments
|
BASIC_SHAPE_FEATURES
Basic shape features
|
BOUNDARY_DISTANCE_FEATURE
Distance from boundary descriptor
|
COLOR_STATISTICS
Colour statistics
|
GLOBAL
Any of the
GlobalFeatureType s applied only to the foreground
region. |
HU_MOMENTS
Hu moments
|
Modifier and Type | Method and Description |
---|---|
protected ConnectedComponent |
c(FImage mask) |
abstract ShapeFeatures.ShapeFeaturesOp |
getOptions() |
static ShapeFeatures |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShapeFeatures[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShapeFeatures GLOBAL
GlobalFeatureType
s applied only to the foreground
region.public static final ShapeFeatures AFFINE_INVARIANT_MOMENTS
AffineInvariantMoments
public static final ShapeFeatures BASIC_SHAPE_FEATURES
BasicShapeDescriptor
public static final ShapeFeatures BOUNDARY_DISTANCE_FEATURE
BoundaryDistanceDescriptor
public static final ShapeFeatures HU_MOMENTS
HuMoments
public static final ShapeFeatures COLOR_STATISTICS
ColourDescriptor
public static ShapeFeatures[] values()
for (ShapeFeatures c : ShapeFeatures.values()) System.out.println(c);
public static ShapeFeatures valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullprotected ConnectedComponent c(FImage mask)
public abstract ShapeFeatures.ShapeFeaturesOp getOptions()
getOptions
in interface CmdLineOptionsProvider