EasyColorComponent¶
Support |
|
|---|---|
Required licenses |
EasyImage |
Recommended images |
Any image from the folder |
Location |
|
Purpose¶
This sample program demonstrates how to:
Retrieve one component of a color image after converting it from RGB to a given color space.
Code highlights¶
Configure the color lookup table for converting RGB to another color space (ISH in this case).
m_ColorLookup.ConvertFromRgb(EColorSystem_Ish);
Retrieve a component from a color image using the conversion configured in the color lookup table.
EasyColor::GetComponent(&m_Src, &m_Dst, m_un32Component, &m_ColorLookup);