Workspace 6.21.5
|
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.
Inputs: | |||
---|---|---|---|
Red lightness | double | Sets the intensity multiplier for the red channel. Range [0.0, 1.0]. | |
Green lightness | double | Sets the intensity multiplier for the green channel. Range [0.0, 1.0]. | |
Blue lightness | double | Sets the intensity multiplier for the blue channel. Range [0.0, 1.0]. | |
Shading parameter | double | Controls the function used to determine the final intensity. Range [0.0, 2.0]. | |
Image | QImage | ||
Outputs: | |||
Image | QImage |