SPATMOD::IMAGE::FILTER_MASKSELECT Class Reference

Filter to select between images using mask. More...

#include <spatmod/imagefiltermaskselect.h>

Inheritance diagram for SPATMOD::IMAGE::FILTER_MASKSELECT:
Inheritance graph
[legend]

List of all members.

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 ()

Detailed Description

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.


Constructor & Destructor Documentation

SPATMOD::IMAGE::FILTER_MASKSELECT::FILTER_MASKSELECT ( STAGE pMaskImage,
STAGE pSourceImageZero,
STAGE pSourceImageNonZero,
bool  TakeOwnership 
)

Construct with same ownership for all source stages.

Parameters:
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.

Parameters:
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]

The documentation for this class was generated from the following file:

Generated on Sun Oct 7 21:39:50 2012 for TNTsdk 2012 by  doxygen 1.6.1