Filter to overlay multiple source images. More...
#include <spatmod/imagefilteroverlay.h>

Public Types | |
| enum | OVERLAPMETHOD { OVERLAPMETHOD_First, OVERLAPMETHOD_Last, OVERLAPMETHOD_Minimum, OVERLAPMETHOD_Maximum, OVERLAPMETHOD_ClosestToSpecified } |
Public Member Functions | |
| FILTER_OVERLAY (STAGE_ARRAY &PreviousStages, bool TakeOwnership, OVERLAPMETHOD OverlapMethod=OVERLAPMETHOD_First) | |
| virtual | ~FILTER_OVERLAY () |
| ERRVALUE | SetPixelTestClosest (const PIXEL &PixelTestClosest) |
Filter to overlay multiple source images.
The first source image pixel that is valid will used as the output pixel. All sources images must have the same dimensions and pixel type.
| SPATMOD::IMAGE::FILTER_OVERLAY::FILTER_OVERLAY | ( | STAGE_ARRAY & | PreviousStages, | |
| bool | TakeOwnership, | |||
| OVERLAPMETHOD | OverlapMethod = OVERLAPMETHOD_First | |||
| ) |
Construct using array of previous stage pointers and common ownership.
All previous stages must have same total dimensions and pixel type.
| PreviousStages | Array of previous stages | |
| TakeOwnership | Filter takes ownership of previous stages and will delete when needed | |
| OverlapMethod | Overlap control method |
| virtual SPATMOD::IMAGE::FILTER_OVERLAY::~FILTER_OVERLAY | ( | ) | [virtual] |
Set pixel for OVERLAPMETHOD_ClosestToSpecified.
If not specified, the center of the valid data range will be used by default.
| PixelTestClosest | Pixel value, must have same properties as image itself |
1.6.1