Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- IplImage* mCVImageColor = cvCreateImageHeader(cvSize(640,480), IPL_DEPTH_8U, 4);
- /*Doing something*/
- IplImage* imgHSV = cvCreateImage(cvGetSize(mCVImageColor), IPL_DEPTH_8U, 4);
- cvCvtColor(mCVImageColor, imgHSV, CV_BGR2HSV); //This line throws exception
- cvCvtColor(mCVImageColor, imgHSV, CV_BGRA2HSV);
- cvtColor(inputMat, outputMat, CV_BGRA2BGR);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement