Filter to replace null pixels with specified value. More...
#include <spatmod/imagefilterreplacenull.h>

Public Member Functions | |
| FILTER_REPLACENULL (STAGE *pSourceImage, bool TakeOwnership, const PIXEL &PixelReplace, bool MakeValid=true) | |
| FILTER_REPLACENULL (STAGE *pSourceImage, bool TakeOwnership, double ValueReplace=0, bool MakeValid=true) | |
| virtual | ~FILTER_REPLACENULL () |
Filter to replace null pixels with specified value.
Can be useful for controlling the actual value of "null" pixels prior to writing to target.
| SPATMOD::IMAGE::FILTER_REPLACENULL::FILTER_REPLACENULL | ( | STAGE * | pSourceImage, | |
| bool | TakeOwnership, | |||
| double | ValueReplace = 0, |
|||
| bool | MakeValid = true | |||
| ) |
Construct with numeric replacement value.
Value must be in allowed range or error will be returned in Initialize.
| pSourceImage | Source image stage | |
| TakeOwnership | Filter takes ownership of source stage and will delete when needed | |
| ValueReplace | Value to replace with, will be used for all samples | |
| MakeValid | Make replaced values "valid" |
| SPATMOD::IMAGE::FILTER_REPLACENULL::FILTER_REPLACENULL | ( | STAGE * | pSourceImage, | |
| bool | TakeOwnership, | |||
| const PIXEL & | PixelReplace, | |||
| bool | MakeValid = true | |||
| ) |
Construct with replacement PIXEL value.
Pixel properties must match input image or error will be returned in Initialize.
| pSourceImage | Source image stage | |
| TakeOwnership | Filter takes ownership of source stage and will delete when needed | |
| PixelReplace | Value to replace with | |
| MakeValid | Make replaced values "valid" |
| virtual SPATMOD::IMAGE::FILTER_REPLACENULL::~FILTER_REPLACENULL | ( | ) | [virtual] |
1.6.1