Raster classifier strategy base class. More...
#include <ClassifierStrategy.h>
Public Member Functions | |
| virtual bool | execute (const te::rst::Raster &inputRaster, const std::vector< unsigned int > &inputRasterBands, const std::vector< te::gm::Polygon * > &inputPolygons, te::rst::Raster &outputRaster, const unsigned int outputRasterBand, const bool enableProgressInterface)=0 throw (te::rp::Exception) |
| Executes the classification strategy. More... | |
| virtual bool | initialize (StrategyParameters const *const strategyParams)=0 throw (te::rp::Exception) |
| Initialize the classification strategy. More... | |
| virtual | ~ClassifierStrategy () |
| Virtual destructor. More... | |
Protected Member Functions | |
| ClassifierStrategy () | |
| Default constructor. More... | |
Private Member Functions | |
| ClassifierStrategy (const ClassifierStrategy &rhs) | |
| Copy constructor. More... | |
| const ClassifierStrategy & | operator= (const ClassifierStrategy &rhs) |
| Assignment operator. More... | |
Raster classifier strategy base class.
Definition at line 46 of file ClassifierStrategy.h.
|
virtual |
Virtual destructor.
Definition at line 32 of file ClassifierStrategy.cpp.
|
protected |
Default constructor.
Definition at line 28 of file ClassifierStrategy.cpp.
|
private |
Copy constructor.
| rhs | The right-hand side Raster. |
Definition at line 36 of file ClassifierStrategy.cpp.
|
pure virtual | ||||||||||||||||||||||||||||||||||||
Executes the classification strategy.
| inputRaster | Input raster. |
| inputRasterBands | Input raster bands. |
| inputPolygons | The polygons to be classified when using object-based image analysis (OBIA). |
| outputRaster | Output raster. |
| outputRasterBand | Output raster band. |
| enableProgressInterface | Enable the internal strategy to update the progress interface. |
Implemented in te::rp::ClassifierISOSegStrategy, te::rp::ClassifierSAMStrategy, te::rp::ClassifierEMStrategy, te::rp::ClassifierMAPStrategy, te::rp::ClassifierKMeansStrategy, and te::rp::ClassifierDummyStrategy.
|
pure virtual | ||||||||||||||
Initialize the classification strategy.
| strategyParams | A pointer to the user given specific classification strategy parameters ou NULL if no parameters are present. |
Implemented in te::rp::ClassifierISOSegStrategy, te::rp::ClassifierSAMStrategy, te::rp::ClassifierEMStrategy, te::rp::ClassifierMAPStrategy, te::rp::ClassifierKMeansStrategy, and te::rp::ClassifierDummyStrategy.
|
private |
Assignment operator.
| rhs | The right-hand-side copy that would be used to copy from. |
Definition at line 40 of file ClassifierStrategy.cpp.