de.unihalle.informatik.MiToBo.segmentation.evaluation
Enum CalcStructureStatistics.StructureCountMode

java.lang.Object
  extended by java.lang.Enum<CalcStructureStatistics.StructureCountMode>
      extended by de.unihalle.informatik.MiToBo.segmentation.evaluation.CalcStructureStatistics.StructureCountMode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CalcStructureStatistics.StructureCountMode>
Enclosing class:
CalcStructureStatistics

public static enum CalcStructureStatistics.StructureCountMode
extends java.lang.Enum<CalcStructureStatistics.StructureCountMode>

Mode how to assign structures to cell regions.

Author:
moeller

Enum Constant Summary
COUNT_COM
          Use COM to determine to which cell a structure belongs (default).
COUNT_OVERLAP
          Use largest overlap to determine corresponding cell region.
 
Method Summary
static CalcStructureStatistics.StructureCountMode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static CalcStructureStatistics.StructureCountMode[] 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

COUNT_COM

public static final CalcStructureStatistics.StructureCountMode COUNT_COM
Use COM to determine to which cell a structure belongs (default).


COUNT_OVERLAP

public static final CalcStructureStatistics.StructureCountMode COUNT_OVERLAP
Use largest overlap to determine corresponding cell region.

Method Detail

valueOf

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

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