#include <MixtureModelLinearStrategy.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, te::rst::Raster &outputRaster, 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...
  | 
|   | 
| bool  | getMinMax (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...
  | 
|   | 
|   | MixtureModelLinearStrategy () | 
|   | 
| bool  | setTransformMatrix (boost::numeric::ublas::matrix< double > &matrix) | 
|   | Sets the used transformation matrix.  More...
  | 
|   | 
|   | ~MixtureModelLinearStrategy () | 
|   | 
- Note
 - The transformation matrix (A) returned by getTransformMatrix by definition: A * X = R, we have A, so that X = inv(A' * A) * A' * R where A is the set of known reflectances for each component, R is the reflectances of a specific pixel and X is the proportion of each component. 
 
Definition at line 51 of file MixtureModelLinearStrategy.h.
 
      
        
          | te::rp::MixtureModelLinearStrategy::MixtureModelLinearStrategy  | 
          ( | 
           | ) | 
           | 
        
      
 
 
      
        
          | te::rp::MixtureModelLinearStrategy::~MixtureModelLinearStrategy  | 
          ( | 
           | ) | 
           | 
        
      
 
 
  
  
      
        
          | bool te::rp::MixtureModelLinearStrategy::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
 - 
  
    | 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. | 
  
   
- Returns
 - true if OK, false on errors. 
 
Implements te::rp::MixtureModelStrategy.
 
 
  
  
      
        
          | bool te::rp::MixtureModelLinearStrategy::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.
 
 
  
  
      
        
          | bool te::rp::MixtureModelLinearStrategy::getMinMax  | 
          ( | 
          std::vector< double > &  | 
          ,  | 
         
        
           | 
           | 
          std::vector< double > &  | 
            | 
         
        
           | 
          ) | 
           |  const | 
         
       
   | 
  
virtual   | 
  
 
 
  
  
      
        
          | bool te::rp::MixtureModelLinearStrategy::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.
 
 
  
  
      
        
          | bool te::rp::MixtureModelLinearStrategy::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.
 
 
  
  
      
        
          | bool te::rp::MixtureModelLinearStrategy::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.
 
 
  
  
      
        
          | bool te::rp::MixtureModelLinearStrategy::m_isInitialized | 
         
       
   | 
  
protected   | 
  
 
 
  
  
      
        
          | std::vector<double> te::rp::MixtureModelLinearStrategy::m_max | 
         
       
   | 
  
protected   | 
  
 
 
  
  
      
        
          | std::vector<double> te::rp::MixtureModelLinearStrategy::m_min | 
         
       
   | 
  
protected   | 
  
 
 
  
  
      
        
          | boost::numeric::ublas::matrix<double> te::rp::MixtureModelLinearStrategy::m_transfMatrix | 
         
       
   | 
  
protected   | 
  
 
 
  
  
      
        
          | boost::numeric::ublas::matrix<double> te::rp::MixtureModelLinearStrategy::m_transposeA | 
         
       
   | 
  
protected   | 
  
 
 
The documentation for this class was generated from the following file: