Describes a lookup table, that is used to for pseudo-coloring (i.e. for assigning colors to gray-level images).
More...
#include <eVision/EasyColor/EPseudoColorLookup.h>
Describes a lookup table, that is used to for pseudo-coloring (i.e. for assigning colors to gray-level images).
License(s): EasyColor
◆ EPseudoColorLookup() [1/2]
| eVision::EPseudoColorLookup::EPseudoColorLookup |
( |
| ) |
|
◆ ~EPseudoColorLookup()
| eVision::EPseudoColorLookup::~EPseudoColorLookup |
( |
| ) |
|
| throw | ( | ) | | | |
|
virtual |
◆ EPseudoColorLookup() [2/2]
| eVision::EPseudoColorLookup::EPseudoColorLookup |
( |
CppWrapperInternal::InternalConstructor | | ) |
|
◆ SetShading() [1/2]
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.
- 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. |
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.
◆ SetShading() [2/2]
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.
- 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. |
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.
◆ wrappedClass_
| CppWrapperInternal::WrappedClass eVision::EPseudoColorLookup::wrappedClass_ |