de.unihalle.informatik.MiToBo.math.images
Enum ImageArithmetics.ArithOp

java.lang.Object
  extended by java.lang.Enum<ImageArithmetics.ArithOp>
      extended by de.unihalle.informatik.MiToBo.math.images.ImageArithmetics.ArithOp
All Implemented Interfaces:
Serializable, Comparable<ImageArithmetics.ArithOp>
Enclosing class:
ImageArithmetics

public static enum ImageArithmetics.ArithOp
extends 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

Enum Constant Summary
ABS
           
ABS_DIFF
           
ADD
           
ADD_CONST
           
AND
           
DIV
           
INV
           
MAX
           
MIN
           
MULT
           
MULT_CONST
           
OR
           
POW_CONST
           
SUB
           
 
Method Summary
static ImageArithmetics.ArithOp valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ImageArithmetics.ArithOp[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ADD

public static final ImageArithmetics.ArithOp ADD

SUB

public static final ImageArithmetics.ArithOp SUB

MULT

public static final ImageArithmetics.ArithOp MULT

DIV

public static final ImageArithmetics.ArithOp DIV

MIN

public static final ImageArithmetics.ArithOp MIN

MAX

public static final ImageArithmetics.ArithOp MAX

AND

public static final ImageArithmetics.ArithOp AND

OR

public static final ImageArithmetics.ArithOp OR

ABS_DIFF

public static final ImageArithmetics.ArithOp ABS_DIFF

ADD_CONST

public static final ImageArithmetics.ArithOp ADD_CONST

MULT_CONST

public static final ImageArithmetics.ArithOp MULT_CONST

POW_CONST

public static final ImageArithmetics.ArithOp POW_CONST

INV

public static final ImageArithmetics.ArithOp INV

ABS

public static final ImageArithmetics.ArithOp ABS
Method Detail

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

valueOf

public static ImageArithmetics.ArithOp valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2010–2015 Martin Luther University Halle-Wittenberg. All rights reserved.