Raster mixture model strategy base class.  
 More...
#include <MixtureModelStrategy.h>
 | 
| 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  | generateTransformMatrix (const std::vector< unsigned int > &inputRasterBands, const std::vector< std::string > &inputSensorBands, const std::map< std::string, std::vector< double > > &components)=0 | 
|   | Generates the used transformation matrix (when applicable).  More...
  | 
|   | 
| virtual bool  | getMinMax (std::vector< double > &, std::vector< double > &) const  =0 | 
|   | 
| virtual bool  | getTransformMatrix (boost::numeric::ublas::matrix< double > &matrix) const  =0 | 
|   | Returns the used transformation matrix (when applicable).  More...
  | 
|   | 
| virtual bool  | initialize (StrategyParameters const *const strategyParams)=0  throw (te::rp::Exception) | 
|   | Initialize the segmentation strategy.  More...
  | 
|   | 
| virtual bool  | setTransformMatrix (boost::numeric::ublas::matrix< double > &matrix)=0 | 
|   | Sets the used transformation matrix.  More...
  | 
|   | 
| virtual  | ~MixtureModelStrategy () | 
|   | Virtual destructor.  More...
  | 
|   | 
Raster mixture model strategy base class. 
Definition at line 49 of file MixtureModelStrategy.h.
 
  
  
      
        
          | virtual te::rp::MixtureModelStrategy::~MixtureModelStrategy  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
  
  
      
        
          | te::rp::MixtureModelStrategy::MixtureModelStrategy  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
Copy constructor. 
- Parameters
 - 
  
    | rhs | The right-hand side Raster.  | 
  
   
 
 
  
  
      
        
          | 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
 - 
  
    | 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. 
 
Implemented in te::rp::MixtureModelLinearStrategy, and te::rp::MixtureModelPCAStrategy.
 
 
  
  
      
        
          | virtual bool te::rp::MixtureModelStrategy::generateTransformMatrix  | 
          ( | 
          const std::vector< unsigned int > &  | 
          inputRasterBands,  | 
         
        
           | 
           | 
          const std::vector< std::string > &  | 
          inputSensorBands,  | 
         
        
           | 
           | 
          const std::map< std::string, std::vector< double > > &  | 
          components  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
pure 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. 
 
Implemented in te::rp::MixtureModelLinearStrategy, and te::rp::MixtureModelPCAStrategy.
 
 
  
  
      
        
          | virtual bool te::rp::MixtureModelStrategy::getMinMax  | 
          ( | 
          std::vector< double > &  | 
          ,  | 
         
        
           | 
           | 
          std::vector< double > &  | 
            | 
         
        
           | 
          ) | 
           |  const | 
         
       
   | 
  
pure virtual   | 
  
 
 
  
  
      
        
          | virtual bool te::rp::MixtureModelStrategy::getTransformMatrix  | 
          ( | 
          boost::numeric::ublas::matrix< double > &  | 
          matrix | ) | 
           const | 
         
       
   | 
  
pure virtual   | 
  
 
 
  
  
      
        
          | virtual bool te::rp::MixtureModelStrategy::initialize  | 
          ( | 
          StrategyParameters const *const  | 
          strategyParams | ) | 
           | 
         
        
          | throw  | ( | te::rp::Exception | 
         
        
           | ) |  |  | 
         
       
   | 
  
pure virtual   | 
  
 
 
Assignment operator. 
- Parameters
 - 
  
    | rhs | The right-hand-side copy that would be used to copy from. | 
  
   
- Returns
 - A reference to this object. 
 
 
 
  
  
      
        
          | virtual bool te::rp::MixtureModelStrategy::setTransformMatrix  | 
          ( | 
          boost::numeric::ublas::matrix< double > &  | 
          matrix | ) | 
           | 
         
       
   | 
  
pure virtual   | 
  
 
 
The documentation for this class was generated from the following file: