The Range filter produces an image of one of the simplest elements of texture, the local range of values. More...
#include <spatmod/imagefilterfocal.h>

Public Member Functions | |
| FILTER_FOCAL_RANGE (STAGE *pSourceImage, bool TakeOwnershipSource, STAGE *pMaskImage, bool TakeOwnershipMask, double ContrastParam, UINT32 NumFocalRows, UINT32 NumFocalColumns, double AmountFilterPct=100.0) | |
| FILTER_FOCAL_RANGE (STAGE *pSourceImage, bool TakeOwnershipSource, double ContrastParam, UINT32 NumFocalRows, UINT32 NumFocalColumns, double AmountFilterPct=100.0) | |
| virtual | ~FILTER_FOCAL_RANGE () |
The Range filter produces an image of one of the simplest elements of texture, the local range of values.
The output of the range filter is the range of values in the filter window (difference between local minimum and maximum values) multiplied by an adjustable gain factor (to produce an image with sufficient brightness and contrast).
| SPATMOD::IMAGE::FILTER_FOCAL_RANGE::FILTER_FOCAL_RANGE | ( | STAGE * | pSourceImage, | |
| bool | TakeOwnershipSource, | |||
| double | ContrastParam, | |||
| UINT32 | NumFocalRows, | |||
| UINT32 | NumFocalColumns, | |||
| double | AmountFilterPct = 100.0 | |||
| ) |
Constructor.
| pSourceImage | Source image stage | |
| TakeOwnershipSource | Filter takes ownership of source image | |
| ContrastParam | Adjustable gain factor | |
| 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_RANGE::FILTER_FOCAL_RANGE | ( | STAGE * | pSourceImage, | |
| bool | TakeOwnershipSource, | |||
| STAGE * | pMaskImage, | |||
| bool | TakeOwnershipMask, | |||
| double | ContrastParam, | |||
| 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 | |
| ContrastParam | Adjustable gain factor | |
| 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_RANGE::~FILTER_FOCAL_RANGE | ( | ) | [virtual] |
Destructor.
1.6.1