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 ( )

Definition at line 149 of file Classifier.cpp.

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

Definition at line 154 of file Classifier.cpp.

Member Function Documentation

bool te::rp::Classifier::initialize ( const AlgorithmInputParameters inputParams)
throw (te::rp::Exception
)
virtual
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.

Definition at line 238 of file Classifier.cpp.

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

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 files: