Ask Your Question

Revision history [back]

cvtcolor parameter four

Hi,

I have try something like this using cvtColor to understand parameter 4

Mat img=imread("lena.jpg",IMREAD_COLOR);// I have try an image with alpha channel too
cvtColor(img,dst, CV_BGR2HSV,1);

but results seems equal to cvtColor(img,dst, CV_BGR2HSV);

Is somebody can give me an example of cvtcolor with parameter 4 used?

Thanks in advance