Euclidean Distance Classifier strategy.
More...
#include <ClassifierEDStrategy.h>
Euclidean Distance Classifier strategy.
Definition at line 50 of file ClassifierEDStrategy.h.
te::rp::ClassifierEDStrategy::ClassifierEDStrategy |
( |
| ) |
|
te::rp::ClassifierEDStrategy::~ClassifierEDStrategy |
( |
| ) |
|
bool te::rp::ClassifierEDStrategy::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::ClassifierEDStrategy::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.
unsigned int te::rp::ClassifierEDStrategy::getOutputNumberBands |
( |
void |
| ) |
|
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.
std::vector< std::vector< double > > te::rp::ClassifierEDStrategy::m_classesMeans |
|
protected |
bool te::rp::ClassifierEDStrategy::m_isInitialized |
|
protected |
The documentation for this class was generated from the following file: