Loading...
Searching...
No Matches
Photo_decolor
Functions | |
| void | cv::decolor (InputArray src, OutputArray grayscale, OutputArray color_boost) |
| 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] . | |
Detailed Description
Function Documentation
◆ decolor()
| void cv::decolor | ( | InputArray | src, |
| OutputArray | grayscale, | ||
| OutputArray | color_boost | ||
| ) |
#include <opencv2/photo.hpp>
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] .
- 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.
1.9.6