Filter to limit pixel to range. More...
#include <spatmod/imagefilterlimitrange.h>

Public Member Functions | |
| FILTER_LIMIT_RANGE (STAGE *pPreviousStage, bool TakeOwnership, double MinValue, double MaxValue, bool invalidate=false) | |
| FILTER_LIMIT_RANGE (STAGE *pPreviousStage, bool TakeOwnership, const PIXEL &MinValue, const PIXEL &MaxValue, bool invalidate=false) | |
| virtual | ~FILTER_LIMIT_RANGE () |
Filter to limit pixel to range.
All ranges are inclusive - values equal to range limits are included in range.
| SPATMOD::IMAGE::FILTER_LIMIT_RANGE::FILTER_LIMIT_RANGE | ( | STAGE * | pPreviousStage, | |
| bool | TakeOwnership, | |||
| const PIXEL & | MinValue, | |||
| const PIXEL & | MaxValue, | |||
| bool | invalidate = false | |||
| ) |
Constructor using single range of PIXEL values to test for.
| pPreviousStage | Pointer to previous stage | |
| TakeOwnership | Filter takes ownership of previous stage and will delete when needed | |
| MinValue | Minimum value (inclusive) | |
| MaxValue | Maximum value (inclusive) | |
| invalidate | True to output 1 if invalidate, otherwise output is 1 if inside |
| SPATMOD::IMAGE::FILTER_LIMIT_RANGE::FILTER_LIMIT_RANGE | ( | STAGE * | pPreviousStage, | |
| bool | TakeOwnership, | |||
| double | MinValue, | |||
| double | MaxValue, | |||
| bool | invalidate = false | |||
| ) |
Constructor using single range of 'double' values to test for.
Input image must have single component.
| pPreviousStage | Pointer to previous stage | |
| TakeOwnership | Filter takes ownership of previous stage and will delete when needed | |
| MinValue | Minimum value (inclusive) | |
| MaxValue | Maximum value (inclusive) | |
| invalidate | True to output 1 if invalidate, otherwise output is 1 if inside |
| virtual SPATMOD::IMAGE::FILTER_LIMIT_RANGE::~FILTER_LIMIT_RANGE | ( | ) | [virtual] |
Destructor.
1.6.1