VTK  9.3.1
vtkImageHybridMedian2D.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
18 #ifndef vtkImageHybridMedian2D_h
19 #define vtkImageHybridMedian2D_h
20 
22 #include "vtkImagingGeneralModule.h" // For export macro
23 
24 VTK_ABI_NAMESPACE_BEGIN
25 class VTKIMAGINGGENERAL_EXPORT vtkImageHybridMedian2D : public vtkImageSpatialAlgorithm
26 {
27 public:
28  static vtkImageHybridMedian2D* New();
30  void PrintSelf(ostream& os, vtkIndent indent) override;
31 
32 protected:
34  ~vtkImageHybridMedian2D() override = default;
35 
36  void ThreadedRequestData(vtkInformation* request, vtkInformationVector** inputVector,
37  vtkInformationVector* outputVector, vtkImageData*** inData, vtkImageData** outData,
38  int outExt[6], int id) override;
39 
40 private:
42  void operator=(const vtkImageHybridMedian2D&) = delete;
43 };
44 
45 VTK_ABI_NAMESPACE_END
46 #endif
Store vtkAlgorithm input/output information.
a simple class to control print indentation
Definition: vtkIndent.h:28
topologically and geometrically regular array of data
Definition: vtkImageData.h:42
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.