EasyColor::SetComponent

Sets a color plane of a color image by using a gray-level image as component.

Namespace: Euresys::Open_eVision

[C++]

void SetComponent(
   EROIBW8* bWSourceImage,
   EROIC24* colorDestinationImage,
   OEV_UINT32 component
)

void SetComponent(
   EROIBW16* bWSourceImage,
   EROIC48* colorDestinationImage,
   OEV_UINT32 component
)

Parameters

bWSourceImage

Pointers to the input gray level component image/ROI.

colorDestinationImage

Pointer to the output color image/ROI.

component

Color component index (0, 1, or 2).

Remarks

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.SetComponent

Sets a color plane of a color image by using a gray-level image as component.

Namespace: Euresys.Open_eVision

[C#]

void SetComponent(
   Euresys.Open_eVision.EROIBW8 bWSourceImage,
   Euresys.Open_eVision.EROIC24 colorDestinationImage,
   uint component
)

void SetComponent(
   Euresys.Open_eVision.EROIBW16 bWSourceImage,
   Euresys.Open_eVision.EROIC48 colorDestinationImage,
   uint component
)

Parameters

bWSourceImage

Pointers to the input gray level component image/ROI.

colorDestinationImage

Pointer to the output color image/ROI.

component

Color component index (0, 1, or 2).

Remarks

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.