Decolorization
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 [CL12].
-
C++: void decolor(InputArray src, OutputArray grayscale, OutputArray color_boost)
| Parameters: |
- src – Input 8-bit 3-channel image.
- grayscale – Output 8-bit 1-channel image.
- color_boost – Output 8-bit 3-channel image.
|
This function is to be applied on color images.
| [CL12] | Cewu Lu, Li Xu, Jiaya Jia, “Contrast Preserving Decolorization”, IEEE International Conference on Computational Photography (ICCP), 2012. |
Help and Feedback
You did not find what you were looking for?
- Ask a question on the Q&A forum.
- If you think something is missing or wrong in the documentation,
please file a bug report.