SPATMOD::IMAGE::FILTER_FOCAL_LUM Class Reference

Filter to apply LUM filter (Lower-Upper-Middle) The Lower-Upper-Middle (LUM) filter is a nonlinear edge-enhancement filter that simultaneously suppresses image noise. More...

#include <spatmod/imagefilterfocal.h>

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

List of all members.

Public Member Functions

 FILTER_FOCAL_LUM (STAGE *pSourceImage, bool TakeOwnershipSource, STAGE *pMaskImage, bool TakeOwnershipMask, int EdgeParam, int NoiseParam, UINT32 NumFocalRows, UINT32 NumFocalColumns, double AmountFilterPct=100.0)
 FILTER_FOCAL_LUM (STAGE *pSourceImage, bool TakeOwnershipSource, int EdgeParam, int NoiseParam, UINT32 NumFocalRows, UINT32 NumFocalColumns, double AmountFilterPct=100.0)
virtual ~FILTER_FOCAL_LUM ()

Detailed Description

Filter to apply LUM filter (Lower-Upper-Middle) The Lower-Upper-Middle (LUM) filter is a nonlinear edge-enhancement filter that simultaneously suppresses image noise.

The filter first ranks the values within the filter window in numerical order. Two user-defined parameters are used to partition the resulting list of values (number of values = N), and the filter output depends upon which partition includes the value in the center of the filter window (the filter input value). Edge Parameter is an integer value that provides upper and lower rank limits for the values near the median value. If the filter input value is within the range set by Parameter A (that is, near the local median), the filter outputs the lower limit value if the input is below the median, or the upper limit value if the input value is above the median Noise Parameter controls the noise-suppression function of the filter by setting overall minimum and maximum values for the filter output.


Constructor & Destructor Documentation

SPATMOD::IMAGE::FILTER_FOCAL_LUM::FILTER_FOCAL_LUM ( STAGE pSourceImage,
bool  TakeOwnershipSource,
int  EdgeParam,
int  NoiseParam,
UINT32  NumFocalRows,
UINT32  NumFocalColumns,
double  AmountFilterPct = 100.0 
)

Constructor.

Parameters:
pSourceImage Source image stage
TakeOwnershipSource Filter takes ownership of source image
EdgeParam Edge Enhancement Parameter, provides upper and lower rank limits for the values near the median value
NoiseParam Noise Supression Parameter, sets overall minimum and maximum values for the filter output
NumFocalRows Number of rows in processing window
NumFocalColumns Number of columns in processing window
AmountFilterPct Amount of filter to apply (percentage, 0-100)
SPATMOD::IMAGE::FILTER_FOCAL_LUM::FILTER_FOCAL_LUM ( STAGE pSourceImage,
bool  TakeOwnershipSource,
STAGE pMaskImage,
bool  TakeOwnershipMask,
int  EdgeParam,
int  NoiseParam,
UINT32  NumFocalRows,
UINT32  NumFocalColumns,
double  AmountFilterPct = 100.0 
)

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
EdgeParam Edge Enhancement Parameter, provides upper and lower rank limits for the values near the median value
NoiseParam Noise Supression Parameter, sets overall minimum and maximum values for the filter output
NumFocalRows Number of rows in processing window
NumFocalColumns Number of columns in processing window
AmountFilterPct Amount of filter to apply (percentage, 0-100)
virtual SPATMOD::IMAGE::FILTER_FOCAL_LUM::~FILTER_FOCAL_LUM (  )  [virtual]

Destructor.


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

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