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
GlobalFeatureTypes 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
GlobalFeatureTypes applied only to the foreground
region.public static final ShapeFeatures AFFINE_INVARIANT_MOMENTS
AffineInvariantMomentspublic static final ShapeFeatures BASIC_SHAPE_FEATURES
BasicShapeDescriptorpublic static final ShapeFeatures BOUNDARY_DISTANCE_FEATURE
BoundaryDistanceDescriptorpublic static final ShapeFeatures HU_MOMENTS
HuMomentspublic static final ShapeFeatures COLOR_STATISTICS
ColourDescriptorpublic 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