Package qupath.lib.images.servers
Enum Class ImageServerMetadata.ChannelType
java.lang.Object
java.lang.Enum<ImageServerMetadata.ChannelType>
qupath.lib.images.servers.ImageServerMetadata.ChannelType
- All Implemented Interfaces:
Serializable
,Comparable<ImageServerMetadata.ChannelType>
,Constable
- Enclosing class:
ImageServerMetadata
Enum representing possible channel (band) types for an image.
The purpose of this is to support images where channels have different interpretations,
such as probabilities or classifications.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionEach channel represents a classification, such as in a labelled image.Default channel interpretation.Each channel represents a density value, such as in a density map (e.g.Each channel represents a feature for a pixel classifier.Each channel represents a probability value, where each pixel is potentially part of multiple classes.Each channel represents a probability value, where it is assumed that there is only one true class per pixel. -
Method Summary
Modifier and TypeMethodDescriptiontoString()
Returns the enum constant of this class with the specified name.static ImageServerMetadata.ChannelType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DEFAULT
Default channel interpretation. This is true for most 'normal' images. -
FEATURE
Each channel represents a feature for a pixel classifier. -
PROBABILITY
Each channel represents a probability value, where it is assumed that there is only one true class per pixel. -
MULTICLASS_PROBABILITY
Each channel represents a probability value, where each pixel is potentially part of multiple classes. -
CLASSIFICATION
Each channel represents a classification, such as in a labelled image. -
DENSITY
Each channel represents a density value, such as in a density map (e.g. % positive cells).
-
-
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
-
toString
- Overrides:
toString
in classEnum<ImageServerMetadata.ChannelType>
-