MATLAB File Help: cv.decolor Index
cv.decolor

Transforms a color image to a grayscale image

[grayscale,color_boost] = cv.decolor(src)
[grayscale,color_boost] = cv.decolor(src, 'OptionName',optionValue, ...)

Input

Output

Options

It is a basic tool in digital printing, stylized black-and-white photograph rendering, and in many single channel image processing applications [CL12].

This function is to be applied on color images.

References

[CL12]:

Cewu Lu, Li Xu, and Jiaya Jia. "Contrast preserving decolorization". In Computational Photography (ICCP), 2012 IEEE International Conference on, pages 1-7. IEEE, 2012.

See also