From 0b192cb4ea5b928eee6290e76191a4d68f8e3f82 Mon Sep 17 00:00:00 2001 From: Alexey Spizhevoy Date: Thu, 27 Oct 2011 09:00:28 +0000 Subject: [PATCH] Fixed warning in the ORB features finder --- modules/stitching/include/opencv2/stitching/detail/matchers.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/stitching/include/opencv2/stitching/detail/matchers.hpp b/modules/stitching/include/opencv2/stitching/detail/matchers.hpp index 5e18e6c..7e75916 100644 --- a/modules/stitching/include/opencv2/stitching/detail/matchers.hpp +++ b/modules/stitching/include/opencv2/stitching/detail/matchers.hpp @@ -92,7 +92,7 @@ private: class CV_EXPORTS OrbFeaturesFinder : public FeaturesFinder { public: - OrbFeaturesFinder(Size _grid_size = Size(3,1), size_t n_features = 1500, const ORB::CommonParams & detector_params = ORB::CommonParams(1.3, 5)); + OrbFeaturesFinder(Size _grid_size = Size(3,1), size_t n_features = 1500, const ORB::CommonParams & detector_params = ORB::CommonParams(1.3f, 5)); private: void find(const Mat &image, ImageFeatures &features); -- 2.7.4