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 =========================================================================*/
26 #ifndef vtkImageMedian3D_h
27 #define vtkImageMedian3D_h
28 
29 
30 #include "vtkImagingGeneralModule.h" // For export macro
32 
33 class VTKIMAGINGGENERAL_EXPORT vtkImageMedian3D : public vtkImageSpatialAlgorithm
34 {
35 public:
36  static vtkImageMedian3D *New();
38  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
39 
44  void SetKernelSize(int size0, int size1, int size2);
45 
47 
50  vtkGetMacro(NumberOfElements,int);
52 
53 protected:
55  ~vtkImageMedian3D() VTK_OVERRIDE;
56 
57  int NumberOfElements;
58 
59  void ThreadedRequestData(vtkInformation *request,
60  vtkInformationVector **inputVector,
61  vtkInformationVector *outputVector,
62  vtkImageData ***inData, vtkImageData **outData,
63  int extent[6], int id) VTK_OVERRIDE;
64 
65 private:
66  vtkImageMedian3D(const vtkImageMedian3D&) VTK_DELETE_FUNCTION;
67  void operator=(const vtkImageMedian3D&) VTK_DELETE_FUNCTION;
68 };
69 
70 #endif
Store vtkAlgorithm input/output information.
Median Filter.
a simple class to control print indentation
Definition: vtkIndent.h:33
topologically and geometrically regular array of data
Definition: vtkImageData.h:39
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()