SPATMOD::IMAGE::FILTER_FUSION Class Reference

Base Filter to perform fusion of low resolution and high resolution images. More...

#include <spatmod/imagefilterfusion.h>

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

List of all members.

Public Member Functions

virtual ~FILTER_FUSION ()

Protected Member Functions

 FILTER_FUSION (STAGE *pImageHighRes, STAGE *pImageLowRes, bool TakeOwnership)
virtual ERRVALUE v_Initialize ()
virtual ERRVALUE v_PullBegin (const SECTION_ITERATOR &iterator)

Detailed Description

Base Filter to perform fusion of low resolution and high resolution images.

If the low resolution image has multiple samples per pixel, the data values should be rescaled or contrast enhanced to similar ranges across all bands to avoid undesirable color shifting, especially for the HIS and HBS methods. The resulting image will have the same dimensions as the high resolution image and the same pixel properties as the low resolution image. At present the two source images are assumed to have identical geographic extent and projection (eg, one will match the other with simple zooming).


Constructor & Destructor Documentation

virtual SPATMOD::IMAGE::FILTER_FUSION::~FILTER_FUSION (  )  [virtual]
SPATMOD::IMAGE::FILTER_FUSION::FILTER_FUSION ( STAGE pImageHighRes,
STAGE pImageLowRes,
bool  TakeOwnership 
) [protected]

Construct using high-resolution and low-resolution source images.

Parameters:
pImageHighRes Pointer to high-resolution image
pImageLowRes Pointer to low-resolution image
TakeOwnership Filter takes ownership of previous stages and will delete when needed

Member Function Documentation

virtual ERRVALUE SPATMOD::IMAGE::FILTER_FUSION::v_Initialize (  )  [protected, virtual]

Initialize stage before insertion into pipeline.

Must do the following (in order), checking for error after each call. Validate all class-specific settings. Open any data sources/files if required. Call v_Initialize() on base class (if not private in base). Call SetAllProperties OR call SetPixelProperties(), SetTotalDimensions(), and SetTransToCRS(). Optionally call SetTileDimensions, SetPixelRange and/or other Set... methods needed. Preprocessing of source stages to determine properties may be done here or the first time v_PullBegin is called if does not affect base image properties.

Implements SPATMOD::IMAGE::STAGE.

virtual ERRVALUE SPATMOD::IMAGE::FILTER_FUSION::v_PullBegin ( const SECTION_ITERATOR iterator  )  [protected, virtual]

Begin pull of a specific section.

Default implementation calls PullBegin() for earlier stages in pipeline. If derived class overrides it must either call the base v_PullBegin() with either the same iterator on one that has been suitably adjusted based on the filter's behavior, or call PullBegin() for all earlier stages directly. This would typically be done before doing any filter-specific processing.

Reimplemented from SPATMOD::IMAGE::FILTER.


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

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