ERegion::ToImage

Exports the ERegion to a mask-type image.

Namespace: Euresys::Open_eVision

[C++]

void ToImage(
   EImageC24& img,
   EC24 background,
   EC24 foreground
)

void ToImage(
   EImageC24A& img,
   EC24A background,
   EC24A foreground
)

void ToImage(
   EImageBW8& img,
   EBW8 background,
   EBW8 foreground
)

void ToImage(
   EImageBW16& img,
   EBW16 background,
   EBW16 foreground
)

Parameters

img

Destination image.

background

Background color.

foreground

Foreground color.

ERegion.ToImage

Exports the ERegion to a mask-type image.

Namespace: Euresys.Open_eVision

[C#]

void ToImage(
   Euresys.Open_eVision.EImageC24 img,
   Euresys.Open_eVision.EC24 background,
   Euresys.Open_eVision.EC24 foreground
)

void ToImage(
   Euresys.Open_eVision.EImageC24A img,
   Euresys.Open_eVision.EC24A background,
   Euresys.Open_eVision.EC24A foreground
)

void ToImage(
   Euresys.Open_eVision.EImageBW8 img,
   Euresys.Open_eVision.EBW8 background,
   Euresys.Open_eVision.EBW8 foreground
)

void ToImage(
   Euresys.Open_eVision.EImageBW16 img,
   Euresys.Open_eVision.EBW16 background,
   Euresys.Open_eVision.EBW16 foreground
)

Parameters

img

Destination image.

background

Background color.

foreground

Foreground color.