Filter to test pixel for equality. More...
#include <spatmod/imagefiltertestequal.h>

Public Member Functions | |
| FILTER_TESTEQUAL (STAGE *pPreviousStage, bool TakeOwnership, const double value, bool negate=false) | |
| FILTER_TESTEQUAL (STAGE *pPreviousStage, bool TakeOwnership, const PIXEL &value, bool negate=false) | |
| virtual | ~FILTER_TESTEQUAL () |
Filter to test pixel for equality.
Resulting image will have single sample of type UINT8 and precision 1.
| SPATMOD::IMAGE::FILTER_TESTEQUAL::FILTER_TESTEQUAL | ( | STAGE * | pPreviousStage, | |
| bool | TakeOwnership, | |||
| const PIXEL & | value, | |||
| bool | negate = false | |||
| ) |
Constructor using PIXEL value to test for.
| pPreviousStage | Pointer to previous stage | |
| TakeOwnership | Filter takes ownership of previous stage and will delete when needed | |
| value | Value to test for | |
| negate | Negate result, output 0 if equal, 1 if unequal |
| SPATMOD::IMAGE::FILTER_TESTEQUAL::FILTER_TESTEQUAL | ( | STAGE * | pPreviousStage, | |
| bool | TakeOwnership, | |||
| const double | value, | |||
| bool | negate = false | |||
| ) |
Constructor using double value 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 | |
| value | Value to test for | |
| negate | Negate result, output 0 if equal, 1 if unequal |
| virtual SPATMOD::IMAGE::FILTER_TESTEQUAL::~FILTER_TESTEQUAL | ( | ) | [virtual] |
Destructor.
1.6.1