OTB
9.0.0
Orfeo Toolbox
|
#include <otbKeyPointSetsMatchingFilter.h>
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef DistanceType::Pointer | DistancePointerType |
typedef TDistance | DistanceType |
typedef LandmarkListType::Pointer | LandmarkListPointerType |
typedef ObjectList< LandmarkType > | LandmarkListType |
typedef LandmarkType::Pointer | LandmarkPointerType |
typedef Landmark< typename TPointSet::PointType, typename TPointSet::PixelType, double > | LandmarkType |
typedef std::pair< unsigned int, double > | NeighborSearchResultType |
typedef PointSetType::PointDataContainer | PointDataContainerType |
typedef PointDataContainerType::ConstIterator | PointDataIteratorType |
typedef PointSetType::PixelType | PointDataType |
typedef itk::SmartPointer< Self > | Pointer |
typedef PointSetType::PointsContainer | PointsContainerType |
typedef PointSetType::Pointer | PointSetPointerType |
typedef TPointSet | PointSetType |
typedef PointsContainerType::ConstIterator | PointsIteratorType |
typedef PointSetType::PointType | PointType |
typedef KeyPointSetsMatchingFilter | Self |
typedef ObjectListSource< ObjectList< Landmark< typename TPointSet::PointType, typename TPointSet::PixelType, double > > > | Superclass |
Public Types inherited from otb::ObjectListSource< ObjectList< Landmark< TPointSet::PointType, TPointSet::PixelType, double > > > | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef itk::DataObject::Pointer | DataObjectPointer |
typedef itk::ProcessObject::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
typedef ObjectList< Landmark< TPointSet::PointType, TPointSet::PixelType, double > > ::Pointer | OutputListPointer |
typedef ObjectList< Landmark< TPointSet::PointType, TPointSet::PixelType, double > > | OutputListType |
typedef itk::SmartPointer< Self > | Pointer |
typedef ObjectListSource | Self |
typedef itk::ProcessObject | Superclass |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from otb::ObjectListSource< ObjectList< Landmark< TPointSet::PointType, TPointSet::PixelType, double > > > | |
static Pointer | New () |
Protected Member Functions | |
void | GenerateData () override |
KeyPointSetsMatchingFilter () | |
NeighborSearchResultType | NearestNeighbor (const PointDataType &data1, const PointSetType *pointset) |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
~KeyPointSetsMatchingFilter () override | |
Protected Member Functions inherited from otb::ObjectListSource< ObjectList< Landmark< TPointSet::PointType, TPointSet::PixelType, double > > > | |
ObjectListSource () | |
~ObjectListSource () override | |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
virtual void | AllocateOutputs () |
void | GenerateData (void) override |
Private Member Functions | |
KeyPointSetsMatchingFilter (const Self &)=delete | |
void | operator= (const Self &)=delete |
Private Attributes | |
DistancePointerType | m_DistanceCalculator |
double | m_DistanceThreshold |
bool | m_UseBackMatching |
This class matches two point sets according to their associated data.
The matching criteria is that the ratio between the distance to the first nearest neighbor and the second nearest neighbor is lower than the distance threshold. The distance used can be set via the TDistance template parameters. It has to implement the Evaluate() method (see EuclideanDistanceMetric for more details).
By default, the algorithm tries to match points from pointset 1 to points from pointset 2. If back matching is activated, it will also try to match points from pointset 2 to points from pointset 2, and discard matches that do not appear both in forward and backward matching.
Matches are stored in a landmark object containing both matched points and point data. The landmark data will hold the distance value between the data.
Definition at line 51 of file otbKeyPointSetsMatchingFilter.h.
typedef itk::SmartPointer<const Self> otb::KeyPointSetsMatchingFilter< TPointSet, TDistance >::ConstPointer |
Definition at line 59 of file otbKeyPointSetsMatchingFilter.h.
typedef DistanceType::Pointer otb::KeyPointSetsMatchingFilter< TPointSet, TDistance >::DistancePointerType |
Definition at line 71 of file otbKeyPointSetsMatchingFilter.h.
typedef TDistance otb::KeyPointSetsMatchingFilter< TPointSet, TDistance >::DistanceType |
Definition at line 70 of file otbKeyPointSetsMatchingFilter.h.
typedef LandmarkListType::Pointer otb::KeyPointSetsMatchingFilter< TPointSet, TDistance >::LandmarkListPointerType |
Definition at line 75 of file otbKeyPointSetsMatchingFilter.h.
typedef ObjectList<LandmarkType> otb::KeyPointSetsMatchingFilter< TPointSet, TDistance >::LandmarkListType |
Definition at line 74 of file otbKeyPointSetsMatchingFilter.h.
typedef LandmarkType::Pointer otb::KeyPointSetsMatchingFilter< TPointSet, TDistance >::LandmarkPointerType |
Definition at line 73 of file otbKeyPointSetsMatchingFilter.h.
typedef Landmark<typename TPointSet::PointType, typename TPointSet::PixelType, double> otb::KeyPointSetsMatchingFilter< TPointSet, TDistance >::LandmarkType |
Definition at line 72 of file otbKeyPointSetsMatchingFilter.h.
typedef std::pair<unsigned int, double> otb::KeyPointSetsMatchingFilter< TPointSet, TDistance >::NeighborSearchResultType |
Definition at line 76 of file otbKeyPointSetsMatchingFilter.h.
typedef PointSetType::PointDataContainer otb::KeyPointSetsMatchingFilter< TPointSet, TDistance >::PointDataContainerType |
Definition at line 68 of file otbKeyPointSetsMatchingFilter.h.
typedef PointDataContainerType::ConstIterator otb::KeyPointSetsMatchingFilter< TPointSet, TDistance >::PointDataIteratorType |
Definition at line 69 of file otbKeyPointSetsMatchingFilter.h.
typedef PointSetType::PixelType otb::KeyPointSetsMatchingFilter< TPointSet, TDistance >::PointDataType |
Definition at line 65 of file otbKeyPointSetsMatchingFilter.h.
typedef itk::SmartPointer<Self> otb::KeyPointSetsMatchingFilter< TPointSet, TDistance >::Pointer |
Definition at line 58 of file otbKeyPointSetsMatchingFilter.h.
typedef PointSetType::PointsContainer otb::KeyPointSetsMatchingFilter< TPointSet, TDistance >::PointsContainerType |
Definition at line 66 of file otbKeyPointSetsMatchingFilter.h.
typedef PointSetType::Pointer otb::KeyPointSetsMatchingFilter< TPointSet, TDistance >::PointSetPointerType |
Definition at line 63 of file otbKeyPointSetsMatchingFilter.h.
typedef TPointSet otb::KeyPointSetsMatchingFilter< TPointSet, TDistance >::PointSetType |
template typedefs
Definition at line 62 of file otbKeyPointSetsMatchingFilter.h.
typedef PointsContainerType::ConstIterator otb::KeyPointSetsMatchingFilter< TPointSet, TDistance >::PointsIteratorType |
Definition at line 67 of file otbKeyPointSetsMatchingFilter.h.
typedef PointSetType::PointType otb::KeyPointSetsMatchingFilter< TPointSet, TDistance >::PointType |
Definition at line 64 of file otbKeyPointSetsMatchingFilter.h.
typedef KeyPointSetsMatchingFilter otb::KeyPointSetsMatchingFilter< TPointSet, TDistance >::Self |
standard class typedefs
Definition at line 56 of file otbKeyPointSetsMatchingFilter.h.
typedef ObjectListSource<ObjectList<Landmark<typename TPointSet::PointType, typename TPointSet::PixelType, double> > > otb::KeyPointSetsMatchingFilter< TPointSet, TDistance >::Superclass |
Definition at line 57 of file otbKeyPointSetsMatchingFilter.h.
|
protected |
Constructor.
Definition at line 30 of file otbKeyPointSetsMatchingFilter.hxx.
|
inlineoverrideprotected |
Destructor.
Definition at line 102 of file otbKeyPointSetsMatchingFilter.h.
|
privatedelete |
virtual::itk::LightObject::Pointer otb::KeyPointSetsMatchingFilter< TPointSet, TDistance >::CreateAnother | ( | void | ) | const |
|
overrideprotected |
Generate Data.
Definition at line 64 of file otbKeyPointSetsMatchingFilter.hxx.
|
virtual |
const KeyPointSetsMatchingFilter< TPointSet, TDistance >::PointSetType * otb::KeyPointSetsMatchingFilter< TPointSet, TDistance >::GetInput1 |
Get the first pointset.
Definition at line 40 of file otbKeyPointSetsMatchingFilter.hxx.
const KeyPointSetsMatchingFilter< TPointSet, TDistance >::PointSetType * otb::KeyPointSetsMatchingFilter< TPointSet, TDistance >::GetInput2 |
Get the second pointset.
Definition at line 52 of file otbKeyPointSetsMatchingFilter.hxx.
|
virtual |
|
virtual |
|
protected |
Find the nearest neighbor of data1 in pointset.
Definition at line 146 of file otbKeyPointSetsMatchingFilter.hxx.
|
static |
standard macros
|
privatedelete |
|
overrideprotected |
PrintSelf method.
Definition at line 210 of file otbKeyPointSetsMatchingFilter.hxx.
|
virtual |
void otb::KeyPointSetsMatchingFilter< TPointSet, TDistance >::SetInput1 | ( | const PointSetType * | pointset | ) |
Set the first pointset.
Definition at line 46 of file otbKeyPointSetsMatchingFilter.hxx.
void otb::KeyPointSetsMatchingFilter< TPointSet, TDistance >::SetInput2 | ( | const PointSetType * | pointset | ) |
Set the second pointset.
Definition at line 58 of file otbKeyPointSetsMatchingFilter.hxx.
|
virtual |
|
virtual |
|
virtual |
Accessors.
|
private |
Definition at line 128 of file otbKeyPointSetsMatchingFilter.h.
|
private |
Definition at line 125 of file otbKeyPointSetsMatchingFilter.h.
|
private |
Definition at line 122 of file otbKeyPointSetsMatchingFilter.h.