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;
};
_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 )