Filter to apply two kernels on samples in image. Used for edge detection. More...
#include <spatmod/imagefilterfocal.h>

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 MIMATRIX & | GetMatrixA () const |
| const MIMATRIX & | GetMatrixB () const |
| void | SetMatrixA (const MIMATRIX &matrix) |
| void | SetMatrixB (const MIMATRIX &matrix) |
Filter to apply two kernels on samples in image. Used for edge detection.
| SPATMOD::IMAGE::FILTER_FOCAL_GRADIENT::FILTER_FOCAL_GRADIENT | ( | STAGE * | pSourceImage, | |
| bool | TakeOwnershipSource, | |||
| const MIMATRIX & | matrixA, | |||
| const MIMATRIX & | matrixB, | |||
| double | AmountFilterPct = 100.0 | |||
| ) |
Constructor.
| 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.
| 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.
| 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.
1.6.1