|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<MorphologicalOperator.Op>
com.xinapse.filter.MorphologicalOperator.Op
public static enum MorphologicalOperator.Op
An enumeration of the possible morphological operations on an image.
| Enum Constant Summary | |
|---|---|
CLOSE
Closing operation. |
|
DILATE
Dilate operation. |
|
ERODE
Erode operation. |
|
OPEN
Opening operation. |
|
| Method Summary | |
|---|---|
static MorphologicalOperator.Op |
getPreferredOp(java.util.prefs.Preferences prefs)
Returns the MorphologicalOperator.Op set in the given preferences. |
static void |
savePreferredOp(MorphologicalOperator.Op op,
java.util.prefs.Preferences prefs)
Saves the MorphologicalOperator.Op set in the given preferences. |
java.lang.String |
toString()
Returns a String representation of this MorphologicalOperator.Op.`w |
static MorphologicalOperator.Op |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static MorphologicalOperator.Op[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final MorphologicalOperator.Op DILATE
public static final MorphologicalOperator.Op ERODE
public static final MorphologicalOperator.Op OPEN
public static final MorphologicalOperator.Op CLOSE
| Method Detail |
|---|
public static MorphologicalOperator.Op[] values()
for (MorphologicalOperator.Op c : MorphologicalOperator.Op.values()) System.out.println(c);
public static MorphologicalOperator.Op valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic java.lang.String toString()
toString in class java.lang.Enum<MorphologicalOperator.Op>public static MorphologicalOperator.Op getPreferredOp(java.util.prefs.Preferences prefs)
prefs - the Preferences to search.
public static void savePreferredOp(MorphologicalOperator.Op op,
java.util.prefs.Preferences prefs)
op - the MorphologicalOperator.Op to set.prefs - the Preferences in which to set the Op.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||