SPATMOD::IMAGE::FILTER_MORPHOLOGY_CLOSING Class Reference

Morphological Closing Filter. More...

#include <spatmod/imagefiltermorphology.h>

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

List of all members.

Public Member Functions

 FILTER_MORPHOLOGY_CLOSING (STAGE *pInputStage, bool TakeOwnership)
virtual ~FILTER_MORPHOLOGY_CLOSING ()

Protected Member Functions

virtual ERRVALUE v_Initialize ()
virtual ERRVALUE v_PullSubSection (const SECTION &section, BUFFER &target)

Detailed Description

Morphological Closing Filter.

Does an Erosion followed by a Dilation Only operates on single-sample inputs


Constructor & Destructor Documentation

SPATMOD::IMAGE::FILTER_MORPHOLOGY_CLOSING::FILTER_MORPHOLOGY_CLOSING ( STAGE pInputStage,
bool  TakeOwnership 
)

Constructor.

Parameters:
pInputStage Pointer to input stage
TakeOwnership Filter takes ownership of previous stages and will delete when needed
virtual SPATMOD::IMAGE::FILTER_MORPHOLOGY_CLOSING::~FILTER_MORPHOLOGY_CLOSING (  )  [virtual]

Destructor.


Member Function Documentation

virtual ERRVALUE SPATMOD::IMAGE::FILTER_MORPHOLOGY_CLOSING::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_MORPHOLOGY_CLOSING::v_PullSubSection ( const SECTION SubSection,
BUFFER buffer 
) [protected, virtual]

Pull data for specified subsection into buffer.

Buffer provided may be larger than needed for subsection, in which case data not overwritten in buffer may be left unchanged for efficiency.

Implements SPATMOD::IMAGE::STAGE.


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

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