de.unihalle.informatik.MiToBo.math
Enum ImageArithmetics.ArithOp
java.lang.Object
java.lang.Enum<ImageArithmetics.ArithOp>
de.unihalle.informatik.MiToBo.math.ImageArithmetics.ArithOp
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ImageArithmetics.ArithOp>
- Enclosing class:
- ImageArithmetics
public static enum ImageArithmetics.ArithOp
- extends java.lang.Enum<ImageArithmetics.ArithOp>
Arithmetic operations:
ADD, SUB, MULT, DIV, MIN, MAX, AND, OR, ABS_DIFF require two input images,
ADD_CONST, MULT_CONST, POW_CONST require one input image and a constant
INV, ABS require one input image only
- Author:
- Oliver Gress
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
ABS
public static final ImageArithmetics.ArithOp ABS
ABS_DIFF
public static final ImageArithmetics.ArithOp ABS_DIFF
ADD
public static final ImageArithmetics.ArithOp ADD
ADD_CONST
public static final ImageArithmetics.ArithOp ADD_CONST
AND
public static final ImageArithmetics.ArithOp AND
DIV
public static final ImageArithmetics.ArithOp DIV
INV
public static final ImageArithmetics.ArithOp INV
MAX
public static final ImageArithmetics.ArithOp MAX
MIN
public static final ImageArithmetics.ArithOp MIN
MULT
public static final ImageArithmetics.ArithOp MULT
MULT_CONST
public static final ImageArithmetics.ArithOp MULT_CONST
OR
public static final ImageArithmetics.ArithOp OR
POW_CONST
public static final ImageArithmetics.ArithOp POW_CONST
SUB
public static final ImageArithmetics.ArithOp SUB
valueOf
public static ImageArithmetics.ArithOp 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 name
java.lang.NullPointerException
- if the argument is null
values
public static ImageArithmetics.ArithOp[] 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 (ImageArithmetics.ArithOp c : ImageArithmetics.ArithOp.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared