#include <MixtureModelPCAStrategy.h>
|  | 
| 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, std::vector< te::rst::Raster * > &outputRaster, const bool normalize, const bool enableProgressInterface)  throw (te::rp::Exception) | 
|  | Executes the segmentation strategy.  More... 
 | 
|  | 
| bool | generateTransformMatrix (const std::vector< unsigned int > &inputRasterBands, const std::vector< std::string > &inputSensorBands, const std::map< std::string, std::vector< double > > &components) | 
|  | Generates the used transformation matrix (when applicable).  More... 
 | 
|  | 
| const std::string & | getErrorMessage () const | 
|  | Return the current error message if there is any.  More... 
 | 
|  | 
| bool | getMinMax (std::vector< double > &, std::vector< double > &) const | 
|  | 
| bool | getMinMaxError (std::vector< double > &, std::vector< double > &) const | 
|  | 
| bool | getTransformMatrix (boost::numeric::ublas::matrix< double > &matrix) const | 
|  | Returns the used transformation matrix (when applicable).  More... 
 | 
|  | 
| bool | initialize (StrategyParameters const *const strategyParams)  throw (te::rp::Exception) | 
|  | Initialize the segmentation strategy.  More... 
 | 
|  | 
|  | MixtureModelPCAStrategy () | 
|  | 
| bool | setTransformMatrix (boost::numeric::ublas::matrix< double > &matrix) | 
|  | Sets the used transformation matrix.  More... 
 | 
|  | 
|  | ~MixtureModelPCAStrategy () | 
|  | 
Definition at line 50 of file MixtureModelPCAStrategy.h.
 
◆ MixtureModelPCAStrategy()
      
        
          | te::rp::MixtureModelPCAStrategy::MixtureModelPCAStrategy | ( |  | ) |  | 
      
 
 
◆ ~MixtureModelPCAStrategy()
      
        
          | te::rp::MixtureModelPCAStrategy::~MixtureModelPCAStrategy | ( |  | ) |  | 
      
 
 
◆ execute()
  
  | 
        
          | 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, |  
          |  |  | std::vector< te::rst::Raster * > & | outputRaster, |  
          |  |  | const bool | normalize, |  
          |  |  | const bool | enableProgressInterface |  
          |  | ) |  |  |  
          | throw | ( | te::rp::Exception |  
          |  | ) |  |  |  | virtual | 
 
Executes the segmentation strategy. 
- Parameters
- 
  
    | inputRaster | Input raster. |  | inputRasterBands | Input raster bands. |  | components | The set of endmembers and its radiances. |  | outputRaster | Output raster vector, contains output raster and error raster if requested. |  | enableProgressInterface | Enable the internal strategy to update the progress interface. |  
 
- Returns
- true if OK, false on errors. 
Implements te::rp::MixtureModelStrategy.
 
 
◆ generateTransformMatrix()
  
  | 
        
          | bool te::rp::MixtureModelPCAStrategy::generateTransformMatrix | ( | const std::vector< unsigned int > & | inputRasterBands, |  
          |  |  | const std::vector< std::string > & | inputSensorBands, |  
          |  |  | const std::map< std::string, std::vector< double > > & | components |  
          |  | ) |  |  |  | virtual | 
 
Generates the used transformation matrix (when applicable). 
- Parameters
- 
  
    | inputRasterBands | Input raster bands. |  | inputSensorBands | Input names of the sensor/bands. |  | components | A set of endmembers and its radiances. |  
 
- Returns
- true if OK, false on errors or not applicable cases. 
Implements te::rp::MixtureModelStrategy.
 
 
◆ getErrorMessage()
  
  | 
        
          | const std::string& te::rp::MixtureModelStrategy::getErrorMessage | ( |  | ) | const |  | inherited | 
 
Return the current error message if there is any. 
- Returns
- Return the current error message if there is any. 
 
 
◆ getMinMax()
  
  | 
        
          | bool te::rp::MixtureModelPCAStrategy::getMinMax | ( | std::vector< double > & | , |  
          |  |  | std::vector< double > & |  |  
          |  | ) |  | const |  | virtual | 
 
 
◆ getMinMaxError()
  
  | 
        
          | bool te::rp::MixtureModelPCAStrategy::getMinMaxError | ( | std::vector< double > & | , |  
          |  |  | std::vector< double > & |  |  
          |  | ) |  | const |  | virtual | 
 
 
◆ getTransformMatrix()
  
  | 
        
          | bool te::rp::MixtureModelPCAStrategy::getTransformMatrix | ( | boost::numeric::ublas::matrix< double > & | matrix | ) | const |  | virtual | 
 
Returns the used transformation matrix (when applicable). 
- Parameters
- 
  
    | matrix | The transformation matrix. |  
 
- Returns
- true if OK, false on errors or not applicable cases. 
Implements te::rp::MixtureModelStrategy.
 
 
◆ initialize()
  
  | 
        
          | bool te::rp::MixtureModelPCAStrategy::initialize | ( | StrategyParameters const *const | strategyParams | ) |  |  
          | throw | ( | te::rp::Exception |  
          |  | ) |  |  |  | virtual | 
 
Initialize the segmentation strategy. 
- Parameters
- 
  
    | strategyParams | A 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.
 
 
◆ reset()
  
  | 
        
          | virtual void te::rp::MixtureModelStrategy::reset | ( |  | ) |  |  | protectedvirtualinherited | 
 
Reset to an initial state. 
 
 
◆ setErrorMessage()
  
  | 
        
          | void te::rp::MixtureModelStrategy::setErrorMessage | ( | const std::string & | newErrorMessage | ) |  |  | protectedinherited | 
 
Set the current error message. 
- Parameters
- 
  
    | newErrorMessage | New error message; |  
 
 
 
◆ setTransformMatrix()
  
  | 
        
          | bool te::rp::MixtureModelPCAStrategy::setTransformMatrix | ( | boost::numeric::ublas::matrix< double > & | matrix | ) |  |  | virtual | 
 
Sets the used transformation matrix. 
- Parameters
- 
  
    | matrix | The transformation matrix. |  
 
- Returns
- true if OK, false on errors or not applicable cases. 
Implements te::rp::MixtureModelStrategy.
 
 
◆ m_errorMessage
  
  | 
        
          | std::string te::rp::MixtureModelStrategy::m_errorMessage |  | privateinherited | 
 
 
◆ m_isInitialized
  
  | 
        
          | bool te::rp::MixtureModelPCAStrategy::m_isInitialized |  | protected | 
 
 
◆ m_max
  
  | 
        
          | std::vector<double> te::rp::MixtureModelPCAStrategy::m_max |  | protected | 
 
 
◆ m_maxerror
  
  | 
        
          | std::vector<double> te::rp::MixtureModelPCAStrategy::m_maxerror |  | protected | 
 
 
◆ m_min
  
  | 
        
          | std::vector<double> te::rp::MixtureModelPCAStrategy::m_min |  | protected | 
 
 
◆ m_minerror
  
  | 
        
          | std::vector<double> te::rp::MixtureModelPCAStrategy::m_minerror |  | protected | 
 
 
◆ m_parameters
◆ m_transfMatrix
  
  | 
        
          | boost::numeric::ublas::matrix<double> te::rp::MixtureModelPCAStrategy::m_transfMatrix |  | protected | 
 
 
The documentation for this class was generated from the following file: