Section: Visualization Toolkit Imaging Classes
To create an instance of class vtkImageMedian3D, simply invoke its constructor as follows
obj = vtkImageMedian3D
obj
is an instance of the vtkImageMedian3D class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkImageMedian3D = obj.NewInstance ()
vtkImageMedian3D = obj.SafeDownCast (vtkObject o)
obj.SetKernelSize (int size0, int size1, int size2)
- This method sets the size of the neighborhood. It also sets the
default middle of the neighborhood
int = obj.GetNumberOfElements ()
- Return the number of elements in the median mask