de.unihalle.informatik.MiToBo.morphology
Enum ImgTophat.tophatMode

java.lang.Object
  extended by java.lang.Enum<ImgTophat.tophatMode>
      extended by de.unihalle.informatik.MiToBo.morphology.ImgTophat.tophatMode
All Implemented Interfaces:
Serializable, Comparable<ImgTophat.tophatMode>
Enclosing class:
ImgTophat

public static enum ImgTophat.tophatMode
extends Enum<ImgTophat.tophatMode>

Available operating modes.

Author:
moeller

Enum Constant Summary
GWM_TOPHAT_CONCAVE
          Top hat operator for dark 'valleys' in bright ground.
GWM_TOPHAT_CONVEX
          Top hat operator for bright 'mountains' on dark ground.
 
Method Summary
static ImgTophat.tophatMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ImgTophat.tophatMode[] 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

GWM_TOPHAT_CONVEX

public static final ImgTophat.tophatMode GWM_TOPHAT_CONVEX
Top hat operator for bright 'mountains' on dark ground.


GWM_TOPHAT_CONCAVE

public static final ImgTophat.tophatMode GWM_TOPHAT_CONCAVE
Top hat operator for dark 'valleys' in bright ground.

Method Detail

values

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

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

valueOf

public static ImgTophat.tophatMode 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.