EasyColor::Decompose
Extracts the three color planes, considered as gray-level images, from a color image.
Namespace: Euresys::Open_eVision_2_11
[C++]
void Decompose(
EROIC24* colorSourceImage,
EROIBW8* destinationImageOfColor0,
EROIBW8* destinationImageOfColor1,
EROIBW8* destinationImageOfColor2,
EColorLookup* lookup
)
void Decompose(
EROIC48* colorSourceImage,
EROIBW16* destinationImageOfColor0,
EROIBW16* destinationImageOfColor1,
EROIBW16* destinationImageOfColor2
)
Parameters
colorSourceImage
Pointer to the input color image/ROI.
destinationImageOfColor0
Pointers to the three output gray level component images/ROIs.
destinationImageOfColor1
Pointers to the three output gray level component images/ROIs.
destinationImageOfColor2
Pointers to the three output gray level component images/ROIs.
lookup
Pointer to the color lookup table, or
Remarks
If a color lookup is used, the source image undergoes the corresponding color transform. This way, it is possible to get the RGB components from an image of another system, of conversely.
A color image can be seen as a set of three color planes, each corresponding to a color component. The color planes are themselves continuous tone images. An EImageC24 contains three EImageBW8.
EasyColor.Decompose
Extracts the three color planes, considered as gray-level images, from a color image.
Namespace: Euresys.Open_eVision_2_11
[C#]
void Decompose(
Euresys.Open_eVision_2_11.EROIC24 colorSourceImage,
Euresys.Open_eVision_2_11.EROIBW8 destinationImageOfColor0,
Euresys.Open_eVision_2_11.EROIBW8 destinationImageOfColor1,
Euresys.Open_eVision_2_11.EROIBW8 destinationImageOfColor2,
Euresys.Open_eVision_2_11.EColorLookup lookup
)
void Decompose(
Euresys.Open_eVision_2_11.EROIC48 colorSourceImage,
Euresys.Open_eVision_2_11.EROIBW16 destinationImageOfColor0,
Euresys.Open_eVision_2_11.EROIBW16 destinationImageOfColor1,
Euresys.Open_eVision_2_11.EROIBW16 destinationImageOfColor2
)
Parameters
colorSourceImage
Pointer to the input color image/ROI.
destinationImageOfColor0
Pointers to the three output gray level component images/ROIs.
destinationImageOfColor1
Pointers to the three output gray level component images/ROIs.
destinationImageOfColor2
Pointers to the three output gray level component images/ROIs.
lookup
Pointer to the color lookup table, or
Remarks
If a color lookup is used, the source image undergoes the corresponding color transform. This way, it is possible to get the RGB components from an image of another system, of conversely.
A color image can be seen as a set of three color planes, each corresponding to a color component. The color planes are themselves continuous tone images. An EImageC24 contains three EImageBW8.