Tie-points locator strategy.  
 More...
#include <TiePointsLocatorStrategy.h>
 | 
| static bool  | checkForDuplicatedInterestPoints (const InterestPointsSetT &interestPoints, double &x, double &y) | 
|   | Check for duplicated interest points.  More...
  | 
|   | 
| static void  | createTifFromMatrix (const FloatsMatrix &rasterData, const InterestPointsSetT &interestPoints, const std::string &tifFileName) | 
|   | Moravec interest points locator.  More...
  | 
|   | 
| static void  | features2Tiff (const DoublesMatrix &features, const InterestPointsSetT &interestPoints, const std::string &fileNameBeginning) | 
|   | Save the generated features to tif files.  More...
  | 
|   | 
| static bool  | loadRasterData (te::rst::Raster const *rasterPtr, const std::vector< unsigned int > &rasterBands, te::rst::Raster const *maskRasterPtr, const unsigned int maskRasterBand, const unsigned int rasterTargetAreaLineStart, const unsigned int rasterTargetAreaColStart, const unsigned int rasterTargetAreaWidth, const unsigned int rasterTargetAreaHeight, const double desiredRescaleFactorX, const double desiredRescaleFactorY, const te::rst::Interpolator::Method rasterInterpMethod, const unsigned char maxMemPercentUsage, std::vector< boost::shared_ptr< FloatsMatrix > > &loadedRasterData, UCharsMatrix &loadedMaskRasterData, double &achievedRescaleFactorX, double &achievedRescaleFactorY) | 
|   | Load rasters data (normalized between 0 and 1).  More...
  | 
|   | 
| template<typename BufferElementT >  | 
| static void  | roolUpBuffer (BufferElementT **bufferPtr, const unsigned int &bufferLinesNumber) | 
|   | RoolUp a buffer of lines.  More...
  | 
|   | 
Tie-points locator strategy. 
Definition at line 52 of file TiePointsLocatorStrategy.h.
 
  
  
      
        
          | virtual te::rp::TiePointsLocatorStrategy::~TiePointsLocatorStrategy  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
  
  
      
        
          | te::rp::TiePointsLocatorStrategy::TiePointsLocatorStrategy  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
  
  
      
        
          | static bool te::rp::TiePointsLocatorStrategy::checkForDuplicatedInterestPoints  | 
          ( | 
          const InterestPointsSetT &  | 
          interestPoints,  | 
         
        
           | 
           | 
          double &  | 
          x,  | 
         
        
           | 
           | 
          double &  | 
          y  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
staticprotected   | 
  
 
Check for duplicated interest points. 
- Parameters
 - 
  
    | x | The duplicated tie-points X coord.  | 
    | y | The duplicated tie-points Y coord.  | 
  
   
- Returns
 - false if duplicated interest points were found. 
 
 
 
  
  
      
        
          | static void te::rp::TiePointsLocatorStrategy::createTifFromMatrix  | 
          ( | 
          const FloatsMatrix &  | 
          rasterData,  | 
         
        
           | 
           | 
          const InterestPointsSetT &  | 
          interestPoints,  | 
         
        
           | 
           | 
          const std::string &  | 
          tifFileName  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
staticprotected   | 
  
 
Moravec interest points locator. 
- Parameters
 - 
  
    | rasterData | The loaded raster data. | 
    | interestPoints | The found raster 1 interest points (coords related to rasterData lines/cols). | 
    | tifFileName | Tif file name.  | 
  
   
 
 
  
  
      
        
          | static void te::rp::TiePointsLocatorStrategy::features2Tiff  | 
          ( | 
          const DoublesMatrix &  | 
          features,  | 
         
        
           | 
           | 
          const InterestPointsSetT &  | 
          interestPoints,  | 
         
        
           | 
           | 
          const std::string &  | 
          fileNameBeginning  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
staticprotected   | 
  
 
Save the generated features to tif files. 
- Parameters
 - 
  
    | features | The features to be saved. | 
    | validInteresPoints | The interest pionts related to each feature inside the features matrix. | 
    | fileNameStart | The output file name beginning.  | 
  
   
 
 
  
  
      
        
          | virtual unsigned int te::rp::TiePointsLocatorStrategy::getAutoMaxTiePointsNumber  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
protectedpure virtual   | 
  
 
 
Returns a sub-sampled version of the given locator strategy specific input parameters. 
- Parameters
 - 
  
    | subSampleOptimizationRescaleFactor | Sub-sampled optimization tie-points search rescale factor.  | 
    | inputSpecParams | Input parameters (sub-sample factor 1).  | 
    | subSampledSpecParams | Sub-sampled parameters.  | 
  
   
Implemented in te::rp::TiePointsLocatorMoravecStrategy, and te::rp::TiePointsLocatorSURFStrategy.
 
 
Try to find matched interest points. 
- Parameters
 - 
  
    | matchedInterestPoints | The matched interest points.  | 
    | raster1ToRaster2TransfPtr | A pointer to a transformation (estimation) direct mapping raster 1 indexed coords into raster 2 indexed coords, of an empty pointer if there is no transformation avaliable.  | 
    | raster1ToRaster2TransfDMapError | The expected transformation error.  | 
  
   
- Returns
 - true if OK, false on errors. 
 
Implemented in te::rp::TiePointsLocatorMoravecStrategy, and te::rp::TiePointsLocatorSURFStrategy.
 
 
Returns a sub-sampled version of the given locator strategy specific input parameters. 
- Parameters
 - 
  
    | subSampleOptimizationRescaleFactor | Sub-sampled optimization tie-points search rescale factor.  | 
    | inputSpecParams | Input parameters (sub-sample factor 1).  | 
    | subSampledSpecParamsPtr | Sub-sampled parameters.  | 
  
   
Implemented in te::rp::TiePointsLocatorMoravecStrategy, and te::rp::TiePointsLocatorSURFStrategy.
 
 
  
  
      
        
          | static bool te::rp::TiePointsLocatorStrategy::loadRasterData  | 
          ( | 
          te::rst::Raster const *  | 
          rasterPtr,  | 
         
        
           | 
           | 
          const std::vector< unsigned int > &  | 
          rasterBands,  | 
         
        
           | 
           | 
          te::rst::Raster const *  | 
          maskRasterPtr,  | 
         
        
           | 
           | 
          const unsigned int  | 
          maskRasterBand,  | 
         
        
           | 
           | 
          const unsigned int  | 
          rasterTargetAreaLineStart,  | 
         
        
           | 
           | 
          const unsigned int  | 
          rasterTargetAreaColStart,  | 
         
        
           | 
           | 
          const unsigned int  | 
          rasterTargetAreaWidth,  | 
         
        
           | 
           | 
          const unsigned int  | 
          rasterTargetAreaHeight,  | 
         
        
           | 
           | 
          const double  | 
          desiredRescaleFactorX,  | 
         
        
           | 
           | 
          const double  | 
          desiredRescaleFactorY,  | 
         
        
           | 
           | 
          const te::rst::Interpolator::Method  | 
          rasterInterpMethod,  | 
         
        
           | 
           | 
          const unsigned char  | 
          maxMemPercentUsage,  | 
         
        
           | 
           | 
          std::vector< boost::shared_ptr< FloatsMatrix > > &  | 
          loadedRasterData,  | 
         
        
           | 
           | 
          UCharsMatrix &  | 
          loadedMaskRasterData,  | 
         
        
           | 
           | 
          double &  | 
          achievedRescaleFactorX,  | 
         
        
           | 
           | 
          double &  | 
          achievedRescaleFactorY  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
staticprotected   | 
  
 
Load rasters data (normalized between 0 and 1). 
- Parameters
 - 
  
    | rasterPtr | Input raster pointer. | 
    | rasterBands | Input raster bands. | 
    | maskRasterPtr | The related input mask raster pointer (or zero, if no mask raster is avaliable). | 
    | maskRasterBand | The input mask raster band to use. | 
    | rasterTargetAreaLineStart | The raster target area initial line. | 
    | rasterTargetAreaColStart | The raster target area initial column. | 
    | rasterTargetAreaWidth | The raster target area width. | 
    | rasterTargetAreaHeight | The raster target area height. | 
    | desiredRescaleFactorX | The desired Scale factor to be applied on the loaded data. | 
    | desiredRescaleFactorY | The desired Scale factor to be applied on the loaded data. | 
    | rasterInterpMethod | The interpolation used when loading the input raster. | 
    | maxMemPercentUsage | The maximum amount (percent) of memory to use for the loaded data [0,100]. | 
    | loadedRasterData | The loaded raster data. | 
    | loadedMaskRasterData | The loaded mask raster data. | 
    | desiredRescaleFactorX | The real achieved Scale factor. | 
    | desiredRescaleFactorY | The real achieved Scale factor. | 
  
   
- Returns
 - true if ok, false on errors. 
 
 
 
  
  
      
        
          | virtual void te::rp::TiePointsLocatorStrategy::reset  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protectedpure virtual   | 
  
 
 
template<typename BufferElementT > 
  
  
      
        
          | static void te::rp::TiePointsLocatorStrategy::roolUpBuffer  | 
          ( | 
          BufferElementT **  | 
          bufferPtr,  | 
         
        
           | 
           | 
          const unsigned int &  | 
          bufferLinesNumber  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inlinestaticprotected   | 
  
 
RoolUp a buffer of lines. 
- Parameters
 - 
  
    | bufferPtr | Buffer pointer. | 
    | bufferLinesNumber | Buffer lines number.  | 
  
   
Definition at line 290 of file TiePointsLocatorStrategy.h.
 
 
The documentation for this class was generated from the following file: