The Frost filter is an adaptive radar filter that incorporates the local image statistics in the filtering process, assuming a negative exponential distribution for the speckle noise. More...
#include <spatmod/imagefilterfocal.h>

Public Member Functions | |
| FILTER_FOCAL_FROST (STAGE *pSourceImage, bool TakeOwnershipSource, STAGE *pMaskImage, bool TakeOwnershipMask, UINT32 NumFocalRows, UINT32 NumFocalColumns, double AmountFilterPct=100.0) | |
| FILTER_FOCAL_FROST (STAGE *pSourceImage, bool TakeOwnershipSource, UINT32 NumFocalRows, UINT32 NumFocalColumns, double AmountFilterPct=100.0) | |
| virtual | ~FILTER_FOCAL_FROST () |
The Frost filter is an adaptive radar filter that incorporates the local image statistics in the filtering process, assuming a negative exponential distribution for the speckle noise.
The filter performs a weighted average of the cell values in the filter window, with the weights for each cell being determined from the local statistics to minimize the mean square error of the signal estimate. The filter weight for a cell is a negative exponential function of the noise standard deviation (calculated locally for each filter window), and also decrease with distance from the center cell. The center cells are weighted more heavily as the variance in the filter window increases. The filter therefore smoothes more in homogeneous areas, but provides a signal estimate closer to the observed value of the center cell in heterogeneous areas.
| SPATMOD::IMAGE::FILTER_FOCAL_FROST::FILTER_FOCAL_FROST | ( | STAGE * | pSourceImage, | |
| bool | TakeOwnershipSource, | |||
| UINT32 | NumFocalRows, | |||
| UINT32 | NumFocalColumns, | |||
| double | AmountFilterPct = 100.0 | |||
| ) |
Constructor.
| pSourceImage | Source image stage | |
| TakeOwnershipSource | Filter takes ownership of source 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_FROST::FILTER_FOCAL_FROST | ( | STAGE * | pSourceImage, | |
| bool | TakeOwnershipSource, | |||
| STAGE * | pMaskImage, | |||
| bool | TakeOwnershipMask, | |||
| 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 | |
| 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_FROST::~FILTER_FOCAL_FROST | ( | ) | [virtual] |
Destructor.
1.6.1