Workspace 6.21.5
ColorToGrayscale

Converts an RGB(A) image to a grayscale image. Compared to the usual grayscale conversion algorithm common to many image editing programs, the algorithm produces high contrasting grayscale images which are particularly useful for publishing purposes. The red, green and blue components of each pixel are converted to a single intensity value by associating each component's value with a "lightness" coefficient. This coefficient controls the contribution of each component to the final intensity.

  • Default label: "Color to grayscale image converter"
  • Member of plug-in: Data analysis
  • Catalogue path: Data analysis
Inputs:
Red lightnessdoubleSets the intensity multiplier for the red channel. Range [0.0, 1.0].
Green lightnessdoubleSets the intensity multiplier for the green channel. Range [0.0, 1.0].
Blue lightnessdoubleSets the intensity multiplier for the blue channel. Range [0.0, 1.0].
Shading parameterdoubleControls the function used to determine the final intensity. Range [0.0, 2.0].
ImageQImage

Outputs:
ImageQImage