rgb2hed
-
skimage.color.rgb2hed(rgb)
[source] -
RGB to Haematoxylin-Eosin-DAB (HED) color space conversion.
Parameters: rgb : array_like
The image in RGB format, in a 3-D array of shape
(.., .., 3)
.Returns: out : ndarray
The image in HED format, in a 3-D array of shape
(.., .., 3)
.Raises: ValueError
If
rgb
is not a 3-D array of shape(.., .., 3)
.References
[R50] A. C. Ruifrok and D. A. Johnston, “Quantification of histochemical staining by color deconvolution.,” Analytical and quantitative cytology and histology / the International Academy of Cytology [and] American Society of Cytology, vol. 23, no. 4, pp. 291-9, Aug. 2001. Examples
>>> from skimage import data >>> from skimage.color import rgb2hed >>> ihc = data.immunohistochemistry() >>> ihc_hed = rgb2hed(ihc)
Please login to continue.