All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
te::rp::MixtureModelStrategy Class Referenceabstract

Raster mixture model strategy base class. More...

#include <MixtureModelStrategy.h>

Inheritance diagram for te::rp::MixtureModelStrategy:
te::rp::MixtureModelLinearStrategy te::rp::MixtureModelPCAStrategy

Public Member Functions

virtual bool execute (const te::rst::Raster &inputRaster, const std::vector< unsigned int > &inputRasterBands, const std::vector< std::string > &inputSensorBands, const std::map< std::string, std::vector< double > > &components, te::rst::Raster &outputRaster, const bool enableProgressInterface)=0 throw (te::rp::Exception)
 Executes the segmentation strategy. More...
 
virtual bool initialize (StrategyParameters const *const strategyParams)=0 throw (te::rp::Exception)
 Initialize the segmentation strategy. More...
 
virtual ~MixtureModelStrategy ()
 Virtual destructor. More...
 

Protected Member Functions

 MixtureModelStrategy ()
 Default constructor. More...
 

Private Member Functions

 MixtureModelStrategy (const MixtureModelStrategy &rhs)
 Copy constructor. More...
 
const MixtureModelStrategyoperator= (const MixtureModelStrategy &rhs)
 Assignment operator. More...
 

Detailed Description

Raster mixture model strategy base class.

Definition at line 46 of file MixtureModelStrategy.h.

Constructor & Destructor Documentation

te::rp::MixtureModelStrategy::~MixtureModelStrategy ( )
virtual

Virtual destructor.

Definition at line 32 of file MixtureModelStrategy.cpp.

te::rp::MixtureModelStrategy::MixtureModelStrategy ( )
protected

Default constructor.

Definition at line 28 of file MixtureModelStrategy.cpp.

te::rp::MixtureModelStrategy::MixtureModelStrategy ( const MixtureModelStrategy rhs)
private

Copy constructor.

Parameters
rhsThe right-hand side Raster.

Definition at line 36 of file MixtureModelStrategy.cpp.

Member Function Documentation

virtual bool te::rp::MixtureModelStrategy::execute ( const te::rst::Raster inputRaster,
const std::vector< unsigned int > &  inputRasterBands,
const std::vector< std::string > &  inputSensorBands,
const std::map< std::string, std::vector< double > > &  components,
te::rst::Raster outputRaster,
const bool  enableProgressInterface 
)
throw (te::rp::Exception
)
pure virtual

Executes the segmentation strategy.

Parameters
inputRasterInput raster.
inputRasterBandsInput raster bands.
componentsThe set of endmembers and its radiances.
outputRasterOutput raster.
enableProgressInterfaceEnable the internal strategy to update the progress interface.
Returns
true if OK, false on errors.

Implemented in te::rp::MixtureModelLinearStrategy, and te::rp::MixtureModelPCAStrategy.

virtual bool te::rp::MixtureModelStrategy::initialize ( StrategyParameters const *const  strategyParams)
throw (te::rp::Exception
)
pure virtual

Initialize the segmentation strategy.

Parameters
strategyParamsA pointer to the user given specific segmentation strategy parameters ou NULL if no parameters are present.
Returns
true if OK, false on errors.

Implemented in te::rp::MixtureModelLinearStrategy, and te::rp::MixtureModelPCAStrategy.

const te::rp::MixtureModelStrategy & te::rp::MixtureModelStrategy::operator= ( const MixtureModelStrategy rhs)
private

Assignment operator.

Parameters
rhsThe right-hand-side copy that would be used to copy from.
Returns
A reference to this object.

Definition at line 40 of file MixtureModelStrategy.cpp.


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