Describes a lookup table, that is used to for pseudo-coloring (i.e. More...
Public Member Functions | |
| None | __init__ (self) |
| Default constructor of eVision.EPseudoColorLookup objects. | |
| None | SetShading (self, eVision.EC24 black, eVision.EC24 white, eVision.EColorSystem colorSystem, bool wrap) |
| 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. | |
| None | SetShading (self, eVision.EC24 black, eVision.EC24 white, eVision.EColorSystem colorSystem) |
| 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. | |
Describes a lookup table, that is used to for pseudo-coloring (i.e.
for assigning colors to gray-level images).
Remarks:
License(s): EasyColor
| None eVision.EPseudoColorLookup.__init__ | ( | self | ) |
Default constructor of eVision.EPseudoColorLookup objects.
| None eVision.EPseudoColorLookup.SetShading | ( | self, | |
| eVision.EC24 | black, | ||
| eVision.EC24 | white, | ||
| eVision.EColorSystem | colorSystem ) |
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.
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.
| 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. |
| None eVision.EPseudoColorLookup.SetShading | ( | self, | |
| eVision.EC24 | black, | ||
| eVision.EC24 | white, | ||
| eVision.EColorSystem | colorSystem, | ||
| bool | wrap ) |
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.
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.
| 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. |