00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkImageRGBToHSI.h 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00026 #ifndef __vtkImageRGBToHSI_h 00027 #define __vtkImageRGBToHSI_h 00028 00029 #include "vtkThreadedImageAlgorithm.h" 00030 00031 class VTK_IMAGING_EXPORT vtkImageRGBToHSI : public vtkThreadedImageAlgorithm 00032 { 00033 public: 00034 static vtkImageRGBToHSI *New(); 00035 vtkTypeMacro(vtkImageRGBToHSI,vtkThreadedImageAlgorithm); 00036 void PrintSelf(ostream& os, vtkIndent indent); 00037 00039 00043 vtkSetMacro(Maximum,double); 00044 vtkGetMacro(Maximum,double); 00046 00047 protected: 00048 vtkImageRGBToHSI(); 00049 ~vtkImageRGBToHSI() {}; 00050 00051 double Maximum; 00052 00053 void ThreadedExecute (vtkImageData *inData, vtkImageData *outData, 00054 int ext[6], int id); 00055 00056 private: 00057 vtkImageRGBToHSI(const vtkImageRGBToHSI&); // Not implemented. 00058 void operator=(const vtkImageRGBToHSI&); // Not implemented. 00059 }; 00060 00061 #endif 00062 00063 00064