public static enum FImageGradients.Mode extends Enum<FImageGradients.Mode>
Enum Constant and Description |
---|
Signed
Signed orientations +/- PI computed using
atan2 . |
Unsigned
Unsigned orientations in +/- PI/2 computed using
atan . |
Modifier and Type | Method and Description |
---|---|
float |
maxAngle()
Get the maximum angular value (in radians) computed by this mode.
|
float |
minAngle()
Get the minimum angular value (in radians) computed by this mode.
|
static FImageGradients.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FImageGradients.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FImageGradients.Mode Unsigned
atan
.public static final FImageGradients.Mode Signed
atan2
.public static FImageGradients.Mode[] values()
for (FImageGradients.Mode c : FImageGradients.Mode.values()) System.out.println(c);
public static FImageGradients.Mode 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 nullpublic float minAngle()
public float maxAngle()