SPATMOD::IMAGE::FILTER_OVERLAY Class Reference

Filter to overlay multiple source images. More...

#include <spatmod/imagefilteroverlay.h>

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

List of all members.

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)

Detailed Description

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.


Member Enumeration Documentation

Enumerator:
OVERLAPMETHOD_First 

Use first valid pixel.

OVERLAPMETHOD_Last 

Use last valid pixel.

OVERLAPMETHOD_Minimum 

Use pixel with minimum total of sample values.

OVERLAPMETHOD_Maximum 

Use pixel with maximum total of sample values.

OVERLAPMETHOD_ClosestToSpecified 

Use pixel closest to specified value.


Constructor & Destructor Documentation

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.

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

Member Function Documentation

ERRVALUE SPATMOD::IMAGE::FILTER_OVERLAY::SetPixelTestClosest ( const PIXEL PixelTestClosest  ) 

Set pixel for OVERLAPMETHOD_ClosestToSpecified.

If not specified, the center of the valid data range will be used by default.

Parameters:
PixelTestClosest Pixel value, must have same properties as image itself

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

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