43 #ifndef __OPENCV_STITCHING_MATCHERS_HPP__
44 #define __OPENCV_STITCHING_MATCHERS_HPP__
52 #if defined(HAVE_OPENCV_NONFREE)
85 int num_octaves_descr = 3,
int num_layers_descr = 4);
108 #if defined(HAVE_OPENCV_NONFREE)
113 int num_octaves_descr = 4,
int num_layers_descr = 2);
115 void collectGarbage();
125 int num_octaves_, num_layers_;
126 int num_octaves_descr_, num_layers_descr_;
134 MatchesInfo(
const MatchesInfo &other);
135 const MatchesInfo& operator =(
const MatchesInfo &other);
152 MatchesInfo& matches_info) { match(features1, features2, matches_info); }
154 void operator ()(
const std::vector<ImageFeatures> &features, std::vector<MatchesInfo> &pairwise_matches,
175 int num_matches_thresh2 = 6);
177 void collectGarbage();
190 #endif // __OPENCV_STITCHING_MATCHERS_HPP__
bool isThreadSafe() const
Definition: matchers.hpp:157
Mat H
Definition: matchers.hpp:141
Definition: matchers.hpp:171
Size2i Size
Definition: core.hpp:896
virtual void collectGarbage()
Definition: matchers.hpp:159
Size img_size
Definition: matchers.hpp:62
Ptr< FeaturesMatcher > impl_
Definition: matchers.hpp:184
int num_inliers
Definition: matchers.hpp:140
Definition: matchers.hpp:59
int src_img_idx
Definition: matchers.hpp:137
FeaturesMatcher(bool is_thread_safe=false)
Definition: matchers.hpp:162
GLenum GLsizei GLenum GLenum const GLvoid * image
Definition: highgui_c.h:230
Mat descriptors
Definition: matchers.hpp:64
virtual ~FeaturesMatcher()
Definition: matchers.hpp:149
The 2D size class.
Definition: core.hpp:81
std::vector< KeyPoint > keypoints
Definition: matchers.hpp:63
Definition: matchers.hpp:131
Definition: matchers.hpp:146
std::vector< DMatch > matches
Definition: matchers.hpp:138
Definition: matchers.hpp:81
virtual void collectGarbage()
Definition: matchers.hpp:74
Smart pointer for GPU memory with reference counting. Its interface is mostly similar with cv::Mat...
Definition: gpumat.hpp:154
virtual ~FeaturesFinder()
Definition: matchers.hpp:71
The n-dimensional matrix class.
Definition: core.hpp:1688
Definition: matchers.hpp:95
double confidence
Definition: matchers.hpp:142
int num_matches_thresh1_
Definition: matchers.hpp:182
int img_idx
Definition: matchers.hpp:61
std::vector< uchar > inliers_mask
Definition: matchers.hpp:139
Smart pointer to dynamically allocated objects.
Definition: core.hpp:1268
bool is_thread_safe_
Definition: matchers.hpp:167
GLenum GLint GLuint mask
Definition: tracking.hpp:132
Definition: matchers.hpp:109
Definition: matchers.hpp:68
int num_matches_thresh2_
Definition: matchers.hpp:183