SPATMOD::IMAGE::FILTER_FOCAL_STATISTICS Class Reference

Filter to compute statistics on window. More...

#include <spatmod/imagefilterfocal.h>

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

List of all members.

Public Types

enum  STAT_TYPE {
  STAT_TYPE_Mean, STAT_TYPE_Median, STAT_TYPE_Majority, STAT_TYPE_Minority,
  STAT_TYPE_Maximum, STAT_TYPE_Minimum, STAT_TYPE_StdDev, STAT_TYPE_Sum,
  STAT_TYPE_Variance, STAT_TYPE_Variety
}

Public Member Functions

 FILTER_FOCAL_STATISTICS (STAGE *pSourceImage, bool TakeOwnershipSource, STAGE *pMaskImage, bool TakeOwnershipMask, STAT_TYPE Type, UINT32 NumFocalRows, UINT32 NumFocalColumns, double AmountFilterPct=100.0)
 FILTER_FOCAL_STATISTICS (STAGE *pSourceImage, bool TakeOwnershipSource, STAT_TYPE Type, UINT32 NumFocalRows, UINT32 NumFocalColumns, double AmountFilterPct=100.0)
virtual ~FILTER_FOCAL_STATISTICS ()

Detailed Description

Filter to compute statistics on window.


Member Enumeration Documentation

Statistic type.

Enumerator:
STAT_TYPE_Mean 
STAT_TYPE_Median 
STAT_TYPE_Majority 
STAT_TYPE_Minority 
STAT_TYPE_Maximum 
STAT_TYPE_Minimum 
STAT_TYPE_StdDev 
STAT_TYPE_Sum 
STAT_TYPE_Variance 
STAT_TYPE_Variety 

Constructor & Destructor Documentation

SPATMOD::IMAGE::FILTER_FOCAL_STATISTICS::FILTER_FOCAL_STATISTICS ( STAGE pSourceImage,
bool  TakeOwnershipSource,
STAT_TYPE  Type,
UINT32  NumFocalRows,
UINT32  NumFocalColumns,
double  AmountFilterPct = 100.0 
)

Constructor.

Parameters:
pSourceImage Source image stage
TakeOwnershipSource Filter takes ownership of source image
Type Statistic type to compute
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_STATISTICS::FILTER_FOCAL_STATISTICS ( STAGE pSourceImage,
bool  TakeOwnershipSource,
STAGE pMaskImage,
bool  TakeOwnershipMask,
STAT_TYPE  Type,
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
Type Statistic type to compute
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_STATISTICS::~FILTER_FOCAL_STATISTICS (  )  [virtual]

Destructor.


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

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