Package qupath.process.gui
Enum Class WandToolEventHandler.WandType
- All Implemented Interfaces:
Serializable
,Comparable<WandToolEventHandler.WandType>
,Constable
- Enclosing class:
WandToolEventHandler
Enum reflecting different color images that may be used by the Wand tool.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionGrayscale imageColor image converted to CIELAB, Euclidean distance calculatedColor image (default behavior in v0.1.2 and before) -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static WandToolEventHandler.WandType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GRAY
Grayscale image -
RGB
Color image (default behavior in v0.1.2 and before) -
LAB_DISTANCE
Color image converted to CIELAB, Euclidean distance calculated
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-