VTK  9.2.6
vtkImageHybridMedian2D.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageHybridMedian2D.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
30 #ifndef vtkImageHybridMedian2D_h
31 #define vtkImageHybridMedian2D_h
32 
34 #include "vtkImagingGeneralModule.h" // For export macro
35 
36 class VTKIMAGINGGENERAL_EXPORT vtkImageHybridMedian2D : public vtkImageSpatialAlgorithm
37 {
38 public:
39  static vtkImageHybridMedian2D* New();
41  void PrintSelf(ostream& os, vtkIndent indent) override;
42 
43 protected:
45  ~vtkImageHybridMedian2D() override = default;
46 
47  void ThreadedRequestData(vtkInformation* request, vtkInformationVector** inputVector,
48  vtkInformationVector* outputVector, vtkImageData*** inData, vtkImageData** outData,
49  int outExt[6], int id) override;
50 
51 private:
53  void operator=(const vtkImageHybridMedian2D&) = delete;
54 };
55 
56 #endif
Store vtkAlgorithm input/output information.
a simple class to control print indentation
Definition: vtkIndent.h:39
topologically and geometrically regular array of data
Definition: vtkImageData.h:53
virtual void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int threadId)
If the subclass does not define an Execute method, then the task will be broken up, multiple threads will be spawned, and each thread will call this method.
Filters that operate on pixel neighborhoods.
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkImageSpatialAlgorithm * New()
Median filter that preserves lines and corners.