SPATMOD::IMAGE::FILTER_FOCAL_GRADIENT Class Reference

Filter to apply two kernels on samples in image. Used for edge detection. More...

#include <spatmod/imagefilterfocal.h>

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

List of all members.

Public Member Functions

 FILTER_FOCAL_GRADIENT (STAGE *pSourceImage, bool TakeOwnershipSource, STAGE *pMaskImage, bool TakeOwnershipMask, const MIMATRIX &matrixA, const MIMATRIX &matrixB, double AmountFilterPct=100.0)
 FILTER_FOCAL_GRADIENT (STAGE *pSourceImage, bool TakeOwnershipSource, const MIMATRIX &matrixA, const MIMATRIX &matrixB, double AmountFilterPct=100.0)
virtual ~FILTER_FOCAL_GRADIENT ()
const MIMATRIXGetMatrixA () const
const MIMATRIXGetMatrixB () const
void SetMatrixA (const MIMATRIX &matrix)
void SetMatrixB (const MIMATRIX &matrix)

Detailed Description

Filter to apply two kernels on samples in image. Used for edge detection.


Constructor & Destructor Documentation

SPATMOD::IMAGE::FILTER_FOCAL_GRADIENT::FILTER_FOCAL_GRADIENT ( STAGE pSourceImage,
bool  TakeOwnershipSource,
const MIMATRIX matrixA,
const MIMATRIX matrixB,
double  AmountFilterPct = 100.0 
)

Constructor.

Parameters:
pSourceImage Source image stage
TakeOwnershipSource Filter takes ownership of source image
matrixA Set kernel A from matrix
matrixB Set kernel B from matrix
AmountFilterPct Amount of filter to apply (percentage, 0-100)
SPATMOD::IMAGE::FILTER_FOCAL_GRADIENT::FILTER_FOCAL_GRADIENT ( STAGE pSourceImage,
bool  TakeOwnershipSource,
STAGE pMaskImage,
bool  TakeOwnershipMask,
const MIMATRIX matrixA,
const MIMATRIX matrixB,
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
matrixA Set kernel A from matrix
matrixB Set kernel B from matrix
AmountFilterPct Amount of filter to apply (percentage, 0-100)
virtual SPATMOD::IMAGE::FILTER_FOCAL_GRADIENT::~FILTER_FOCAL_GRADIENT (  )  [virtual]

Destructor.


Member Function Documentation

const MIMATRIX& SPATMOD::IMAGE::FILTER_FOCAL_GRADIENT::GetMatrixA (  )  const [inline]

Get matrix kernel A.

const MIMATRIX& SPATMOD::IMAGE::FILTER_FOCAL_GRADIENT::GetMatrixB (  )  const [inline]

Get matrix kernel B.

void SPATMOD::IMAGE::FILTER_FOCAL_GRADIENT::SetMatrixA ( const MIMATRIX matrix  )  [inline]

Use matrix to define kernel A.

void SPATMOD::IMAGE::FILTER_FOCAL_GRADIENT::SetMatrixB ( const MIMATRIX matrix  )  [inline]

Use matrix to define kernel B.


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

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