The Kuan Adaptive Noise Smoothing filter uses a minimum mean square error calculation to estimate the value of the true signal for the center cell in the filter window from the local statistics. More...
#include <spatmod/imagefilterfocal.h>

Public Member Functions | |
| FILTER_FOCAL_KUANADAPTIVE (STAGE *pSourceImage, bool TakeOwnershipSource, STAGE *pMaskImage, bool TakeOwnershipMask, STATSVALIDITY StatsValidity, double SigmaParam, UINT32 NumFocalRows, UINT32 NumFocalColumns, double AmountFilterPct=100.0) | |
| FILTER_FOCAL_KUANADAPTIVE (STAGE *pSourceImage, bool TakeOwnershipSource, STATSVALIDITY StatsValidity, double SigmaParam, UINT32 NumFocalRows, UINT32 NumFocalColumns, double AmountFilterPct=100.0) | |
| virtual | ~FILTER_FOCAL_KUANADAPTIVE () |
The Kuan Adaptive Noise Smoothing filter uses a minimum mean square error calculation to estimate the value of the true signal for the center cell in the filter window from the local statistics.
It is similar in approach to the Lee filter, but makes fewer simplifying assumptions in the calculations. The Adaptive Noise Filter calculates the signal estimate from the local mean and variance, and the noise standard deviation (assumed to be constant for the entire image); it assumes a Gaussian (normal) distribution for the speckle noise.
| SPATMOD::IMAGE::FILTER_FOCAL_KUANADAPTIVE::FILTER_FOCAL_KUANADAPTIVE | ( | STAGE * | pSourceImage, | |
| bool | TakeOwnershipSource, | |||
| STATSVALIDITY | StatsValidity, | |||
| double | SigmaParam, | |||
| UINT32 | NumFocalRows, | |||
| UINT32 | NumFocalColumns, | |||
| double | AmountFilterPct = 100.0 | |||
| ) |
Constructor.
| 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 | |
| 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_KUANADAPTIVE::FILTER_FOCAL_KUANADAPTIVE | ( | STAGE * | pSourceImage, | |
| bool | TakeOwnershipSource, | |||
| STAGE * | pMaskImage, | |||
| bool | TakeOwnershipMask, | |||
| STATSVALIDITY | StatsValidity, | |||
| double | SigmaParam, | |||
| UINT32 | NumFocalRows, | |||
| UINT32 | NumFocalColumns, | |||
| 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 | |
| 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 | |
| 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_KUANADAPTIVE::~FILTER_FOCAL_KUANADAPTIVE | ( | ) | [virtual] |
Destructor.
1.6.1