mirror of https://github.com/opencv/opencv.git
parent
88aa4a9902
commit
a1b3ba02a7
4 changed files with 75 additions and 12 deletions
@ -0,0 +1,20 @@ |
|||||||
|
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. |
||||||
|
|
Loading…
Reference in new issue