te::rp::MixtureModelPCAStrategy Class Reference

#include <MixtureModelPCAStrategy.h>

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

Classes

class  Parameters
 MixtureModel Parameters. More...
 

Public Member Functions

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) throw (te::rp::Exception)
 Executes the segmentation strategy. More...
 
bool initialize (StrategyParameters const *const strategyParams) throw (te::rp::Exception)
 Initialize the segmentation strategy. More...
 
 MixtureModelPCAStrategy ()
 
 ~MixtureModelPCAStrategy ()
 

Protected Attributes

bool m_isInitialized
 True if this instance is initialized. More...
 
MixtureModelPCAStrategy::Parameters m_parameters
 Internal execution parameters. More...
 

Detailed Description

Definition at line 49 of file MixtureModelPCAStrategy.h.

Constructor & Destructor Documentation

te::rp::MixtureModelPCAStrategy::MixtureModelPCAStrategy ( )

Definition at line 73 of file MixtureModelPCAStrategy.cpp.

References m_isInitialized.

te::rp::MixtureModelPCAStrategy::~MixtureModelPCAStrategy ( )

Definition at line 78 of file MixtureModelPCAStrategy.cpp.

Member Function Documentation

bool te::rp::MixtureModelPCAStrategy::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
)
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.

Implements te::rp::MixtureModelStrategy.

Definition at line 100 of file MixtureModelPCAStrategy.cpp.

References te::common::EigenVectors(), fowardBackSubstitution(), gaussElimination(), te::rp::GetDigitalNumberBandMax(), m_isInitialized, TE_TR, TERP_TRUE_OR_RETURN_FALSE, and te::common::TaskProgress::UNDEFINED.

bool te::rp::MixtureModelPCAStrategy::initialize ( StrategyParameters const *const  strategyParams)
throw (te::rp::Exception
)
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.

Implements te::rp::MixtureModelStrategy.

Definition at line 82 of file MixtureModelPCAStrategy.cpp.

References m_isInitialized, and m_parameters.

Member Data Documentation

bool te::rp::MixtureModelPCAStrategy::m_isInitialized
protected

True if this instance is initialized.

Definition at line 92 of file MixtureModelPCAStrategy.h.

Referenced by execute(), initialize(), and MixtureModelPCAStrategy().

MixtureModelPCAStrategy::Parameters te::rp::MixtureModelPCAStrategy::m_parameters
protected

Internal execution parameters.

Definition at line 93 of file MixtureModelPCAStrategy.h.

Referenced by initialize().


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