SPATMOD::IMAGE::FILTER_FOCAL_CONTRAST Class Reference

The Local Contrast filter performs a locally adaptive, spatially varying contrast enhancement. More...

#include <spatmod/imagefilterfocal.h>

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

List of all members.

Public Member Functions

 FILTER_FOCAL_CONTRAST (STAGE *pSourceImage, bool TakeOwnershipSource, STAGE *pMaskImage, bool TakeOwnershipMask, STATSVALIDITY StatsValidity, double SigmaParam, double ContrastParam, UINT32 NumFocalRows, UINT32 NumFocalColumns, double AmountFilterPct=100.0)
 FILTER_FOCAL_CONTRAST (STAGE *pSourceImage, bool TakeOwnershipSource, STATSVALIDITY StatsValidity, double SigmaParam, double ContrastParam, UINT32 NumFocalRows, UINT32 NumFocalColumns, double AmountFilterPct=100.0)
virtual ~FILTER_FOCAL_CONTRAST ()

Detailed Description

The Local Contrast filter performs a locally adaptive, spatially varying contrast enhancement.

The amount of enhancement varies as a function of the existing contrast in the local neighborhood, expressed as the ratio of the global mean to the local standard deviation. Areas with low inherent contrast are enhanced more than areas which already have high contrast


Constructor & Destructor Documentation

SPATMOD::IMAGE::FILTER_FOCAL_CONTRAST::FILTER_FOCAL_CONTRAST ( STAGE pSourceImage,
bool  TakeOwnershipSource,
STATSVALIDITY  StatsValidity,
double  SigmaParam,
double  ContrastParam,
UINT32  NumFocalRows,
UINT32  NumFocalColumns,
double  AmountFilterPct = 100.0 
)

Constructor.

Parameters:
pSourceImage Source image stage
TakeOwnershipSource Filter takes ownership of source image
StatsValidity How to compute image statisitcs used in filter (fastest should be used for display, exact for processing)
SigmaParam User-controlled weight applied to sigma
ContrastParam Amount of local contrast enhancement that is applied throughout the image
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_CONTRAST::FILTER_FOCAL_CONTRAST ( STAGE pSourceImage,
bool  TakeOwnershipSource,
STAGE pMaskImage,
bool  TakeOwnershipMask,
STATSVALIDITY  StatsValidity,
double  SigmaParam,
double  ContrastParam,
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
StatsValidity How to compute image statisitcs used in filter (fastest should be used for display, exact for processing)
SigmaParam User-controlled weight applied to sigma
ContrastParam Amount of local contrast enhancement that is applied throughout the image
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_CONTRAST::~FILTER_FOCAL_CONTRAST (  )  [virtual]

Destructor.


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

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