Filter to convert image to RGB image using a color lookup table. More...
#include <cmtkImageToImageRGB.h>
Public Types | |
enum | igsAlphaMode { AlphaModeNone, AlphaModeConst } |
Enumeration of Alpha modes. More... | |
Public Member Functions | |
igsClassParameter (igsAlphaMode, AlphaMode) | |
This flag detemines if and how an alpha (transparancy) ramp is used. | |
igsClassParameter (bool, CheckerboxPadding) | |
Use checkerboard pattern to fill PaddingData areas. | |
virtual void | Execute () |
Convert image to RGB image. | |
void | SetInput (Image *const image) |
Set an input image. | |
void | SetColormap (Colormap *const colormap) |
Set a colormap. | |
Static Public Member Functions | |
static ImageToImageRGB * | New () |
Create new object. | |
Protected Member Functions | |
ImageToImageRGB () | |
Default constructor. | |
virtual | ~ImageToImageRGB () |
Destructor. | |
Private Types | |
typedef MultiFilter< ImageRGB > | Superclass |
Convenience definition of the parent class type. | |
Private Member Functions | |
template<class T > | |
void | MarkPaddingData (const unsigned int dimsx, const unsigned int dimsy, T *const rgba, const TypedArray *data) const |
Overwrite padded regions with checkerboard pattern. | |
Private Attributes | |
Image * | m_Image |
The input image. | |
Colormap * | m_Colormap |
The actual colormap. |
Filter to convert image to RGB image using a color lookup table.
Definition at line 54 of file cmtkImageToImageRGB.h.
typedef MultiFilter<ImageRGB> cmtk::ImageToImageRGB::Superclass [private] |
Convenience definition of the parent class type.
Definition at line 106 of file cmtkImageToImageRGB.h.
Enumeration of Alpha modes.
AlphaModeNone |
Do not use alpha channel (generate 3 byte-per-pixel RGB data). |
AlphaModeConst |
Use constant alpha value (opaque). |
Definition at line 63 of file cmtkImageToImageRGB.h.
cmtk::ImageToImageRGB::igsClassParameter | ( | igsAlphaMode | , |
AlphaMode | |||
) |
cmtk::ImageToImageRGB::igsClassParameter | ( | bool | , |
CheckerboxPadding | |||
) |
Use checkerboard pattern to fill PaddingData areas.
static ImageToImageRGB* cmtk::ImageToImageRGB::New | ( | ) | [inline, static] |
Create new object.
Definition at line 60 of file cmtkImageToImageRGB.h.
Referenced by cmtk::QtTriplanarWindow::QtTriplanarWindow().
Colormap* cmtk::ImageToImageRGB::m_Colormap [private] |
The actual colormap.
Definition at line 103 of file cmtkImageToImageRGB.h.
Referenced by Execute(), ImageToImageRGB(), SetColormap(), and ~ImageToImageRGB().
Image* cmtk::ImageToImageRGB::m_Image [private] |
The input image.
Definition at line 100 of file cmtkImageToImageRGB.h.
Referenced by Execute(), ImageToImageRGB(), SetInput(), and ~ImageToImageRGB().