f85a615f3f
Update 1 update 2 Update 3 Update 4 Update 5 update 6 Update 7 Update 8 Update 9 Update 10 Update 11 Update 12 Update 13 Update 14 Update 15 Update 16 Update 17 Update 18 Update 19 Update 20 Update 21 Update 22 Removed Headers Update 23 Update 24 Update 25 Update 26 Update 27 Update 28
20 lines
561 B
ReStructuredText
20 lines
561 B
ReStructuredText
Decolorization
|
|
==============
|
|
|
|
.. highlight:: cpp
|
|
|
|
decolor
|
|
-------
|
|
|
|
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.
|
|
|
|
.. ocv:function:: void decolor( InputArray src, OutputArray grayscale, OutputArray color_boost )
|
|
|
|
:param src: Input 8-bit 3-channel image.
|
|
|
|
: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.
|