VTK
|
generalized histograms up to 4 dimensions More...
#include <vtkImageQuantizeRGBToIndex.h>
Inherits vtkImageAlgorithm.
Public Types | |
typedef vtkImageAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkImageQuantizeRGBToIndex * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual double | GetInitializeExecuteTime () |
virtual double | GetBuildTreeExecuteTime () |
virtual double | GetLookupIndexExecuteTime () |
virtual void | SetNumberOfColors (int) |
virtual int | GetNumberOfColors () |
virtual vtkLookupTable * | GetLookupTable () |
virtual int | GetInputType () |
virtual void | SetInitializeExecuteTime (double) |
virtual void | SetBuildTreeExecuteTime (double) |
virtual void | SetLookupIndexExecuteTime (double) |
Static Public Member Functions | |
static vtkImageQuantizeRGBToIndex * | New () |
static int | IsTypeOf (const char *type) |
static vtkImageQuantizeRGBToIndex * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkImageQuantizeRGBToIndex () | |
~vtkImageQuantizeRGBToIndex () | |
virtual int | RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
virtual int | RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
vtkLookupTable * | LookupTable |
int | NumberOfColors |
int | InputType |
double | InitializeExecuteTime |
double | BuildTreeExecuteTime |
double | LookupIndexExecuteTime |
generalized histograms up to 4 dimensions
vtkImageQuantizeRGBToIndex takes a 3 component RGB image as input and produces a one component index image as output, along with a lookup table that contains the color definitions for the index values. This filter works on the entire input extent - it does not perform streaming, and it does not supported threaded execution (because it has to process the entire image).
To use this filter, you typically set the number of colors (between 2 and 65536), execute it, and then retrieve the lookup table. The colors can then be using the lookup table and the image index.
Definition at line 41 of file vtkImageQuantizeRGBToIndex.h.
typedef vtkImageAlgorithm vtkImageQuantizeRGBToIndex::Superclass |
Definition at line 45 of file vtkImageQuantizeRGBToIndex.h.
|
protected |
|
protected |
|
static |
|
static |
|
virtual |
|
static |
|
protectedvirtual |
vtkImageQuantizeRGBToIndex* vtkImageQuantizeRGBToIndex::NewInstance | ( | ) | const |
void vtkImageQuantizeRGBToIndex::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
virtual |
Set / Get the number of color index values to produce - must be a number between 2 and 65536.
|
virtual |
Set / Get the number of color index values to produce - must be a number between 2 and 65536.
|
virtual |
Get the resulting lookup table that contains the color definitions corresponding to the index values in the output image.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
For internal use only - get the type of the image
|
virtual |
For internal use only - set the times for execution
|
virtual |
For internal use only - set the times for execution
|
virtual |
For internal use only - set the times for execution
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
Definition at line 83 of file vtkImageQuantizeRGBToIndex.h.
|
protected |
Definition at line 84 of file vtkImageQuantizeRGBToIndex.h.
|
protected |
Definition at line 85 of file vtkImageQuantizeRGBToIndex.h.
|
protected |
Definition at line 87 of file vtkImageQuantizeRGBToIndex.h.
|
protected |
Definition at line 88 of file vtkImageQuantizeRGBToIndex.h.
|
protected |
Definition at line 89 of file vtkImageQuantizeRGBToIndex.h.