From 5656a9dd6b9011656f60ea3cb6e01f709865b9f5 Mon Sep 17 00:00:00 2001
From: Andrey Kamaev <no@email>
Date: Fri, 21 Oct 2011 15:38:38 +0000
Subject: [PATCH] Better default grid size for ORB-based stitching

---
 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 674b4a519..5e18e6ca3 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(4,4), 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.3, 5));
 
 private:
     void find(const Mat &image, ImageFeatures &features);