#include <MixtureModelPCAStrategy.h>
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... | |
Definition at line 49 of file MixtureModelPCAStrategy.h.
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.
|
virtual |
Executes the segmentation strategy.
inputRaster | Input raster. |
inputRasterBands | Input raster bands. |
components | The set of endmembers and its radiances. |
outputRaster | Output raster. |
enableProgressInterface | Enable the internal strategy to update the progress interface. |
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.
|
virtual |
Initialize the segmentation strategy.
strategyParams | A pointer to the user given specific segmentation strategy parameters ou NULL if no parameters are present. |
Implements te::rp::MixtureModelStrategy.
Definition at line 82 of file MixtureModelPCAStrategy.cpp.
References m_isInitialized, and m_parameters.
|
protected |
True if this instance is initialized.
Definition at line 92 of file MixtureModelPCAStrategy.h.
Referenced by execute(), initialize(), and MixtureModelPCAStrategy().
|
protected |
Internal execution parameters.
Definition at line 93 of file MixtureModelPCAStrategy.h.
Referenced by initialize().