Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

vtkImageHybridMedian2D Class Reference

Median filter that preserves lines and. More...

#include <vtkImageHybridMedian2D.h>

Inheritance diagram for vtkImageHybridMedian2D:

Inheritance graph
[legend]
Collaboration diagram for vtkImageHybridMedian2D:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)

Static Public Methods

vtkImageHybridMedian2D * New ()
int IsTypeOf (const char *type)
vtkImageHybridMedian2D * SafeDownCast (vtkObject *o)

Protected Methods

 vtkImageHybridMedian2D ()
 ~vtkImageHybridMedian2D ()
 vtkImageHybridMedian2D (const vtkImageHybridMedian2D &)
void operator= (const vtkImageHybridMedian2D &)
void ThreadedExecute (vtkImageData *inData, vtkImageData *outData, int outExt[6], int id)
float ComputeMedian (float *array, int size)

Detailed Description

Median filter that preserves lines and.

Date:
2000/12/10 20:09:07
Revision:
1.12
Thanks:
Thanks to C. Charles Law who developed this class. 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 the computes the median of these two values plus the center pixel. This result of this second median is the output pixel value.
Examples:
vtkImageHybridMedian2D (examples)

Definition at line 64 of file vtkImageHybridMedian2D.h.


Constructor & Destructor Documentation

vtkImageHybridMedian2D::vtkImageHybridMedian2D   [protected]
 

vtkImageHybridMedian2D::~vtkImageHybridMedian2D   [inline, protected]
 

Definition at line 72 of file vtkImageHybridMedian2D.h.

vtkImageHybridMedian2D::vtkImageHybridMedian2D const vtkImageHybridMedian2D &    [inline, protected]
 

Definition at line 73 of file vtkImageHybridMedian2D.h.


Member Function Documentation

vtkImageHybridMedian2D* vtkImageHybridMedian2D::New   [static]
 

Instantiate object with no start, end, or progress methods.

Reimplemented from vtkImageSpatialFilter.

virtual const char* vtkImageHybridMedian2D::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageSpatialFilter.

int vtkImageHybridMedian2D::IsTypeOf const char *    type [static]
 

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageSpatialFilter.

virtual int vtkImageHybridMedian2D::IsA const char *    type [virtual]
 

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageSpatialFilter.

vtkImageHybridMedian2D* vtkImageHybridMedian2D::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageSpatialFilter.

void vtkImageHybridMedian2D::operator= const vtkImageHybridMedian2D &    [inline, protected]
 

Definition at line 74 of file vtkImageHybridMedian2D.h.

void vtkImageHybridMedian2D::ThreadedExecute vtkImageData   inData,
vtkImageData   outData,
int    outExt[6],
int    id
[protected, virtual]
 

If the subclass does not define an Execute method, then the task will be broken up, multiple threads will be spawned, and each thread will call this method. It is public so that the thread functions can call this method.

Reimplemented from vtkImageToImageFilter.

float vtkImageHybridMedian2D::ComputeMedian float *    array,
int    size
[protected]
 


The documentation for this class was generated from the following file:
Generated on Wed Nov 21 12:48:38 2001 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001