Enum Class SeedOverlay.ColorMode

java.lang.Object
java.lang.Enum<SeedOverlay.ColorMode>
sc.fiji.snt.seed.SeedOverlay.ColorMode
All Implemented Interfaces:
Serializable, Comparable<SeedOverlay.ColorMode>, java.lang.constant.Constable
Enclosing class:
SeedOverlay

public static enum SeedOverlay.ColorMode extends Enum<SeedOverlay.ColorMode>
How SeedOverlayRenderer should pick each seed's LUT slot.
  • CONFIDENCE (default): LUT is sampled by the seed's normalized confidence within the active filter window. Alpha also rides on confidence so dim seeds fade.
  • INDEX: LUT is sampled by the seed's position in SeedOverlay.list() (idx % LUT.length). One distinct slot per seed. Alpha is uniform.
  • TYPE: seeds sharing the same SeedPoint.type share a slot. Slot order is the alphabetical order of the distinct types seen on the overlay.
  • SOURCE: same as TYPE but keyed on SeedPoint.source.
The confidence range still gates visibility regardless of the mode in effect.
  • Enum Constant Details

  • Method Details

    • values

      public static SeedOverlay.ColorMode[] 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 SeedOverlay.ColorMode 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