de.unihalle.informatik.MiToBo.fields
Enum FieldOperations2D.FieldOperation

java.lang.Object
  extended by java.lang.Enum<FieldOperations2D.FieldOperation>
      extended by de.unihalle.informatik.MiToBo.fields.FieldOperations2D.FieldOperation
All Implemented Interfaces:
Serializable, Comparable<FieldOperations2D.FieldOperation>
Enclosing class:
FieldOperations2D

public static enum FieldOperations2D.FieldOperation
extends Enum<FieldOperations2D.FieldOperation>

Several operation types on a 2D vector field.

Author:
misiak

Enum Constant Summary
COLOR_PLOT
          Calculate a RGB colored image of the vector field to visualize the field.
DIFF_X_IMAGE
          Calculate the difference image in x-direction from the given vector field.
DIFF_Y_IMAGE
          Calculate the difference image in y-direction from the given vector field.
MAGNITUDE_IMAGE
          Calculate the magnitude image of the vector field.
NORMEDMAG_IMAGE
          Calculate the normalized magnitude image of the vector field in a range [0,1].
 
Method Summary
static FieldOperations2D.FieldOperation valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FieldOperations2D.FieldOperation[] 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

MAGNITUDE_IMAGE

public static final FieldOperations2D.FieldOperation MAGNITUDE_IMAGE
Calculate the magnitude image of the vector field.


NORMEDMAG_IMAGE

public static final FieldOperations2D.FieldOperation NORMEDMAG_IMAGE
Calculate the normalized magnitude image of the vector field in a range [0,1].


DIFF_X_IMAGE

public static final FieldOperations2D.FieldOperation DIFF_X_IMAGE
Calculate the difference image in x-direction from the given vector field.


DIFF_Y_IMAGE

public static final FieldOperations2D.FieldOperation DIFF_Y_IMAGE
Calculate the difference image in y-direction from the given vector field.


COLOR_PLOT

public static final FieldOperations2D.FieldOperation COLOR_PLOT
Calculate a RGB colored image of the vector field to visualize the field.

Method Detail

values

public static FieldOperations2D.FieldOperation[] 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 (FieldOperations2D.FieldOperation c : FieldOperations2D.FieldOperation.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static FieldOperations2D.FieldOperation 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.