RGB to YIQ color space conversion for a image
Can anybody help me out with the complete method/code/inbuilt library function for converting an rgb mat image to an ntsc/yiq color space.
Can anybody help me out with the complete method/code/inbuilt library function for converting an rgb mat image to an ntsc/yiq color space.
Like explained here, you need to write your own conversion function for that. It can be retrieved in the middle of the page!
However, if you can accept that the fact that your result is a bit less smooth, the HSV color space has similar results:
Mat original_image = imread("path_to_image");
Mat converted_image = original.clone();
cvtColor(original_image, converted_image, CV_BGR2HSV);
Asked: 2014-02-26 05:24:33 -0600
Seen: 5,732 times
Last updated: Feb 26 '14
PAL + euresys picolo U16 capture card (not compatible with openCV?)
Region of interest of YV12 matrix
RGB to YUV color space conversion for a image
Preserve CMYK colorspace in OpenCV
Issues converting colorspace using gpu::CvtColor
Convert rgb (brg) to rg chromaticity
BGR to HVC conversion with or without using CUDA in OpenCV 3.0