VTK
vtkImageMedian3D.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageMedian3D.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 =========================================================================*/
28 #ifndef vtkImageMedian3D_h
29 #define vtkImageMedian3D_h
30 
31 
32 #include "vtkImagingGeneralModule.h" // For export macro
34 
36 {
37 public:
38  static vtkImageMedian3D *New();
40  void PrintSelf(ostream& os, vtkIndent indent);
41 
44  void SetKernelSize(int size0, int size1, int size2);
45 
47 
48  vtkGetMacro(NumberOfElements,int);
50 
51 protected:
54 
56 
57  void ThreadedRequestData(vtkInformation *request,
58  vtkInformationVector **inputVector,
59  vtkInformationVector *outputVector,
60  vtkImageData ***inData, vtkImageData **outData,
61  int extent[6], int id);
62 
63 private:
64  vtkImageMedian3D(const vtkImageMedian3D&); // Not implemented.
65  void operator=(const vtkImageMedian3D&); // Not implemented.
66 };
67 
68 #endif
void PrintSelf(ostream &os, vtkIndent indent)
Store vtkAlgorithm input/output information.
Median Filter.
a simple class to control print indentation
Definition: vtkIndent.h:38
topologically and geometrically regular array of data
Definition: vtkImageData.h:44
virtual void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int threadId)
Filters that operate on pixel neighborhoods.
#define VTKIMAGINGGENERAL_EXPORT
Store zero or more vtkInformation instances.
static vtkImageSpatialAlgorithm * New()