Class enables for storing an MSER feature beyond simply its bounding points. More...
#include <calibration.hpp>
Public Member Functions | |
mserPatch () | |
Default Constructor. | |
mserPatch (vector< Point > &inputHull, const Mat &image) | |
Constructor from a point vector and a pointer to the matrix (for intensities). | |
Public Attributes | |
double | area |
The total area in pixels of the patch. | |
Point | centroid |
Integer pixel location of the patches centroid. | |
Point2f | centroid2f |
Integer pixel location of the patches centroid. | |
vector< Point > | hull |
Point vector representing the bounding points of the patch. | |
double | meanIntensity |
An estimate of the mean intensity of pixels within the patch. | |
Moments | momentSet |
A vector storing all of the moments associated with the patch. | |
double | varIntensity |
An estimate of the variance of intensity of pixels within the patch. |
Class enables for storing an MSER feature beyond simply its bounding points.
Definition at line 81 of file calibration.hpp.
Default Constructor.
Definition at line 35 of file calibration.cpp.
mserPatch::mserPatch | ( | vector< Point > & | inputHull, |
const Mat & | image | ||
) |
Constructor from a point vector and a pointer to the matrix (for intensities).
Definition at line 40 of file calibration.cpp.
double mserPatch::area |
The total area in pixels of the patch.
Definition at line 93 of file calibration.hpp.
Integer pixel location of the patches centroid.
Definition at line 87 of file calibration.hpp.
Point2f mserPatch::centroid2f |
Integer pixel location of the patches centroid.
Definition at line 89 of file calibration.hpp.
vector<Point> mserPatch::hull |
Point vector representing the bounding points of the patch.
Definition at line 85 of file calibration.hpp.
double mserPatch::meanIntensity |
An estimate of the mean intensity of pixels within the patch.
Definition at line 95 of file calibration.hpp.
Moments mserPatch::momentSet |
A vector storing all of the moments associated with the patch.
Definition at line 91 of file calibration.hpp.
double mserPatch::varIntensity |
An estimate of the variance of intensity of pixels within the patch.
Definition at line 97 of file calibration.hpp.