Filter to select between images using mask. More...
#include <spatmod/imagefiltermaskselect.h>

Public Member Functions | |
| FILTER_MASKSELECT (STAGE *pMaskImage, bool TakeOwnershipMask, STAGE *pSourceImageZero, bool TakeOwnershipImageZero, STAGE *pSourceImageNonZero, bool TakeOwnershipImageNonZero) | |
| FILTER_MASKSELECT (STAGE *pMaskImage, STAGE *pSourceImageZero, STAGE *pSourceImageNonZero, bool TakeOwnership) | |
| virtual | ~FILTER_MASKSELECT () |
Filter to select between images using mask.
All source images must have the same dimension. The pixel properties of both non-mask images must match. The mask image must have a single sample per pixel. The georeference from the first source that has any will be used. Invalid mask pixels will result in invalid result pixels, otherwise validity will be transferred from selected source based on mask.
| SPATMOD::IMAGE::FILTER_MASKSELECT::FILTER_MASKSELECT | ( | STAGE * | pMaskImage, | |
| STAGE * | pSourceImageZero, | |||
| STAGE * | pSourceImageNonZero, | |||
| bool | TakeOwnership | |||
| ) |
Construct with same ownership for all source stages.
| pMaskImage | Mask, must have single component sample | |
| pSourceImageZero | Source image stage selected for zero mask pixels | |
| pSourceImageNonZero | Source image stage selected for non-zero mask pixels | |
| TakeOwnership | Filter takes ownership of all source stages and will delete when needed |
| SPATMOD::IMAGE::FILTER_MASKSELECT::FILTER_MASKSELECT | ( | STAGE * | pMaskImage, | |
| bool | TakeOwnershipMask, | |||
| STAGE * | pSourceImageZero, | |||
| bool | TakeOwnershipImageZero, | |||
| STAGE * | pSourceImageNonZero, | |||
| bool | TakeOwnershipImageNonZero | |||
| ) |
Construct with different ownership for each source stage.
| pMaskImage | Mask, must have single component sample | |
| TakeOwnershipMask | Filter takes ownership of mask stage and will delete when needed | |
| pSourceImageZero | Source image stage selected for zero mask pixels | |
| TakeOwnershipImageZero | Filter takes ownership and will delete when needed | |
| pSourceImageNonZero | Source image stage selected for non-zero mask pixels | |
| TakeOwnershipImageNonZero | Filter takes ownership and will delete when needed |
| virtual SPATMOD::IMAGE::FILTER_MASKSELECT::~FILTER_MASKSELECT | ( | ) | [virtual] |
1.6.1