VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkImageRGBToHSI Class Reference

Converts RGB components to HSI. More...

#include <vtkImageRGBToHSI.h>

Inherits vtkThreadedImageAlgorithm.

Public Types

typedef vtkThreadedImageAlgorithm Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkImageRGBToHSINewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void SetMaximum (double)
 
virtual double GetMaximum ()
 

Static Public Member Functions

static vtkImageRGBToHSINew ()
 
static int IsTypeOf (const char *type)
 
static vtkImageRGBToHSISafeDownCast (vtkObjectBase *o)
 

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () const
 
 vtkImageRGBToHSI ()
 
 ~vtkImageRGBToHSI ()
 
void ThreadedExecute (vtkImageData *inData, vtkImageData *outData, int ext[6], int id)
 

Protected Attributes

double Maximum
 

Detailed Description

Converts RGB components to HSI.

For each pixel with red, blue, and green components this filter output the color coded as hue, saturation and intensity. Output type must be the same as input type.

Tests:
vtkImageRGBToHSI (Tests)

Definition at line 32 of file vtkImageRGBToHSI.h.

Member Typedef Documentation

typedef vtkThreadedImageAlgorithm vtkImageRGBToHSI::Superclass

Definition at line 36 of file vtkImageRGBToHSI.h.

Constructor & Destructor Documentation

vtkImageRGBToHSI::vtkImageRGBToHSI ( )
protected
vtkImageRGBToHSI::~vtkImageRGBToHSI ( )
inlineprotected

Definition at line 50 of file vtkImageRGBToHSI.h.

Member Function Documentation

static vtkImageRGBToHSI* vtkImageRGBToHSI::New ( )
static
static int vtkImageRGBToHSI::IsTypeOf ( const char *  type)
static
virtual int vtkImageRGBToHSI::IsA ( const char *  type)
virtual
static vtkImageRGBToHSI* vtkImageRGBToHSI::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkImageRGBToHSI::NewInstanceInternal ( ) const
protectedvirtual
vtkImageRGBToHSI* vtkImageRGBToHSI::NewInstance ( ) const
void vtkImageRGBToHSI::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual void vtkImageRGBToHSI::SetMaximum ( double  )
virtual

Hue is an angle. Maximum specifies when it maps back to 0. HueMaximum defaults to 255 instead of 2PI, because unsigned char is expected as input. Maximum also specifies the maximum of the Saturation.

virtual double vtkImageRGBToHSI::GetMaximum ( )
virtual

Hue is an angle. Maximum specifies when it maps back to 0. HueMaximum defaults to 255 instead of 2PI, because unsigned char is expected as input. Maximum also specifies the maximum of the Saturation.

void vtkImageRGBToHSI::ThreadedExecute ( vtkImageData *  inData,
vtkImageData *  outData,
int  ext[6],
int  id 
)
protected

Member Data Documentation

double vtkImageRGBToHSI::Maximum
protected

Definition at line 50 of file vtkImageRGBToHSI.h.


The documentation for this class was generated from the following file: