2013-07-01 14:19:03 +05:30
Decolorization
==============
.. highlight :: cpp
decolor
-------
2014-04-11 10:49:35 +05:30
Transforms a color image to a grayscale image. It is a basic tool in digital printing, stylized black-and-white photograph rendering, and in many single channel image processing applications [CL12]_ .
2013-07-01 14:19:03 +05:30
.. ocv:function :: void decolor( InputArray src, OutputArray grayscale, OutputArray color_boost )
2014-04-12 04:34:41 +05:30
:param src: Input 8-bit 3-channel image.
2013-07-01 14:19:03 +05:30
:param grayscale: Output 8-bit 1-channel image.
:param color_boost: Output 8-bit 3-channel image.
This function is to be applied on color images.
2014-04-11 10:49:35 +05:30
.. [CL12] Cewu Lu, Li Xu, Jiaya Jia, "Contrast Preserving Decolorization", IEEE International Conference on Computational Photography (ICCP), 2012.