opencv
2.2.0
|
#include <features2d.hpp>
Public Member Functions | |
CV_WRAP_AS (detect) void operator()(const Mat &image | |
the operator that extracts the MSERs from the image or the specific part of it | |
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 | |
Public Attributes | |
CV_OUT vector< vector< Point > > const Mat &mask | const |
CV_OUT vector< vector< Point > > & | msers |
![]() | |
double | areaThreshold |
the area threshold to cause re-initialize | |
int | delta |
delta, in the code, it compares (size_{i}-size_{i-delta})/size_{i-delta} | |
int | edgeBlurSize |
the aperture size for edge blur | |
int | maxArea |
prune the area which bigger than maxArea | |
int | maxEvolution |
for color image, the evolution steps | |
float | maxVariation |
prune the area have simliar size to its children | |
int | minArea |
prune the area which smaller than minArea | |
float | minDiversity |
trace back to cut off mser with diversity < min_diversity | |
double | minMargin |
ignore too small margin | |
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