Color space conversion¶
Converts each pixel in a multi-channel image into another colour space
Documentation
Converts each pixel in a multi-channel image into another colour space
Algorithms:
Converts greyscale values after normalization and scaling from 0 - 255 into a matplotlib colourmap.
- cmap:
The colormap to use in conversion
greyscale
Transforms RGB images into greyscale
- luminance preserving:
Use weighted average based on separate luminosity of red-green-blue receptors in human eye.
Only works for three channel images
Interprets input channels as Hue-Saturation-Value (HSV) and outputs Red-Green-Blue (RGB) channels.
Interprets input channels as sRGB and outputs CIE LAB channels.
- illuminant:
CIE standard illumination spectrum
- observer:
Aperture angle of observer
Interprets input channels as Red-Green-Blue (RGB) and outputs Hue-Saturation-Value (HSV) channels.
Interprets input channels as sRGB and outputs CIE LAB channels.
- illuminant:
CIE standard illumination spectrum
- observer:
Aperture angle of observer
Interprets input channels as sRGB and outputs CIE XYZ channels.
Interprets input channels as CIE XYZ and outputs sRGB channels.
- Input ports:
source : image
source image to filter
- Output ports:
result : image
result after filtering
Definition
Input ports
- source
image
source image to filter
Output ports
- result
image
result after filtering
- Configuration:
- Algorithm (algorithm)
(no description)
- cmap (cmap)
(no description)
- illuminant (illuminant)
(no description)
- observer (observer)
(no description)
- luminance preserving (luminance preserving)
(no description)
-
class
node_colors.
ColorSpaceConversion
[source]