VTK  9.3.0
vtkImageRGBToHSI.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
15 #ifndef vtkImageRGBToHSI_h
16 #define vtkImageRGBToHSI_h
17 
18 #include "vtkImagingColorModule.h" // For export macro
20 
21 VTK_ABI_NAMESPACE_BEGIN
22 class VTKIMAGINGCOLOR_EXPORT vtkImageRGBToHSI : public vtkThreadedImageAlgorithm
23 {
24 public:
25  static vtkImageRGBToHSI* New();
27  void PrintSelf(ostream& os, vtkIndent indent) override;
28 
30 
35  vtkSetMacro(Maximum, double);
36  vtkGetMacro(Maximum, double);
38 
39 protected:
41  ~vtkImageRGBToHSI() override = default;
42 
43  double Maximum;
44 
45  void ThreadedExecute(vtkImageData* inData, vtkImageData* outData, int ext[6], int id) override;
46 
47 private:
48  vtkImageRGBToHSI(const vtkImageRGBToHSI&) = delete;
49  void operator=(const vtkImageRGBToHSI&) = delete;
50 };
51 
52 VTK_ABI_NAMESPACE_END
53 #endif
topologically and geometrically regular array of data
Definition: vtkImageData.h:43
Converts RGB components to HSI.
~vtkImageRGBToHSI() override=default
static vtkImageRGBToHSI * New()
void ThreadedExecute(vtkImageData *inData, vtkImageData *outData, int ext[6], int id) override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Definition: vtkIndent.h:29
Generic filter that has one input.