VTK
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 
33 
34 #include "vtkImagingGeneralModule.h" // For export macro
36 
37 class VTKIMAGINGGENERAL_EXPORT vtkImageHybridMedian2D : public vtkImageSpatialAlgorithm
38 {
39 public:
40  static vtkImageHybridMedian2D *New();
42 
43 protected:
46 
47  void ThreadedRequestData(vtkInformation *request,
48  vtkInformationVector **inputVector,
49  vtkInformationVector *outputVector,
50  vtkImageData ***inData, vtkImageData **outData,
51  int outExt[6], int id) override;
52 private:
54  void operator=(const vtkImageHybridMedian2D&) = delete;
55 };
56 
57 #endif
58 // 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:41
vtkImageHybridMedian2D::~vtkImageHybridMedian2D
~vtkImageHybridMedian2D() override
Definition: vtkImageHybridMedian2D.h:45
vtkImageData
topologically and geometrically regular array of data
Definition: vtkImageData.h:47
vtkImageSpatialAlgorithm::New
static vtkImageSpatialAlgorithm * New()
vtkImageSpatialAlgorithm.h
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:70
vtkImageHybridMedian2D
Median filter that preserves lines and corners.
Definition: vtkImageHybridMedian2D.h:37
vtkImageSpatialAlgorithm
Filters that operate on pixel neighborhoods.
Definition: vtkImageSpatialAlgorithm.h:34