#include <itkScalarToRGBPixelFunctor.h>
Public Types | |
typedef unsigned char | RGBComponentType |
typedef RGBPixel< RGBComponentType > | RGBPixelType |
typedef TScalar | ScalarType |
Public Member Functions | |
ScalarToRGBPixelFunctor () | |
~ScalarToRGBPixelFunctor () | |
RGBPixelType | operator() (const TScalar &) const |
void | SetLittleEndian () |
void | SetBigEndian () |
This class is useful for visualizing labeled images which cannot be mapped succefully into grayscale images. Images of unsigned long integers, for example may have too many graylevels to visualize effectively.
The hashing scheme used is designed to spread close scalar values very different colors by using the least significant bits (fastest changing) of the scalar type to determine the color. Because labeled images may typically use sequential values, it is desirable that those values result in easily discernable colors.
Definition at line 42 of file itkScalarToRGBPixelFunctor.h.
|
Definition at line 49 of file itkScalarToRGBPixelFunctor.h. |
|
Definition at line 50 of file itkScalarToRGBPixelFunctor.h. |
|
Definition at line 51 of file itkScalarToRGBPixelFunctor.h. |
|
|
|
Definition at line 46 of file itkScalarToRGBPixelFunctor.h. |
|
|
|
Definition at line 59 of file itkScalarToRGBPixelFunctor.h. |
|
Definition at line 55 of file itkScalarToRGBPixelFunctor.h. |