Enum MorphologicalSegmentation.ResultMode

java.lang.Object
java.lang.Enum<MorphologicalSegmentation.ResultMode>
inra.ijpb.plugins.MorphologicalSegmentation.ResultMode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MorphologicalSegmentation.ResultMode>, java.lang.constant.Constable
Enclosing class:
MorphologicalSegmentation

public static enum MorphologicalSegmentation.ResultMode
extends java.lang.Enum<MorphologicalSegmentation.ResultMode>
enumeration of result modes
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant Description
    BASINS
    display mode showing only color basins
    LINES
    display mode showing only watershed lines in black over white background
    OVERLAID_BASINS
    display mode with transparent color basins on top of original image
    OVERLAID_DAMS
    display mode with watershed dams in red on top of original image
  • Method Summary

    Modifier and Type Method Description
    static MorphologicalSegmentation.ResultMode valueOf​(java.lang.String name)
    Returns the enum constant of this type with the specified name.
    static MorphologicalSegmentation.ResultMode[] values()
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

    compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

  • Method Details

    • values

      public static MorphologicalSegmentation.ResultMode[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static MorphologicalSegmentation.ResultMode 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