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);
52 private:
53  vtkImageHybridMedian2D(const vtkImageHybridMedian2D&) VTK_DELETE_FUNCTION;
54  void operator=(const vtkImageHybridMedian2D&) VTK_DELETE_FUNCTION;
55 };
56 
57 #endif
58 // VTK-HeaderTest-Exclude: vtkImageHybridMedian2D.h
Store vtkAlgorithm input/output information.
topologically and geometrically regular array of data
Definition: vtkImageData.h:45
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.
static vtkImageSpatialAlgorithm * New()
Median filter that preserves lines and corners.