VTK  9.0.1
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 =========================================================================*/
27 #ifndef vtkImageHybridMedian2D_h
28 #define vtkImageHybridMedian2D_h
29 
31 #include "vtkImagingGeneralModule.h" // For export macro
32 
33 class VTKIMAGINGGENERAL_EXPORT vtkImageHybridMedian2D : public vtkImageSpatialAlgorithm
34 {
35 public:
36  static vtkImageHybridMedian2D* New();
38 
39 protected:
42 
43  void ThreadedRequestData(vtkInformation* request, vtkInformationVector** inputVector,
44  vtkInformationVector* outputVector, vtkImageData*** inData, vtkImageData** outData,
45  int outExt[6], int id) override;
46 
47 private:
49  void operator=(const vtkImageHybridMedian2D&) = delete;
50 };
51 
52 #endif
53 // VTK-HeaderTest-Exclude: vtkImageHybridMedian2D.h
vtkThreadedImageAlgorithm::ThreadedRequestData
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,...
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:35
vtkImageHybridMedian2D::~vtkImageHybridMedian2D
~vtkImageHybridMedian2D() override
Definition: vtkImageHybridMedian2D.h:41
vtkImageData
topologically and geometrically regular array of data
Definition: vtkImageData.h:41
vtkImageSpatialAlgorithm::New
static vtkImageSpatialAlgorithm * New()
vtkImageSpatialAlgorithm.h
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:73
vtkImageHybridMedian2D
Median filter that preserves lines and corners.
Definition: vtkImageHybridMedian2D.h:33
vtkImageSpatialAlgorithm
Filters that operate on pixel neighborhoods.
Definition: vtkImageSpatialAlgorithm.h:33