VTK
|
Median filter that preserves lines and corners. More...
#include <vtkImageHybridMedian2D.h>
Public Types | |
typedef vtkImageSpatialAlgorithm | Superclass |
![]() | |
typedef vtkThreadedImageAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkImageHybridMedian2D * | NewInstance () const |
![]() | |
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 vtkImageHybridMedian2D * | New () |
static int | IsTypeOf (const char *type) |
static vtkImageHybridMedian2D * | SafeDownCast (vtkObjectBase *o) |
![]() | |
static vtkImageSpatialAlgorithm * | New () |
static int | IsTypeOf (const char *type) |
static vtkImageSpatialAlgorithm * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkImageHybridMedian2D () | |
~vtkImageHybridMedian2D () | |
void | ThreadedRequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int outExt[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) |
Additional Inherited Members | |
![]() | |
int | KernelSize [3] |
int | KernelMiddle [3] |
int | HandleBoundaries |
Median filter that preserves lines and corners.
vtkImageHybridMedian2D is a median filter that preserves thin lines and corners. It operates on a 5x5 pixel neighborhood. It computes two values initially: the median of the + neighbors and the median of the x neighbors. It then computes the median of these two values plus the center pixel. This result of this second median is the output pixel value.
Definition at line 36 of file vtkImageHybridMedian2D.h.
Definition at line 40 of file vtkImageHybridMedian2D.h.
|
protected |
|
inlineprotected |
Definition at line 44 of file vtkImageHybridMedian2D.h.
|
static |
|
static |
|
virtual |
Reimplemented from vtkImageSpatialAlgorithm.
|
static |
|
protectedvirtual |
Reimplemented from vtkImageSpatialAlgorithm.
vtkImageHybridMedian2D* vtkImageHybridMedian2D::NewInstance | ( | ) | const |
|
protected |