25 #ifndef __TERRALIB_RP_INTERNAL_GEOMETRICREFINING_H 
   26 #define __TERRALIB_RP_INTERNAL_GEOMETRICREFINING_H 
   31 #include "../raster/Raster.h" 
   32 #include "../raster/Interpolator.h" 
   33 #include "../geometry/GeometricTransformation.h" 
   34 #include "../geometry/Polygon.h" 
  119             void reset() throw( te::rp::Exception );
 
  125             AbstractParameters* clone() const;
 
  175                    m_searchAreaRowStart( 0 ), m_searchAreaColStart( 0 ), m_searchAreaWidth( 0 ),
 
  176                    m_searchAreaHeigh( 0 ), m_matchedPositionRowStart( 0 ),
 
  177                    m_matchedPositionColStart( 0 ), m_matchedPositionWidth( 0 ),
 
  178                    m_matchedPositionHeight( 0 ) {};
 
  203             void reset() throw( te::rp::Exception );
 
  209             AbstractParameters* clone() const;
 
  217         bool execute( AlgorithmOutputParameters& outputParams ) throw( te::rp::Exception );
 
  220         void reset() throw( te::rp::Exception );
 
  225         bool isInitialized() const;
 
  253           const std::vector< InternalMatchingInfo >& inTiePoints,
 
  254           std::vector< te::gm::GTParameters::TiePoint >& outTiePoints,
 
  255           std::vector< double >& outTiePointsWeights ) 
const;         
 
  266         double getTPConvexHullArea( 
 
  267           const std::vector< te::gm::GTParameters::TiePoint >& tiePoints,
 
  268           const bool useTPSecondCoordPair ) 
const;        
 
  279         bool getTPConvexHull( 
 
  280           const std::vector< te::gm::GTParameters::TiePoint >& tiePoints,
 
  281           const bool useTPSecondCoordPair,
 
  282           std::auto_ptr< te::gm::Surface >& convexHullPtr ) 
const;    
 
  297         bool getTransformation( 
const std::vector< InternalMatchingInfo >& inTiePoints,
 
  298           std::auto_ptr< te::gm::GeometricTransformation >& baseGeometricTransformPtr,
 
  299           std::vector< te::gm::GTParameters::TiePoint >& baseTransAgreementTiePoints,
 
  300           double& convexHullAreaPercent ) 
const;
 
unsigned int m_referenceRasterIndex
Reference raster index. 
 
Geometric (and positioning) correction/refining of a already geo-referenced raster using a set of sma...
 
unsigned int m_matchedPositionWidth
The reference image matched position width (over the input image). 
 
double m_inRasterCoveredAreaPercent
The area percent (from the input raster ) covered by tie-points - valid range [0,100]. 
 
Status
The matching result status. 
 
unsigned int m_searchAreaRowStart
The searched area (over the input image) first row. 
 
Raster Processing algorithm output parameters base interface. 
 
unsigned int m_matchedPositionColStart
The reference image matched position first column (over the input image). 
 
std::vector< te::gm::GTParameters::TiePoint > m_tiePoints
The tie-points generated by matching (first: input raster lines/cols, second:input raster corrected w...
 
std::string m_rType
Output raster data source type (as described in te::raster::RasterFactory ). 
 
std::auto_ptr< te::gm::GeometricTransformation > m_geomTransPtr
The geometric transformation (direct mapping raster lines/cols to input raster corrected world coords...
 
unsigned int m_searchAreaHeigh
The searched area height (over the input image). 
 
Raster Processing algorithm base interface. 
 
Reference rasters matching info. 
 
std::auto_ptr< te::rst::Raster > m_outputRasterPtr
A pointer the generated output raster. 
 
bool m_isInitialized
Tells if this instance is initialized. 
 
An abstract class for raster data strucutures. 
 
GeometricRefining::InputParameters m_inputParameters
Input execution parameters. 
 
Reference rasters matching info. 
 
#define TERPEXPORT
You can use this macro in order to export/import classes and functions from this module. 
 
std::vector< te::gm::GTParameters::TiePoint > m_tiePoints
The tie-points generated by matching (first: input rasters lines/cols, second:input raster world coor...
 
Status m_status
Matching result status. 
 
Raster Processing algorithm base interface class. 
 
Method
Allowed interpolation methods. 
 
std::map< std::string, std::string > m_rInfo
The necessary information to create the raster (as described in te::raster::RasterFactory). 
 
Feeder from a input rasters. 
 
unsigned int m_referenceRasterIndex
Reference raster index. 
 
unsigned int m_matchedPositionHeight
The reference image matched position height (over the input image). 
 
double m_convexHullAreaPercent
The tie points covered area percent [0,1]. 
 
TiePointsLocator locator. 
 
std::string convert(const path &v)
URI path to string. 
 
unsigned int m_searchAreaWidth
The searched area width (over the input image). 
 
unsigned int m_matchedPositionRowStart
The reference image matched position first row (over the input image). 
 
std::vector< MatchingResult > m_matchingResult
The matching result status for all given reference rasters. 
 
unsigned int m_searchAreaColStart
The searched area (over the input image) first column. 
 
std::vector< te::gm::GTParameters::TiePoint > m_tiePoints
The tie-points in agreenment with the geometric transformation given by m_geomTransPtr (first: input ...