EPseudoColorLookup::SetShading

Sets up a pseudo-color mapping such that gray level 0 corresponds to color c24Black, gray level 255 corresponds to color c24White, and intermediate values are interpolated linearly between these two extremes.

Namespace: Euresys::Open_eVision

[C++]

void SetShading(
   EC24 black,
   EC24 white,
   Euresys::Open_eVision::EColorSystem colorSystem,
   bool wrap
)

Parameters

black

Color to be mapped on a black (value 0) pixel.

white

Color to be mapped on a white (value 255) pixel.

colorSystem

Color system in which interpolation takes place.

wrap

If the color system supports a hue component, indicates whether hue wrap around must be applied.

Remarks

Furthermore, interpolation is performed in the designated color system. Even though interpolation is performed in an arbitrary color system, the extreme colors are specified in the RGB space. To obtain interesting shades of colors, it is recommended to interpolate on the hue component alone.

EPseudoColorLookup.SetShading

Sets up a pseudo-color mapping such that gray level 0 corresponds to color c24Black, gray level 255 corresponds to color c24White, and intermediate values are interpolated linearly between these two extremes.

Namespace: Euresys.Open_eVision

[C#]

void SetShading(
   Euresys.Open_eVision.EC24 black,
   Euresys.Open_eVision.EC24 white,
   Euresys.Open_eVision.EColorSystem colorSystem,
   bool wrap
)

Parameters

black

Color to be mapped on a black (value 0) pixel.

white

Color to be mapped on a white (value 255) pixel.

colorSystem

Color system in which interpolation takes place.

wrap

If the color system supports a hue component, indicates whether hue wrap around must be applied.

Remarks

Furthermore, interpolation is performed in the designated color system. Even though interpolation is performed in an arbitrary color system, the extreme colors are specified in the RGB space. To obtain interesting shades of colors, it is recommended to interpolate on the hue component alone.