VTK
|
Median Filter. More...
#include <vtkImageMedian3D.h>
Public Types | |
typedef vtkImageSpatialAlgorithm | Superclass |
![]() | |
typedef vtkThreadedImageAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkImageMedian3D * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | SetKernelSize (int size0, int size1, int size2) |
virtual int | GetNumberOfElements () |
![]() | |
vtkImageSpatialAlgorithm * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual int * | GetKernelSize () |
virtual void | GetKernelSize (int &, int &, int &) |
virtual void | GetKernelSize (int[3]) |
virtual int * | GetKernelMiddle () |
virtual void | GetKernelMiddle (int &, int &, int &) |
virtual void | GetKernelMiddle (int[3]) |
Static Public Member Functions | |
static vtkImageMedian3D * | New () |
static int | IsTypeOf (const char *type) |
static vtkImageMedian3D * | SafeDownCast (vtkObjectBase *o) |
![]() | |
static vtkImageSpatialAlgorithm * | New () |
static int | IsTypeOf (const char *type) |
static vtkImageSpatialAlgorithm * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkImageMedian3D () | |
~vtkImageMedian3D () | |
void | ThreadedRequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int id) |
![]() | |
vtkImageSpatialAlgorithm () | |
~vtkImageSpatialAlgorithm () | |
virtual int | RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
void | ComputeOutputWholeExtent (int extent[6], int handleBoundaries) |
virtual int | RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
void | InternalRequestUpdateExtent (int *extent, int *inExtent, int *wholeExtent) |
Protected Attributes | |
int | NumberOfElements |
![]() | |
int | KernelSize [3] |
int | KernelMiddle [3] |
int | HandleBoundaries |
Median Filter.
vtkImageMedian3D a Median filter that replaces each pixel with the median value from a rectangular neighborhood around that pixel. Neighborhoods can be no more than 3 dimensional. Setting one axis of the neighborhood kernelSize to 1 changes the filter into a 2D median.
Definition at line 35 of file vtkImageMedian3D.h.
Definition at line 39 of file vtkImageMedian3D.h.
|
protected |
|
protected |
|
static |
|
static |
|
virtual |
Reimplemented from vtkImageSpatialAlgorithm.
|
static |
|
protectedvirtual |
Reimplemented from vtkImageSpatialAlgorithm.
vtkImageMedian3D* vtkImageMedian3D::NewInstance | ( | ) | const |
void vtkImageMedian3D::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
void vtkImageMedian3D::SetKernelSize | ( | int | size0, |
int | size1, | ||
int | size2 | ||
) |
This method sets the size of the neighborhood. It also sets the default middle of the neighborhood
|
virtual |
Return the number of elements in the median mask
|
protected |
|
protected |
Definition at line 55 of file vtkImageMedian3D.h.