VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
vtkImageHybridMedian2D Class Reference

Median filter that preserves lines and corners. More...

#include <vtkImageHybridMedian2D.h>

Inheritance diagram for vtkImageHybridMedian2D:
[legend]
Collaboration diagram for vtkImageHybridMedian2D:
[legend]

Public Types

typedef vtkImageSpatialAlgorithm Superclass
 
- Public Types inherited from vtkImageSpatialAlgorithm
typedef vtkThreadedImageAlgorithm Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkImageHybridMedian2DNewInstance () const
 
- Public Member Functions inherited from vtkImageSpatialAlgorithm
vtkImageSpatialAlgorithmNewInstance () 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 vtkImageHybridMedian2DNew ()
 
static int IsTypeOf (const char *type)
 
static vtkImageHybridMedian2DSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkImageSpatialAlgorithm
static vtkImageSpatialAlgorithmNew ()
 
static int IsTypeOf (const char *type)
 
static vtkImageSpatialAlgorithmSafeDownCast (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)
 
- Protected Member Functions inherited from vtkImageSpatialAlgorithm
 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

- Protected Attributes inherited from vtkImageSpatialAlgorithm
int KernelSize [3]
 
int KernelMiddle [3]
 
int HandleBoundaries
 

Detailed Description

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.

Tests:
vtkImageHybridMedian2D (Tests)

Definition at line 36 of file vtkImageHybridMedian2D.h.

Member Typedef Documentation

Definition at line 40 of file vtkImageHybridMedian2D.h.

Constructor & Destructor Documentation

vtkImageHybridMedian2D::vtkImageHybridMedian2D ( )
protected
vtkImageHybridMedian2D::~vtkImageHybridMedian2D ( )
inlineprotected

Definition at line 44 of file vtkImageHybridMedian2D.h.

Member Function Documentation

static vtkImageHybridMedian2D* vtkImageHybridMedian2D::New ( )
static
static int vtkImageHybridMedian2D::IsTypeOf ( const char *  type)
static
virtual int vtkImageHybridMedian2D::IsA ( const char *  type)
virtual

Reimplemented from vtkImageSpatialAlgorithm.

static vtkImageHybridMedian2D* vtkImageHybridMedian2D::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkImageHybridMedian2D::NewInstanceInternal ( ) const
protectedvirtual

Reimplemented from vtkImageSpatialAlgorithm.

vtkImageHybridMedian2D* vtkImageHybridMedian2D::NewInstance ( ) const
void vtkImageHybridMedian2D::ThreadedRequestData ( vtkInformation *  request,
vtkInformationVector **  inputVector,
vtkInformationVector *  outputVector,
vtkImageData ***  inData,
vtkImageData **  outData,
int  outExt[6],
int  id 
)
protected

The documentation for this class was generated from the following file: