Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

threshold yuv image

Hi! I want to create a binary image from a yuv image. Before I do this with rgb image with this code:

IplImage imgThreshold = cvCreateImage(cvGetSize(img), 8, 1);

cvInRangeS(img, rgba_min, rgba_max, imgThreshold);

cvSmooth(imgThreshold, imgThreshold, CV_MEDIAN, 15);

How can i create theshold image from yuv image?

Thank you!

threshold yuv image

Hi! I want to create a binary image from a yuv image. Before I do this with rgb image with this code:

IplImage imgThreshold = cvCreateImage(cvGetSize(img), 8, 1);

1); cvInRangeS(img, rgba_min, rgba_max, imgThreshold);

cvSmooth(imgThreshold, imgThreshold, CV_MEDIAN, 15);

15);

How can i create theshold image from yuv image?

Thank you!