de.unihalle.informatik.MiToBo.filters.vesselness
Enum MPMFFilter2D.VesselMode

java.lang.Object
  extended by java.lang.Enum<MPMFFilter2D.VesselMode>
      extended by de.unihalle.informatik.MiToBo.filters.vesselness.MPMFFilter2D.VesselMode
All Implemented Interfaces:
Serializable, Comparable<MPMFFilter2D.VesselMode>
Enclosing class:
MPMFFilter2D

public static enum MPMFFilter2D.VesselMode
extends Enum<MPMFFilter2D.VesselMode>

Detection scenario mode.


Enum Constant Summary
BRIGHT_ON_DARK_BACKGROUND
          Detect bright vessels on dark background.
DARK_ON_BRIGHT_BACKGROUND
          Detect dark vessels on bright background.
 
Method Summary
static MPMFFilter2D.VesselMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MPMFFilter2D.VesselMode[] 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

DARK_ON_BRIGHT_BACKGROUND

public static final MPMFFilter2D.VesselMode DARK_ON_BRIGHT_BACKGROUND
Detect dark vessels on bright background.


BRIGHT_ON_DARK_BACKGROUND

public static final MPMFFilter2D.VesselMode BRIGHT_ON_DARK_BACKGROUND
Detect bright vessels on dark background.

Method Detail

values

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

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

valueOf

public static MPMFFilter2D.VesselMode 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.