Maximal Stable Extremal Regions class. More...
#include <features2d.hpp>
Inherits cv::FeatureDetector.
Public Types | |
| typedef Algorithm *(* | Constructor )(void) |
| typedef int(Algorithm::* | Getter )() const |
| typedef void(Algorithm::* | Setter )(int) |
Public Member Functions | |
| CV_WRAP | 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 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 | |
| AlgorithmInfo * | info () const |
| CV_WRAP void | detect (const Mat &image, CV_OUT vector< KeyPoint > &keypoints, const Mat &mask=Mat()) const |
| void | detect (const vector< Mat > &images, vector< vector< KeyPoint > > &keypoints, const vector< Mat > &masks=vector< Mat >()) const |
| virtual CV_WRAP bool | empty () const |
| string | name () const |
| template<typename _Tp > | |
| ParamType< _Tp >::member_type | get (const string &name) const |
| template<typename _Tp > | |
| ParamType< _Tp >::member_type | get (const char *name) const |
| CV_WRAP int | getInt (const string &name) const |
| CV_WRAP double | getDouble (const string &name) const |
| CV_WRAP bool | getBool (const string &name) const |
| CV_WRAP string | getString (const string &name) const |
| CV_WRAP Mat | getMat (const string &name) const |
| CV_WRAP vector< Mat > | getMatVector (const string &name) const |
| CV_WRAP Ptr< Algorithm > | getAlgorithm (const string &name) const |
| void | set (const string &name, int value) |
| void | set (const string &name, double value) |
| void | set (const string &name, bool value) |
| void | set (const string &name, const string &value) |
| void | set (const string &name, const Mat &value) |
| void | set (const string &name, const vector< Mat > &value) |
| void | set (const string &name, const Ptr< Algorithm > &value) |
| template<typename _Tp > | |
| void | set (const string &name, const Ptr< _Tp > &value) |
| void | set (const char *name, int value) |
| void | set (const char *name, double value) |
| void | set (const char *name, bool value) |
| void | set (const char *name, const string &value) |
| void | set (const char *name, const Mat &value) |
| void | set (const char *name, const vector< Mat > &value) |
| void | set (const char *name, const Ptr< Algorithm > &value) |
| template<typename _Tp > | |
| void | set (const char *name, const Ptr< _Tp > &value) |
| CV_WRAP void | setInt (const string &name, int value) |
| void | setInt (const char *name, int value) |
| CV_WRAP void | setDouble (const string &name, double value) |
| void | setDouble (const char *name, double value) |
| CV_WRAP void | setBool (const string &name, bool value) |
| void | setBool (const char *name, bool value) |
| CV_WRAP void | setString (const string &name, const string &value) |
| void | setString (const char *name, const string &value) |
| CV_WRAP void | setMat (const string &name, const Mat &value) |
| void | setMat (const char *name, const Mat &value) |
| CV_WRAP void | setMatVector (const string &name, const vector< Mat > &value) |
| void | setMatVector (const char *name, const vector< Mat > &value) |
| CV_WRAP void | setAlgorithm (const string &name, const Ptr< Algorithm > &value) |
| template<typename _Tp > | |
| void | setAlgorithm (const string &name, const Ptr< _Tp > &value) |
| void | setAlgorithm (const char *name, const Ptr< Algorithm > &value) |
| template<typename _Tp > | |
| void | setAlgorithm (const char *name, const Ptr< _Tp > &value) |
| CV_WRAP string | paramHelp (const string &name) const |
| int | paramType (const char *name) const |
| CV_WRAP int | paramType (const string &name) const |
| CV_WRAP void | getParams (CV_OUT vector< string > &names) const |
| virtual void | write (FileStorage &fs) const |
| virtual void | read (const FileNode &fn) |
Static Public Member Functions | |
| static CV_WRAP Ptr < FeatureDetector > | create (const string &detectorType) |
| static CV_WRAP void | getList (CV_OUT vector< string > &algorithms) |
| static CV_WRAP Ptr< Algorithm > | _create (const string &name) |
Public Attributes | |
| CV_OUT vector< vector< Point > > & | msers |
| CV_OUT vector< vector< Point > > const Mat & | mask = Mat() ) const |
Protected Member Functions | |
| void | detectImpl (const Mat &image, vector< KeyPoint > &keypoints, const Mat &mask=Mat()) const |
Static Protected Member Functions | |
| static void | removeInvalidPoints (const Mat &mask, vector< KeyPoint > &keypoints) |
Protected Attributes | |
| int | delta |
| int | minArea |
| int | maxArea |
| double | maxVariation |
| double | minDiversity |
| int | maxEvolution |
| double | areaThreshold |
| double | minMargin |
| int | edgeBlurSize |
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.
typedef Algorithm*(* cv::Algorithm::Constructor)(void) [inherited] |
typedef int(Algorithm::* cv::Algorithm::Getter)() const [inherited] |
typedef void(Algorithm::* cv::Algorithm::Setter)(int) [inherited] |
| CV_WRAP cv::MSER::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 |
||
| ) | [explicit] |
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
| AlgorithmInfo* cv::MSER::info | ( | ) | const [virtual] |
Reimplemented from cv::Algorithm.
| void cv::MSER::detectImpl | ( | const Mat & | image, |
| vector< KeyPoint > & | keypoints, | ||
| const Mat & | mask = Mat() |
||
| ) | const [protected, virtual] |
Implements cv::FeatureDetector.
| CV_WRAP void cv::FeatureDetector::detect | ( | const Mat & | image, |
| CV_OUT vector< KeyPoint > & | keypoints, | ||
| const Mat & | mask = Mat() |
||
| ) | const [inherited] |
| void cv::FeatureDetector::detect | ( | const vector< Mat > & | images, |
| vector< vector< KeyPoint > > & | keypoints, | ||
| const vector< Mat > & | masks = vector< Mat >() |
||
| ) | const [inherited] |
| virtual CV_WRAP bool cv::FeatureDetector::empty | ( | ) | const [virtual, inherited] |
Reimplemented in cv::DynamicAdaptedFeatureDetector, cv::PyramidAdaptedFeatureDetector, and cv::GridAdaptedFeatureDetector.
| static CV_WRAP Ptr<FeatureDetector> cv::FeatureDetector::create | ( | const string & | detectorType | ) | [static, inherited] |
Reimplemented from cv::Algorithm.
Reimplemented in cv::AdjusterAdapter, and cv::Feature2D.
| static void cv::FeatureDetector::removeInvalidPoints | ( | const Mat & | mask, |
| vector< KeyPoint > & | keypoints | ||
| ) | [static, protected, inherited] |
| string cv::Algorithm::name | ( | ) | const [inherited] |
| ParamType< _Tp >::member_type cv::Algorithm::get | ( | const string & | name | ) | const [inherited] |
| ParamType< _Tp >::member_type cv::Algorithm::get | ( | const char * | name | ) | const [inherited] |
| CV_WRAP int cv::Algorithm::getInt | ( | const string & | name | ) | const [inherited] |
| CV_WRAP double cv::Algorithm::getDouble | ( | const string & | name | ) | const [inherited] |
| CV_WRAP bool cv::Algorithm::getBool | ( | const string & | name | ) | const [inherited] |
| CV_WRAP string cv::Algorithm::getString | ( | const string & | name | ) | const [inherited] |
| CV_WRAP Mat cv::Algorithm::getMat | ( | const string & | name | ) | const [inherited] |
| CV_WRAP vector<Mat> cv::Algorithm::getMatVector | ( | const string & | name | ) | const [inherited] |
| CV_WRAP Ptr<Algorithm> cv::Algorithm::getAlgorithm | ( | const string & | name | ) | const [inherited] |
| void cv::Algorithm::set | ( | const string & | name, |
| int | value | ||
| ) | [inherited] |
| void cv::Algorithm::set | ( | const string & | name, |
| double | value | ||
| ) | [inherited] |
| void cv::Algorithm::set | ( | const string & | name, |
| bool | value | ||
| ) | [inherited] |
| void cv::Algorithm::set | ( | const string & | name, |
| const string & | value | ||
| ) | [inherited] |
| void cv::Algorithm::set | ( | const string & | name, |
| const Mat & | value | ||
| ) | [inherited] |
| void cv::Algorithm::set | ( | const string & | name, |
| const vector< Mat > & | value | ||
| ) | [inherited] |
| void cv::Algorithm::set | ( | const string & | name, |
| const Ptr< Algorithm > & | value | ||
| ) | [inherited] |
| void cv::Algorithm::set | ( | const string & | name, |
| const Ptr< _Tp > & | value | ||
| ) | [inherited] |
| void cv::Algorithm::set | ( | const char * | name, |
| int | value | ||
| ) | [inherited] |
| void cv::Algorithm::set | ( | const char * | name, |
| double | value | ||
| ) | [inherited] |
| void cv::Algorithm::set | ( | const char * | name, |
| bool | value | ||
| ) | [inherited] |
| void cv::Algorithm::set | ( | const char * | name, |
| const string & | value | ||
| ) | [inherited] |
| void cv::Algorithm::set | ( | const char * | name, |
| const Mat & | value | ||
| ) | [inherited] |
| void cv::Algorithm::set | ( | const char * | name, |
| const vector< Mat > & | value | ||
| ) | [inherited] |
| void cv::Algorithm::set | ( | const char * | name, |
| const Ptr< Algorithm > & | value | ||
| ) | [inherited] |
| void cv::Algorithm::set | ( | const char * | name, |
| const Ptr< _Tp > & | value | ||
| ) | [inherited] |
| CV_WRAP void cv::Algorithm::setInt | ( | const string & | name, |
| int | value | ||
| ) | [inherited] |
| void cv::Algorithm::setInt | ( | const char * | name, |
| int | value | ||
| ) | [inherited] |
| CV_WRAP void cv::Algorithm::setDouble | ( | const string & | name, |
| double | value | ||
| ) | [inherited] |
| void cv::Algorithm::setDouble | ( | const char * | name, |
| double | value | ||
| ) | [inherited] |
| CV_WRAP void cv::Algorithm::setBool | ( | const string & | name, |
| bool | value | ||
| ) | [inherited] |
| void cv::Algorithm::setBool | ( | const char * | name, |
| bool | value | ||
| ) | [inherited] |
| CV_WRAP void cv::Algorithm::setString | ( | const string & | name, |
| const string & | value | ||
| ) | [inherited] |
| void cv::Algorithm::setString | ( | const char * | name, |
| const string & | value | ||
| ) | [inherited] |
| CV_WRAP void cv::Algorithm::setMat | ( | const string & | name, |
| const Mat & | value | ||
| ) | [inherited] |
| void cv::Algorithm::setMat | ( | const char * | name, |
| const Mat & | value | ||
| ) | [inherited] |
| CV_WRAP void cv::Algorithm::setMatVector | ( | const string & | name, |
| const vector< Mat > & | value | ||
| ) | [inherited] |
| void cv::Algorithm::setMatVector | ( | const char * | name, |
| const vector< Mat > & | value | ||
| ) | [inherited] |
| CV_WRAP void cv::Algorithm::setAlgorithm | ( | const string & | name, |
| const Ptr< Algorithm > & | value | ||
| ) | [inherited] |
| void cv::Algorithm::setAlgorithm | ( | const string & | name, |
| const Ptr< _Tp > & | value | ||
| ) | [inherited] |
| void cv::Algorithm::setAlgorithm | ( | const char * | name, |
| const Ptr< Algorithm > & | value | ||
| ) | [inherited] |
| void cv::Algorithm::setAlgorithm | ( | const char * | name, |
| const Ptr< _Tp > & | value | ||
| ) | [inherited] |
| CV_WRAP string cv::Algorithm::paramHelp | ( | const string & | name | ) | const [inherited] |
| int cv::Algorithm::paramType | ( | const char * | name | ) | const [inherited] |
| CV_WRAP int cv::Algorithm::paramType | ( | const string & | name | ) | const [inherited] |
| CV_WRAP void cv::Algorithm::getParams | ( | CV_OUT vector< string > & | names | ) | const [inherited] |
| virtual void cv::Algorithm::write | ( | FileStorage & | fs | ) | const [virtual, inherited] |
| virtual void cv::Algorithm::read | ( | const FileNode & | fn | ) | [virtual, inherited] |
| static CV_WRAP void cv::Algorithm::getList | ( | CV_OUT vector< string > & | algorithms | ) | [static, inherited] |
| static CV_WRAP Ptr<Algorithm> cv::Algorithm::_create | ( | const string & | name | ) | [static, inherited] |
| CV_OUT vector<vector<Point> >& cv::MSER::msers |
| CV_OUT vector<vector<Point> > const Mat& cv::MSER::mask = Mat() ) const |
int cv::MSER::delta [protected] |
int cv::MSER::minArea [protected] |
int cv::MSER::maxArea [protected] |
double cv::MSER::maxVariation [protected] |
double cv::MSER::minDiversity [protected] |
int cv::MSER::maxEvolution [protected] |
double cv::MSER::areaThreshold [protected] |
double cv::MSER::minMargin [protected] |
int cv::MSER::edgeBlurSize [protected] |