Maximal Stable Extremal Regions class. More...
#include <features2d.hpp>
Inherits CvMSERParams.
Public Member Functions | |
CV_WRAP | MSER () |
the default constructor | |
CV_WRAP | MSER (int _delta, int _min_area, int _max_area, double _max_variation, double _min_diversity, int _max_evolution, double _area_threshold, double _min_margin, int _edge_blur_size) |
the full constructor | |
CV_WRAP_AS (detect) void operator()(const Mat &image | |
the operator that extracts the MSERs from the image or the specific part of it | |
Public Attributes | |
CV_OUT vector< vector< Point > > & | msers |
CV_OUT vector< vector< Point > > const Mat &mask | const |
int | delta |
delta, in the code, it compares (size_{i}-size_{i-delta})/size_{i-delta} | |
int | maxArea |
prune the area which bigger than maxArea | |
int | minArea |
prune the area which smaller than minArea | |
float | maxVariation |
prune the area have simliar size to its children | |
float | minDiversity |
trace back to cut off mser with diversity < min_diversity | |
int | maxEvolution |
for color image, the evolution steps | |
double | areaThreshold |
the area threshold to cause re-initialize | |
double | minMargin |
ignore too small margin | |
int | edgeBlurSize |
the aperture size for edge blur |
Maximal Stable Extremal Regions class.
The class implements MSER algorithm introduced by J. Matas. Unlike SIFT, SURF and many other detectors in OpenCV, this is salient region detector, not the salient point detector.
It returns the regions, each of those is encoded as a contour.
CV_WRAP cv::MSER::MSER | ( | ) |
the default constructor
CV_WRAP cv::MSER::MSER | ( | int | _delta, | |
int | _min_area, | |||
int | _max_area, | |||
double | _max_variation, | |||
double | _min_diversity, | |||
int | _max_evolution, | |||
double | _area_threshold, | |||
double | _min_margin, | |||
int | _edge_blur_size | |||
) |
the full constructor
cv::MSER::CV_WRAP_AS | ( | detect | ) | const |
the operator that extracts the MSERs from the image or the specific part of it
CV_OUT vector<vector<Point> >& cv::MSER::msers |
CV_OUT vector<vector<Point> > const Mat& mask cv::MSER::const |
int CvMSERParams::delta [inherited] |
delta, in the code, it compares (size_{i}-size_{i-delta})/size_{i-delta}
int CvMSERParams::maxArea [inherited] |
prune the area which bigger than maxArea
int CvMSERParams::minArea [inherited] |
prune the area which smaller than minArea
float CvMSERParams::maxVariation [inherited] |
prune the area have simliar size to its children
float CvMSERParams::minDiversity [inherited] |
trace back to cut off mser with diversity < min_diversity
int CvMSERParams::maxEvolution [inherited] |
for color image, the evolution steps
double CvMSERParams::areaThreshold [inherited] |
the area threshold to cause re-initialize
double CvMSERParams::minMargin [inherited] |
ignore too small margin
int CvMSERParams::edgeBlurSize [inherited] |
the aperture size for edge blur