Dummy strategy (just for testing purposes).
More...
#include <ClassifierDummyStrategy.h>
Dummy strategy (just for testing purposes).
Definition at line 44 of file ClassifierDummyStrategy.h.
te::rp::ClassifierDummyStrategy::ClassifierDummyStrategy |
( |
| ) |
|
te::rp::ClassifierDummyStrategy::~ClassifierDummyStrategy |
( |
| ) |
|
bool te::rp::ClassifierDummyStrategy::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 |
|
) |
| |
throw | ( | te::rp::Exception |
| ) | | |
|
virtual |
Executes the classification strategy.
- Parameters
-
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. |
- Returns
- true if OK, false on errors.
Implements te::rp::ClassifierStrategy.
std::vector< int > te::rp::ClassifierDummyStrategy::getOutputDataTypes |
( |
| ) |
const |
|
virtual |
Returns the output raster pixel data type for each output band.
- Returns
- Returns the output raster pixel data type for each output band.
Implements te::rp::ClassifierStrategy.
Initialize the classification strategy.
- Parameters
-
strategyParams | A pointer to the user given specific classification strategy parameters ou NULL if no parameters are present. |
- Returns
- true if OK, false on errors.
Implements te::rp::ClassifierStrategy.
bool te::rp::ClassifierDummyStrategy::m_isInitialized |
|
protected |
The documentation for this class was generated from the following file: