ReadFramework
|
#include <PixelLabel.h>
Public Member Functions | |
PixelLabel (const QString &id=QString()) | |
bool | isEvaluated () const |
Checks if GT and prediction are present More... | |
void | setLabel (const LabelInfo &label) |
LabelInfo | predicted () const |
void | setTrueLabel (const LabelInfo &label) |
LabelInfo | trueLabel () const |
void | setVotes (const PixelVotes &votes) |
PixelVotes | votes () const |
Public Member Functions inherited from rdf::BaseElement | |
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) |
Protected Attributes | |
LabelInfo | mTrueLabel = LabelInfo::label_unknown |
LabelInfo | mLabel = LabelInfo::label_unknown |
PixelVotes | mVotes |
Protected Attributes inherited from rdf::BaseElement | |
QString | mId |
rdf::PixelLabel::PixelLabel | ( | const QString & | id = QString() | ) |
bool rdf::PixelLabel::isEvaluated | ( | ) | const |
Checks if GT and prediction are present
true
if trueLabel() and label() are set; otherwise, false
. LabelInfo rdf::PixelLabel::predicted | ( | ) | const |
void rdf::PixelLabel::setLabel | ( | const LabelInfo & | label | ) |
void rdf::PixelLabel::setTrueLabel | ( | const LabelInfo & | label | ) |
void rdf::PixelLabel::setVotes | ( | const PixelVotes & | votes | ) |
LabelInfo rdf::PixelLabel::trueLabel | ( | ) | const |
PixelVotes rdf::PixelLabel::votes | ( | ) | const |
|
protected |
|
protected |
|
protected |