Enum Class ChannelDisplayMode

java.lang.Object
java.lang.Enum<ChannelDisplayMode>
qupath.lib.display.ChannelDisplayMode
All Implemented Interfaces:
Serializable, Comparable<ChannelDisplayMode>, Constable

public enum ChannelDisplayMode extends Enum<ChannelDisplayMode>
Display mode for an image channel, used in combination with ImageDisplay and ChannelDisplayInfo.
Since:
v0.4.0
Author:
Pete Bankhead
See Also:
  • Enum Constant Details

    • COLOR

      public static final ChannelDisplayMode COLOR
      Show using default color LUT (may be composite)
    • INVERTED_COLOR

      public static final ChannelDisplayMode INVERTED_COLOR
      Show using color LUT with an inverted background
    • GRAYSCALE

      public static final ChannelDisplayMode GRAYSCALE
      Show using a grayscale LUT (black to white)
    • INVERTED_GRAYSCALE

      public static final ChannelDisplayMode INVERTED_GRAYSCALE
      Show using an inverted grayscale LUT (white to black)
  • Method Details

    • values

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

      public static ChannelDisplayMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • invertColors

      public boolean invertColors()