class CV_EXPORTS BestOf2NearestMatcher : public FeaturesMatcher\r
{\r
public:\r
- BestOf2NearestMatcher(bool try_use_gpu = false, float match_conf = 0.65f, int num_matches_thresh1 = 6,\r
+ BestOf2NearestMatcher(bool try_use_gpu = false, float match_conf = 0.3f, int num_matches_thresh1 = 6,\r
int num_matches_thresh2 = 6);\r
\r
void collectGarbage();\r
}\r
else\r
{\r
- vector<float> descriptors;\r
+ Mat descriptors;\r
(*surf)(gray_image, Mat(), features.keypoints, descriptors);\r
- features.descriptors = Mat(descriptors, true).reshape(1, (int)features.keypoints.size());\r
+ features.descriptors = descriptors.reshape(1, (int)features.keypoints.size());\r
}\r
}\r
\r
std::string save_graph_to;
string warp_type = "spherical";
int expos_comp_type = ExposureCompensator::GAIN_BLOCKS;
-float match_conf = 0.65f;
+float match_conf = 0.3f;
string seam_find_type = "gc_color";
int blend_type = Blender::MULTI_BAND;
float blend_strength = 5;