]> rtime.felk.cvut.cz Git - opencv.git/commitdiff
added const in MSER::operator()
authormdim <mdim@73c94f0f-984f-4a5f-82bc-2d8db8d8ee08>
Mon, 5 Apr 2010 12:38:36 +0000 (12:38 +0000)
committermdim <mdim@73c94f0f-984f-4a5f-82bc-2d8db8d8ee08>
Mon, 5 Apr 2010 12:38:36 +0000 (12:38 +0000)
git-svn-id: https://code.ros.org/svn/opencv/trunk@2986 73c94f0f-984f-4a5f-82bc-2d8db8d8ee08

opencv/include/opencv/cv.hpp
opencv/src/cv/cvmser.cpp

index 69699a201f25091dd1067f224e4e5ba7ffdb80a4..d2826fce40e42b3cc6ae752966646613c4becad1 100644 (file)
@@ -1002,7 +1002,7 @@ public:
           float _max_variation, float _min_diversity,
           int _max_evolution, double _area_threshold,
           double _min_margin, int _edge_blur_size );
-    void operator()(Mat& image, vector<vector<Point> >& msers, const Mat& mask) const;
+    void operator()( const Mat& image, vector<vector<Point> >& msers, const Mat& mask ) const;
 };
 
 
index b16521cd6510af43b0d490f7e61d91a947943a80..11a2346204eddb043174ffc7badd9fd9fb4cb86b 100644 (file)
@@ -1278,7 +1278,7 @@ MSER::MSER( int _delta, int _min_area, int _max_area,
         _min_diversity, _max_evolution, _area_threshold, _min_margin, _edge_blur_size);
 }
 
-void MSER::operator()(Mat& image, vector<vector<Point> >& dstcontours, const Mat& mask) const
+void MSER::operator()( const Mat& image, vector<vector<Point> >& dstcontours, const Mat& mask ) const
 {
     CvMat _image = image, _mask, *pmask = 0;
     if( mask.data )