Package qupath.lib.color
Enum Class ColorTransformer.ColorTransformMethod
java.lang.Object
java.lang.Enum<ColorTransformer.ColorTransformMethod>
qupath.lib.color.ColorTransformer.ColorTransformMethod
- All Implemented Interfaces:
Serializable
,Comparable<ColorTransformer.ColorTransformMethod>
,Constable
- Enclosing class:
ColorTransformer
public static enum ColorTransformer.ColorTransformMethod
extends Enum<ColorTransformer.ColorTransformMethod>
Enum consisting of color transforms that may be applied to RGB images.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAll pixels blackBlue channel onlyBlue chromaticity value,blue / max(1, red + green + blue)
Blue channel optical densitiesBrightness value (from RGB-HSB transform)Brown value,(blue - (red + green)*0.3f)
DAB after color deconvolution with default H-DAB stainsDAB after color deconvolution with default H-DAB stains and conversion to 8-bitEosin after color deconvolution with default H&E stainsEosin after color deconvolution with default H&E stains and conversion to 8-bitGreen channel onlyGreen chromaticity value,green / max(1, red + green + blue)
Green value divided by blue valueGreen channel optical densitiesHematoxylin after color deconvolution with default H-DAB stainsHematoxylin after color deconvolution with default H-DAB stains and conversion to 8-bitHematoxylin after color deconvolution with default H&E stainsHematoxylin after color deconvolution with default H&E stains and conversion to 8-bitHue value (from RGB-HSB transform)RGB values normalized to OD vector (to reduce intensity information)Sum of red, green and blue optical densitiesOriginal imageRed channel onlyRed chromaticity value,red / max(1, red + green + blue)
Red channel optical densitiesMean of red, green and blue channelsSaturation value (from RGB-HSB transform)First stain after color deconvolutionSecond stain after color deconvolutionThird stain after color deconvolutionAll pixels white -
Method Summary
-
Enum Constant Details
-
Original
Original image -
Red
Red channel only -
Green
Green channel only -
Blue
Blue channel only -
Red_OD
Red channel optical densities -
Green_OD
Green channel optical densities -
Blue_OD
Blue channel optical densities -
RGB_mean
Mean of red, green and blue channels -
Hue
Hue value (from RGB-HSB transform) -
Saturation
Saturation value (from RGB-HSB transform) -
Brightness
Brightness value (from RGB-HSB transform) -
Stain_1
First stain after color deconvolution -
Stain_2
Second stain after color deconvolution -
Stain_3
Third stain after color deconvolution -
Optical_density_sum
Sum of red, green and blue optical densities -
Hematoxylin_H_E
Hematoxylin after color deconvolution with default H&E stains -
Eosin_H_E
Eosin after color deconvolution with default H&E stains -
Hematoxylin_H_DAB
Hematoxylin after color deconvolution with default H-DAB stains -
DAB_H_DAB
DAB after color deconvolution with default H-DAB stains -
Hematoxylin_H_E_8_bit
Hematoxylin after color deconvolution with default H&E stains and conversion to 8-bit -
Eosin_H_E_8_bit
Eosin after color deconvolution with default H&E stains and conversion to 8-bit -
Hematoxylin_H_DAB_8_bit
Hematoxylin after color deconvolution with default H-DAB stains and conversion to 8-bit -
DAB_H_DAB_8_bit
DAB after color deconvolution with default H-DAB stains and conversion to 8-bit -
Red_chromaticity
Red chromaticity value,red / max(1, red + green + blue)
-
Green_chromaticity
Green chromaticity value,green / max(1, red + green + blue)
-
Blue_chromaticity
Blue chromaticity value,blue / max(1, red + green + blue)
-
Green_divided_by_blue
Green value divided by blue value -
OD_Normalized
RGB values normalized to OD vector (to reduce intensity information) -
Brown
Brown value,(blue - (red + green)*0.3f)
-
White
All pixels white -
Black
All pixels black
-
-
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<ColorTransformer.ColorTransformMethod>
-