Morphological Closing Filter. More...
#include <spatmod/imagefiltermorphology.h>

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 §ion, BUFFER &target) |
Morphological Closing Filter.
Does an Erosion followed by a Dilation Only operates on single-sample inputs
| SPATMOD::IMAGE::FILTER_MORPHOLOGY_CLOSING::FILTER_MORPHOLOGY_CLOSING | ( | STAGE * | pInputStage, | |
| bool | TakeOwnership | |||
| ) |
Constructor.
| 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.
| 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.
1.6.1