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

Public Member Functions | |
| FILTER_VALIDITYRANGE (STAGE *pPreviousStage, bool TakeOwnership, double MinValue, double MaxValue, bool ValidOutside=false) | |
| FILTER_VALIDITYRANGE (STAGE *pPreviousStage, bool TakeOwnership, const PIXEL &MinValue, const PIXEL &MaxValue, bool ValidOutside=false) | |
| virtual | ~FILTER_VALIDITYRANGE () |
Filter to test pixel for containment inside (or outside) range(s).
Resulting image will have validity set based on result. All ranges are inclusive - values equal to range limits are included in range.
| SPATMOD::IMAGE::FILTER_VALIDITYRANGE::FILTER_VALIDITYRANGE | ( | STAGE * | pPreviousStage, | |
| bool | TakeOwnership, | |||
| const PIXEL & | MinValue, | |||
| const PIXEL & | MaxValue, | |||
| bool | ValidOutside = 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) | |
| ValidOutside | True to mark values outside range as valid, false to use values inside |
| SPATMOD::IMAGE::FILTER_VALIDITYRANGE::FILTER_VALIDITYRANGE | ( | STAGE * | pPreviousStage, | |
| bool | TakeOwnership, | |||
| double | MinValue, | |||
| double | MaxValue, | |||
| bool | ValidOutside = 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) | |
| ValidOutside | True to mark values outside range as valid, false to use values inside |
| virtual SPATMOD::IMAGE::FILTER_VALIDITYRANGE::~FILTER_VALIDITYRANGE | ( | ) | [virtual] |
Destructor.
1.6.1