EasyColorComponent

Support

Required licenses

EasyColor

Recommended images

Any image from the folder Sample Images\EasyColor

Location

[…]C:\Users\Public\Documents\Euresys\Open eVision 24.02\Sample Programs
\[LANGUAGE] samples
\Image Processing\EasyColorComponent

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

1. Configure the color lookup table for converting RGB to another color space (ISH in this case).
m_ColorLookup.ConvertFromRgb(EColorSystem_Ish);
2. 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);