From e703e8f5a6abf30dbdf85ab356f1225f982533ab Mon Sep 17 00:00:00 2001
From: Alexander Mordvintsev <no@email>
Date: Tue, 22 May 2012 15:53:39 +0000
Subject: [PATCH] exposed MSER to python again

---
 modules/features2d/include/opencv2/features2d/features2d.hpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/features2d/include/opencv2/features2d/features2d.hpp b/modules/features2d/include/opencv2/features2d/features2d.hpp
index 941c88f23..0e018102a 100644
--- a/modules/features2d/include/opencv2/features2d/features2d.hpp
+++ b/modules/features2d/include/opencv2/features2d/features2d.hpp
@@ -324,13 +324,13 @@ class CV_EXPORTS_W MSER : public FeatureDetector
 {
 public:
     //! the full constructor
-    explicit MSER( int _delta=5, int _min_area=60, int _max_area=14400,
+    CV_WRAP explicit MSER( int _delta=5, int _min_area=60, int _max_area=14400,
           double _max_variation=0.25, double _min_diversity=.2,
           int _max_evolution=200, double _area_threshold=1.01,
           double _min_margin=0.003, int _edge_blur_size=5 );
     
     //! the operator that extracts the MSERs from the image or the specific part of it
-    CV_WRAP_AS(detect) void operator()( const Mat& image, vector<vector<Point> >& msers,
+    CV_WRAP_AS(detect) void operator()( const Mat& image, CV_OUT vector<vector<Point> >& msers,
                                         const Mat& mask=Mat() ) const; 
     AlgorithmInfo* info() const;