Better default grid size for ORB-based stitching

This commit is contained in:
Andrey Kamaev 2011-10-21 15:38:38 +00:00
parent 9f837d3486
commit 5656a9dd6b

View File

@ -92,7 +92,7 @@ private:
class CV_EXPORTS OrbFeaturesFinder : public FeaturesFinder class CV_EXPORTS OrbFeaturesFinder : public FeaturesFinder
{ {
public: 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: private:
void find(const Mat &image, ImageFeatures &features); void find(const Mat &image, ImageFeatures &features);