ReadFramework
rdf::PixelVotes Class Reference

#include <PixelLabel.h>

Inheritance diagram for rdf::PixelVotes:
Collaboration diagram for rdf::PixelVotes:

Public Member Functions

 PixelVotes (const LabelManager &lm=LabelManager(), const QString &id=QString())
 
bool isEmpty () const
 
void setRawVotes (const cv::Mat &rawVotes)
 
cv::Mat data () const
 
int labelIndex () 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 Member Functions

int maxVote () const
 

Protected Attributes

LabelManager mManager
 
cv::Mat mVotes
 
double mNumTrees = 0
 
- Protected Attributes inherited from rdf::BaseElement
QString mId
 

Constructor & Destructor Documentation

rdf::PixelVotes::PixelVotes ( const LabelManager lm = LabelManager(),
const QString &  id = QString() 
)

Member Function Documentation

cv::Mat rdf::PixelVotes::data ( ) const
bool rdf::PixelVotes::isEmpty ( ) const
int rdf::PixelVotes::labelIndex ( ) const

Here is the caller graph for this function:

int rdf::PixelVotes::maxVote ( ) const
protected

Here is the caller graph for this function:

void rdf::PixelVotes::setRawVotes ( const cv::Mat &  rawVotes)

Here is the caller graph for this function:

Member Data Documentation

LabelManager rdf::PixelVotes::mManager
protected
double rdf::PixelVotes::mNumTrees = 0
protected
cv::Mat rdf::PixelVotes::mVotes
protected

The documentation for this class was generated from the following files: