Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkImageRGBToHSI Class Reference

#include <vtkImageRGBToHSI.h>

Inheritance diagram for vtkImageRGBToHSI:

Inheritance graph
[legend]
Collaboration diagram for vtkImageRGBToHSI:

Collaboration graph
[legend]
List of all members.

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.

Created by:
  • Barre, Sebastien
CVS contributions (if > 5%):
  • Barre, Sebastien (87%)
  • Martin, Ken (12%)
CVS logs (CVSweb):
  • .h (/Imaging/vtkImageRGBToHSI.h)
  • .cxx (/Imaging/vtkImageRGBToHSI.cxx)
Tests:
vtkImageRGBToHSI (Tests)

Definition at line 42 of file vtkImageRGBToHSI.h.

Public Types

typedef vtkThreadedImageAlgorithm Superclass

Public Member Functions

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

Static Public Member Functions

vtkImageRGBToHSINew ()
int IsTypeOf (const char *type)
vtkImageRGBToHSISafeDownCast (vtkObject *o)

Protected Member Functions

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

Protected Attributes

double Maximum


Member Typedef Documentation

typedef vtkThreadedImageAlgorithm vtkImageRGBToHSI::Superclass
 

Reimplemented from vtkThreadedImageAlgorithm.

Definition at line 46 of file vtkImageRGBToHSI.h.


Constructor & Destructor Documentation

vtkImageRGBToHSI::vtkImageRGBToHSI  )  [protected]
 

vtkImageRGBToHSI::~vtkImageRGBToHSI  )  [inline, protected]
 

Definition at line 60 of file vtkImageRGBToHSI.h.


Member Function Documentation

vtkImageRGBToHSI* vtkImageRGBToHSI::New  )  [static]
 

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkAlgorithm.

virtual const char* vtkImageRGBToHSI::GetClassName  )  [virtual]
 

Reimplemented from vtkThreadedImageAlgorithm.

int vtkImageRGBToHSI::IsTypeOf const char *  type  )  [static]
 

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkThreadedImageAlgorithm.

virtual int vtkImageRGBToHSI::IsA const char *  type  )  [virtual]
 

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkThreadedImageAlgorithm.

vtkImageRGBToHSI* vtkImageRGBToHSI::SafeDownCast vtkObject o  )  [static]
 

Reimplemented from vtkThreadedImageAlgorithm.

void vtkImageRGBToHSI::PrintSelf ostream &  os,
vtkIndent  indent
[virtual]
 

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkThreadedImageAlgorithm.

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, virtual]
 

Reimplemented from vtkThreadedImageAlgorithm.


Member Data Documentation

double vtkImageRGBToHSI::Maximum [protected]
 

Definition at line 62 of file vtkImageRGBToHSI.h.


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