SPATMOD::IMAGE::FILTER_MORPHOLOGY_DILATION Class Reference

Morphological Dilation Filter. More...

#include <spatmod/imagefiltermorphology.h>

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

List of all members.

Public Member Functions

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

Protected Member Functions

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

Detailed Description

Morphological Dilation Filter.

Only operates on single-sample inputs


Constructor & Destructor Documentation

SPATMOD::IMAGE::FILTER_MORPHOLOGY_DILATION::FILTER_MORPHOLOGY_DILATION ( 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_DILATION::~FILTER_MORPHOLOGY_DILATION (  )  [virtual]

Destructor.


Member Function Documentation

virtual ERRVALUE SPATMOD::IMAGE::FILTER_MORPHOLOGY_DILATION::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_DILATION::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.

virtual ERRVALUE SPATMOD::IMAGE::FILTER_MORPHOLOGY_DILATION::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