Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

Colorspace of IplImage* --

bilal_mujeeb
Beginner
247 Views
Hi,

I just want to ask what is the colorspace of IplImage in OpenCV. Also when we split an IplImage into separate channels, each of these separate channel contains RGB information or something else.
If IplImage is of RGB colorspace then how to get a YUV colorspace image interleaved or separate channels.

Regards
Bilal
0 Kudos
1 Reply
Vladimir_Dudnik
Employee
247 Views

Hello,

IplImage is just a structure which represent (or describes) image data type. The one of attribute of image is color space, so IplImage have enumerator for that with several items. Which one will be used in any particular function call is depends on application. Please take a look on color space convertion functionality for details which convertions are available in IPP or OpenCV or IPL or whatever.

Regards,
Vladimir

0 Kudos
Reply