te::rp::Classifier Class Reference

Raster classification. More...

#include <Classifier.h>

Inheritance diagram for te::rp::Classifier:
te::rp::Algorithm

Classes

class  InputParameters
 Classifier input parameters. More...
 
class  OutputParameters
 Classifier output parameters. More...
 

Public Member Functions

 Classifier ()
 
bool execute (AlgorithmOutputParameters &outputParams) throw (te::rp::Exception)
 Executes the algorithm using the supplied parameters. More...
 
bool initialize (const AlgorithmInputParameters &inputParams) throw (te::rp::Exception)
 Initialize the algorithm instance making it ready for execution. More...
 
bool isInitialized () const
 Returns true if the algorithm instance is initialized and ready for execution. More...
 
void reset () throw (te::rp::Exception)
 Clear all internal allocated objects and reset the algorithm to its initial state. More...
 
 ~Classifier ()
 

Protected Attributes

Classifier::InputParameters m_inputParameters
 Classifier execution parameters. More...
 
bool m_instanceInitialized
 Is this instance already initialized? More...
 

Detailed Description

Raster classification.

Raster classification following the choosed strategy.

Note
The created label image will be written to the raster instance pointed by m_outRasterPtr (in this case the output band must also be passed by m_outRasterBand).

Definition at line 64 of file Classifier.h.

Constructor & Destructor Documentation

te::rp::Classifier::Classifier ( )
te::rp::Classifier::~Classifier ( )

Member Function Documentation

bool te::rp::Classifier::execute ( AlgorithmOutputParameters outputParams)
throw (te::rp::Exception
)
virtual

Executes the algorithm using the supplied parameters.

Parameters
outputParamsOutput parameters.
Returns
true if OK, false on errors.

Implements te::rp::Algorithm.

bool te::rp::Classifier::initialize ( const AlgorithmInputParameters inputParams)
throw (te::rp::Exception
)
virtual

Initialize the algorithm instance making it ready for execution.

Parameters
inputParamsInput parameters.
Returns
true if OK, false on errors.
Note
A return error string can be obtained via te::rp::Module::getLastLogStr()

Implements te::rp::Algorithm.

bool te::rp::Classifier::isInitialized ( ) const
virtual

Returns true if the algorithm instance is initialized and ready for execution.

Returns
true if the algorithm instance is initialized and ready for execution.

Implements te::rp::Algorithm.

void te::rp::Classifier::reset ( )
throw (te::rp::Exception
)
virtual

Clear all internal allocated objects and reset the algorithm to its initial state.

Implements te::rp::Algorithm.

Member Data Documentation

Classifier::InputParameters te::rp::Classifier::m_inputParameters
protected

Classifier execution parameters.

Definition at line 178 of file Classifier.h.

bool te::rp::Classifier::m_instanceInitialized
protected

Is this instance already initialized?

Definition at line 177 of file Classifier.h.


The documentation for this class was generated from the following file: