hi,

I get the following error in openCV:

cvCvtColor(imgInit, img1, CV_RGB2HSV); //CV_RGB2GRAY

OpenCV ERROR: Bad flag (parameter or structure field) (Unrecognized or unsupported array type)

how comes this parameter is not recognized ?

thanks