Tie points locator. More...
#include <TiePointsLocator.h>
Classes | |
class | OutputParameters |
TiePointsLocator output parameters. More... | |
Public Types | |
typedef TiePointsLocatorInputParameters | InputParameters |
Public Member Functions | |
bool | execute (AlgorithmOutputParameters &outputParams) throw ( te::rp::Exception ) |
Executes the algorithm using the supplied parameters. More... | |
bool | initialize (const AlgorithmInputParameters &inputParams) throw ( te::rp::Exception ) |
Initialize the algorithm instance making it ready for execution. More... | |
bool | isInitialized () const |
Returns true if the algorithm instance is initialized and ready for execution. More... | |
void | reset () throw ( te::rp::Exception ) |
Clear all internal allocated objects and reset the algorithm to its initial state. More... | |
TiePointsLocator () | |
~TiePointsLocator () | |
Protected Member Functions | |
void | convertMatchedInterestPoints2TiePoints (const te::rp::TiePointsLocatorStrategy::MatchedInterestPointsSetT &matchedInterestPoints, std::vector< te::gm::GTParameters::TiePoint > &tiePoints, std::vector< double > &tiePointsWeights) |
Convert matched interest points to tie-points. More... | |
Protected Attributes | |
TiePointsLocator::InputParameters | m_inputParameters |
TiePointsLocator input execution parameters. More... | |
bool | m_isInitialized |
Tells if this instance is initialized. More... | |
Tie points locator.
Designed to find tie-points inside raster areas.
Definition at line 47 of file TiePointsLocator.h.
Definition at line 55 of file TiePointsLocator.h.
te::rp::TiePointsLocator::TiePointsLocator | ( | ) |
Definition at line 79 of file TiePointsLocator.cpp.
References reset().
te::rp::TiePointsLocator::~TiePointsLocator | ( | ) |
Definition at line 84 of file TiePointsLocator.cpp.
|
protected |
Convert matched interest points to tie-points.
matchedInterestPoints | The matched interest points. |
tiePoints | The generated tie-points. |
tiePointsWeights | The generated tie-points weights. |
Definition at line 637 of file TiePointsLocator.cpp.
Referenced by execute().
|
virtual |
Executes the algorithm using the supplied parameters.
outputParams | Output parameters. |
Implements te::rp::Algorithm.
Definition at line 88 of file TiePointsLocator.cpp.
References te::gm::GTFilter::applyRansac(), convertMatchedInterestPoints2TiePoints(), te::rp::GetTPConvexHullArea(), te::rp::TiePointsLocatorInputParameters::m_enableGeometryFilter, te::rp::TiePointsLocatorInputParameters::m_enableMultiThread, te::rp::TiePointsLocatorInputParameters::m_geometryFilterAssurance, te::rp::TiePointsLocatorInputParameters::m_geomTransfMaxError, te::rp::TiePointsLocatorInputParameters::m_geomTransfName, m_inputParameters, te::rp::TiePointsLocatorInputParameters::m_interesPointsLocationStrategy, m_isInitialized, te::rp::TiePointsLocatorInputParameters::m_maxTiePoints, te::rp::TiePointsLocatorInputParameters::m_moravecCorrelationWindowWidth, te::rp::TiePointsLocatorInputParameters::m_moravecWindowWidth, te::rp::TiePointsLocatorInputParameters::m_raster1TargetAreaHeight, te::rp::TiePointsLocatorInputParameters::m_raster1TargetAreaWidth, te::rp::TiePointsLocatorInputParameters::m_raster2TargetAreaHeight, te::rp::TiePointsLocatorInputParameters::m_raster2TargetAreaWidth, te::rp::TiePointsLocatorInputParameters::m_subSampleOptimizationMinTPAreaCoverage, te::rp::TiePointsLocatorInputParameters::m_subSampleOptimizationMinTPNumberFactor, te::rp::TiePointsLocatorInputParameters::m_subSampleOptimizationRescaleFactor, te::rp::TiePointsLocatorInputParameters::m_surfOctavesNumber, te::rp::TiePointsLocatorInputParameters::m_surfScalesNumber, te::rp::TiePointsLocator::OutputParameters::m_tiePoints, te::gm::GTParameters::m_tiePoints, te::rp::TiePointsLocator::OutputParameters::m_tiePointsWeights, te::rp::TiePointsLocator::OutputParameters::m_transformationPtr, te::common::AbstractFactory< GeometricTransformation, std::string >::make(), te::rp::TiePointsLocatorInputParameters::MoravecStrategyT, te::rp::TiePointsLocatorInputParameters::SurfStrategyT, TERP_DEBUG_TRUE_OR_THROW, TERP_LOG_AND_THROW, TERP_TRUE_OR_RETURN_FALSE, and TERP_TRUE_OR_THROW.
Referenced by te::rp::SequenceMosaic::execute(), te::qt::widgets::TiePointsLocatorDialog::on_autoAcquireTiePointsPushButton_clicked(), and te::qt::widgets::TiePointLocatorWidget::onAutoAcquireTiePointsToolButtonClicked().
|
virtual |
Initialize the algorithm instance making it ready for execution.
inputParams | Input parameters. |
Implements te::rp::Algorithm.
Definition at line 409 of file TiePointsLocator.cpp.
References te::common::AbstractFactory< GeometricTransformation, std::string >::find(), te::rst::Raster::getAccessPolicy(), te::rst::Raster::getNumberOfBands(), te::rst::Raster::getNumberOfColumns(), te::rst::Raster::getNumberOfRows(), te::rp::TiePointsLocatorInputParameters::m_geometryFilterAssurance, te::rp::TiePointsLocatorInputParameters::m_geomTransfMaxError, te::rp::TiePointsLocatorInputParameters::m_geomTransfName, te::rp::TiePointsLocatorInputParameters::m_inMaskRaster1Ptr, te::rp::TiePointsLocatorInputParameters::m_inMaskRaster2Ptr, m_inputParameters, te::rp::TiePointsLocatorInputParameters::m_inRaster1Bands, te::rp::TiePointsLocatorInputParameters::m_inRaster1Ptr, te::rp::TiePointsLocatorInputParameters::m_inRaster2Bands, te::rp::TiePointsLocatorInputParameters::m_inRaster2Ptr, te::rp::TiePointsLocatorInputParameters::m_interesPointsLocationStrategy, m_isInitialized, te::rp::TiePointsLocatorInputParameters::m_pixelSizeXRelation, te::rp::TiePointsLocatorInputParameters::m_pixelSizeYRelation, te::rp::TiePointsLocatorInputParameters::m_raster1TargetAreaColStart, te::rp::TiePointsLocatorInputParameters::m_raster1TargetAreaHeight, te::rp::TiePointsLocatorInputParameters::m_raster1TargetAreaLineStart, te::rp::TiePointsLocatorInputParameters::m_raster1TargetAreaWidth, te::rp::TiePointsLocatorInputParameters::m_raster2TargetAreaColStart, te::rp::TiePointsLocatorInputParameters::m_raster2TargetAreaHeight, te::rp::TiePointsLocatorInputParameters::m_raster2TargetAreaLineStart, te::rp::TiePointsLocatorInputParameters::m_raster2TargetAreaWidth, te::rp::TiePointsLocatorInputParameters::m_subSampleOptimizationMinTPAreaCoverage, te::rp::TiePointsLocatorInputParameters::m_subSampleOptimizationMinTPNumberFactor, te::rp::TiePointsLocatorInputParameters::m_subSampleOptimizationRescaleFactor, te::rp::TiePointsLocatorInputParameters::m_tiePointsSubSectorsSplitFactor, te::rp::TiePointsLocatorInputParameters::MoravecStrategyT, te::common::RAccess, reset(), te::rp::TiePointsLocatorInputParameters::SurfStrategyT, TERP_LOG_AND_RETURN_FALSE, and TERP_TRUE_OR_RETURN_FALSE.
Referenced by te::rp::SequenceMosaic::execute(), te::qt::widgets::TiePointsLocatorDialog::on_autoAcquireTiePointsPushButton_clicked(), and te::qt::widgets::TiePointLocatorWidget::onAutoAcquireTiePointsToolButtonClicked().
|
virtual |
Returns true if the algorithm instance is initialized and ready for execution.
Implements te::rp::Algorithm.
Definition at line 632 of file TiePointsLocator.cpp.
References m_isInitialized.
|
virtual |
Clear all internal allocated objects and reset the algorithm to its initial state.
Implements te::rp::Algorithm.
Definition at line 403 of file TiePointsLocator.cpp.
References m_inputParameters, m_isInitialized, and te::rp::TiePointsLocatorInputParameters::reset().
Referenced by initialize(), te::rp::TiePointsLocator::OutputParameters::operator=(), te::rp::TiePointsLocator::OutputParameters::OutputParameters(), TiePointsLocator(), and te::rp::TiePointsLocator::OutputParameters::~OutputParameters().
|
protected |
TiePointsLocator input execution parameters.
Definition at line 104 of file TiePointsLocator.h.
Referenced by execute(), initialize(), and reset().
|
protected |
Tells if this instance is initialized.
Definition at line 106 of file TiePointsLocator.h.
Referenced by execute(), initialize(), isInitialized(), and reset().