Filter to test pixel for containment inside (or outside) range(s). More...
#include <spatmod/imagefiltertestrange.h>

Public Member Functions | |
| FILTER_TESTRANGE (STAGE *pPreviousStage, bool TakeOwnership, double MinValue, double MaxValue, bool outside=false) | |
| FILTER_TESTRANGE (STAGE *pPreviousStage, bool TakeOwnership, const PIXEL &MinValue, const PIXEL &MaxValue, bool outside=false) | |
| virtual | ~FILTER_TESTRANGE () |
Filter to test pixel for containment inside (or outside) range(s).
Resulting image will have single sample of type UINT8 and precision 1. All ranges are inclusive - values equal to range limits are included in range.
| SPATMOD::IMAGE::FILTER_TESTRANGE::FILTER_TESTRANGE | ( | STAGE * | pPreviousStage, | |
| bool | TakeOwnership, | |||
| const PIXEL & | MinValue, | |||
| const PIXEL & | MaxValue, | |||
| bool | outside = 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) | |
| outside | True to output 1 if outside, otherwise output is 1 if inside |
| SPATMOD::IMAGE::FILTER_TESTRANGE::FILTER_TESTRANGE | ( | STAGE * | pPreviousStage, | |
| bool | TakeOwnership, | |||
| double | MinValue, | |||
| double | MaxValue, | |||
| bool | outside = 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) | |
| outside | True to output 1 if outside, otherwise output is 1 if inside |
| virtual SPATMOD::IMAGE::FILTER_TESTRANGE::~FILTER_TESTRANGE | ( | ) | [virtual] |
Destructor.
1.6.1