SPATMOD::IMAGE::FILTER_FOCAL_WMMR Class Reference

Filter to apply WMMR-MED filter (weighted majority with minimum range - median) The process first ranks the values within the filter window in numerical order (number of values = N). More...

#include <spatmod/imagefilterfocal.h>

Inheritance diagram for SPATMOD::IMAGE::FILTER_FOCAL_WMMR:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 FILTER_FOCAL_WMMR (STAGE *pSourceImage, bool TakeOwnershipSource, STAGE *pMaskImage, bool TakeOwnershipMask, double WeightParam, UINT32 NumFocalRows, UINT32 NumFocalColumns)
 FILTER_FOCAL_WMMR (STAGE *pSourceImage, bool TakeOwnershipSource, double WeightParam, UINT32 NumFocalRows, UINT32 NumFocalColumns)
virtual ~FILTER_FOCAL_WMMR ()

Detailed Description

Filter to apply WMMR-MED filter (weighted majority with minimum range - median) The process first ranks the values within the filter window in numerical order (number of values = N).

The filter then finds a fixed-size subset in which the values are most closely spaced, and calculates a median value from it (WMMR-MED value). The number of values in the subset is (N + 1) / 2. The output value of the filter is a user-controlled weighted average of the input raster value and the WMMR-MED value.


Constructor & Destructor Documentation

SPATMOD::IMAGE::FILTER_FOCAL_WMMR::FILTER_FOCAL_WMMR ( STAGE pSourceImage,
bool  TakeOwnershipSource,
double  WeightParam,
UINT32  NumFocalRows,
UINT32  NumFocalColumns 
)

Constructor.

Parameters:
pSourceImage Source image stage
TakeOwnershipSource Filter takes ownership of source image
WeightParam User-controlled weighted average of the input raster value and the WMMR-MED value
NumFocalRows Number of rows in processing window
NumFocalColumns Number of columns in processing window
SPATMOD::IMAGE::FILTER_FOCAL_WMMR::FILTER_FOCAL_WMMR ( STAGE pSourceImage,
bool  TakeOwnershipSource,
STAGE pMaskImage,
bool  TakeOwnershipMask,
double  WeightParam,
UINT32  NumFocalRows,
UINT32  NumFocalColumns 
)

Constructor with mask to determine areas to filter.

Parameters:
pSourceImage Source image stage
TakeOwnershipSource Filter takes ownership of source image
pMaskImage Mask, must have single component sample
TakeOwnershipMask Filter takes ownership of mask stage and will delete when needed
WeightParam User-controlled weighted average of the input raster value and the WMMR-MED value
NumFocalRows Number of rows in processing window
NumFocalColumns Number of columns in processing window
virtual SPATMOD::IMAGE::FILTER_FOCAL_WMMR::~FILTER_FOCAL_WMMR (  )  [virtual]

Destructor.


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

Generated on Sun Oct 7 21:39:44 2012 for TNTsdk 2012 by  doxygen 1.6.1