#include <Pixel.h>
|
| MserBlob (const std::vector< cv::Point > &pts=std::vector< cv::Point >(), const Rect &bbox=Rect(), const QString &id=QString()) |
|
bool | isNull () const |
|
double | area () const |
|
Vector2D | center () const |
|
Rect | bbox () const |
|
std::vector< cv::Point > | pts () const |
|
std::vector< cv::Point > | relativePts (const Vector2D &origin) const |
|
void | draw (QPainter &p) |
|
QSharedPointer< Pixel > | toPixel () const |
|
cv::Mat | toBinaryMask () const |
|
double | overlapArea (const Rect &r) const |
|
| BaseElement (const QString &id=QString()) |
| This class keeps an ID to keep track of transformed elements during a processing chain. You can e.g. generate Pixel elements from MserBlobs. After filtering, processing etc. you can map back to the (pixel accurate) MserBlob using this ID. More...
|
|
void | setId (const QString &id) |
| Sets the (preferably unique) ID. If no ID is set, a unqiue ID is generated and assigned. More...
|
|
QString | id () const |
| Returns the elment's id. More...
|
|
virtual QString | toString () const |
|
virtual void | scale (double factor) |
|
rdf::MserBlob::MserBlob |
( |
const std::vector< cv::Point > & |
pts = std::vector<cv::Point>() , |
|
|
const Rect & |
bbox = Rect() , |
|
|
const QString & |
id = QString() |
|
) |
| |
double rdf::MserBlob::area |
( |
| ) |
const |
Rect rdf::MserBlob::bbox |
( |
| ) |
const |
Vector2D rdf::MserBlob::center |
( |
| ) |
const |
void rdf::MserBlob::draw |
( |
QPainter & |
p | ) |
|
bool rdf::MserBlob::isNull |
( |
| ) |
const |
double rdf::MserBlob::overlapArea |
( |
const Rect & |
r | ) |
const |
std::vector< cv::Point > rdf::MserBlob::pts |
( |
| ) |
const |
std::vector< cv::Point > rdf::MserBlob::relativePts |
( |
const Vector2D & |
origin | ) |
const |
cv::Mat rdf::MserBlob::toBinaryMask |
( |
| ) |
const |
QSharedPointer< Pixel > rdf::MserBlob::toPixel |
( |
| ) |
const |
Rect rdf::MserBlob::mBBox |
|
protected |
std::vector<cv::Point> rdf::MserBlob::mPts |
|
protected |
The documentation for this class was generated from the following files: