OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimDescriptorSource.h
Go to the documentation of this file.
1 //**************************************************************************************************
2 //
3 // OSSIM Open Source Geospatial Data Processing Library
4 // See top level LICENSE.txt file for license information
5 //
6 //**************************************************************************************************
7 #ifndef ossimDescriptorSource_HEADER
8 #define ossimDescriptorSource_HEADER
9 
10 #include "AutoTiePoint.h"
11 #include "AtpConfig.h"
12 #include "AtpTileSource.h"
13 #include <ossim/base/ossimIrect.h>
14 #include <ossim/base/ossimRefPtr.h>
15 #include <memory>
16 #include <opencv2/opencv.hpp>
17 
18 namespace ATP
19 {
24 {
25 public:
27 
28  virtual ~ossimDescriptorSource();
29 
30  virtual void initialize();
31 
32  virtual ossimRefPtr<ossimImageData> getTile(const ossimIrect& origin, ossim_uint32 rLevel=0);
33 
34 private:
35  struct SortFunc
36  {
37  bool operator()(cv::KeyPoint lhs, cv::KeyPoint rhs)
38  { return (lhs.response > rhs.response); };
39  } sortFunc;
40 
43 
44  unsigned int m_cmpPatchInflation;
45 };
46 }
47 #endif /* #ifndef ossimDescriptorSource_HEADER */
bool operator()(cv::KeyPoint lhs, cv::KeyPoint rhs)
#define OSSIMDLLEXPORT
Finds auto-tie-points using the descriptor-based matching algorithm.
Base class for tile sources performing auto tie point extraction.
Definition: AtpTileSource.h:26
std::vector< ossimRefPtr< ossimConnectableObject > > ConnectableObjectList
Base class for OSSIM-based ATP generators.
Definition: AtpGenerator.h:33
unsigned int ossim_uint32
THESE FUNCTIONS REQUIRE OPENCV.