iCub-main
Public Member Functions | Protected Attributes | List of all members
ProcessThread Class Reference
+ Inheritance diagram for ProcessThread:

Public Member Functions

 ProcessThread (ResourceFinder &_rf)
 
bool threadInit ()
 
void afterStart (bool s)
 
void run ()
 
void onStop ()
 
void threadRelease ()
 
string getName ()
 
void findBlobs ()
 
void floodFill (const int i, Blob *pBlob)
 
void insertBlob (const Blob &blob)
 
bool execReq (const Bottle &req, Bottle &reply)
 

Protected Attributes

ResourceFinder & rf
 
string name
 
bool firstConsistencyCheck
 
double coverXratio
 
double coverYratio
 
int nodesStep
 
int winSize
 
double recogThres
 
double recogThresAbs
 
int adjNodesThres
 
int blobMinSizeThres
 
int framesPersistence
 
int cropSize
 
bool verbosity
 
bool inhibition
 
int nodesX
 
int nodesY
 
ImageOf< PixelMono > imgMonoIn
 
ImageOf< PixelMono > imgMonoPrev
 
vector< Mat > pyrPrev
 
vector< Mat > pyrCurr
 
vector< Point2f > nodesPrev
 
vector< Point2f > nodesCurr
 
vector< uchar > featuresFound
 
vector< float > featuresErrors
 
vector< int > nodesPersistence
 
set< int > activeNodesIndexSet
 
deque< BlobblobSortedList
 
BufferedPort< ImageOf< PixelBgr > > inPort
 
BufferedPort< ImageOf< PixelBgr > > outPort
 
BufferedPort< ImageOf< PixelMono > > optPort
 
BufferedPort< ImageOf< PixelBgr > > cropPort
 
BufferedPort< Bottle > nodesPort
 
BufferedPort< Bottle > blobsPort
 

Detailed Description

Definition at line 63 of file main.cpp.

Constructor & Destructor Documentation

◆ ProcessThread()

ProcessThread::ProcessThread ( ResourceFinder &  _rf)
inline

Definition at line 108 of file main.cpp.

Member Function Documentation

◆ afterStart()

void ProcessThread::afterStart ( bool  s)
inline

Definition at line 152 of file main.cpp.

◆ execReq()

bool ProcessThread::execReq ( const Bottle &  req,
Bottle &  reply 
)
inline

Definition at line 510 of file main.cpp.

◆ findBlobs()

void ProcessThread::findBlobs ( )
inline

Definition at line 448 of file main.cpp.

◆ floodFill()

void ProcessThread::floodFill ( const int  i,
Blob pBlob 
)
inline

Definition at line 470 of file main.cpp.

◆ getName()

string ProcessThread::getName ( )
inline

Definition at line 442 of file main.cpp.

◆ insertBlob()

void ProcessThread::insertBlob ( const Blob blob)
inline

Definition at line 492 of file main.cpp.

◆ onStop()

void ProcessThread::onStop ( )
inline

Definition at line 425 of file main.cpp.

◆ run()

void ProcessThread::run ( )
inline

Definition at line 179 of file main.cpp.

◆ threadInit()

bool ProcessThread::threadInit ( )
inline

Definition at line 111 of file main.cpp.

◆ threadRelease()

void ProcessThread::threadRelease ( )
inline

Definition at line 431 of file main.cpp.

Member Data Documentation

◆ activeNodesIndexSet

set<int> ProcessThread::activeNodesIndexSet
protected

Definition at line 96 of file main.cpp.

◆ adjNodesThres

int ProcessThread::adjNodesThres
protected

Definition at line 76 of file main.cpp.

◆ blobMinSizeThres

int ProcessThread::blobMinSizeThres
protected

Definition at line 77 of file main.cpp.

◆ blobSortedList

deque<Blob> ProcessThread::blobSortedList
protected

Definition at line 97 of file main.cpp.

◆ blobsPort

BufferedPort<Bottle> ProcessThread::blobsPort
protected

Definition at line 104 of file main.cpp.

◆ coverXratio

double ProcessThread::coverXratio
protected

Definition at line 70 of file main.cpp.

◆ coverYratio

double ProcessThread::coverYratio
protected

Definition at line 71 of file main.cpp.

◆ cropPort

BufferedPort<ImageOf<PixelBgr> > ProcessThread::cropPort
protected

Definition at line 102 of file main.cpp.

◆ cropSize

int ProcessThread::cropSize
protected

Definition at line 79 of file main.cpp.

◆ featuresErrors

vector<float> ProcessThread::featuresErrors
protected

Definition at line 93 of file main.cpp.

◆ featuresFound

vector<uchar> ProcessThread::featuresFound
protected

Definition at line 92 of file main.cpp.

◆ firstConsistencyCheck

bool ProcessThread::firstConsistencyCheck
protected

Definition at line 69 of file main.cpp.

◆ framesPersistence

int ProcessThread::framesPersistence
protected

Definition at line 78 of file main.cpp.

◆ imgMonoIn

ImageOf<PixelMono> ProcessThread::imgMonoIn
protected

Definition at line 85 of file main.cpp.

◆ imgMonoPrev

ImageOf<PixelMono> ProcessThread::imgMonoPrev
protected

Definition at line 86 of file main.cpp.

◆ inhibition

bool ProcessThread::inhibition
protected

Definition at line 81 of file main.cpp.

◆ inPort

BufferedPort<ImageOf<PixelBgr> > ProcessThread::inPort
protected

Definition at line 99 of file main.cpp.

◆ name

string ProcessThread::name
protected

Definition at line 68 of file main.cpp.

◆ nodesCurr

vector<Point2f> ProcessThread::nodesCurr
protected

Definition at line 91 of file main.cpp.

◆ nodesPersistence

vector<int> ProcessThread::nodesPersistence
protected

Definition at line 94 of file main.cpp.

◆ nodesPort

BufferedPort<Bottle> ProcessThread::nodesPort
protected

Definition at line 103 of file main.cpp.

◆ nodesPrev

vector<Point2f> ProcessThread::nodesPrev
protected

Definition at line 90 of file main.cpp.

◆ nodesStep

int ProcessThread::nodesStep
protected

Definition at line 72 of file main.cpp.

◆ nodesX

int ProcessThread::nodesX
protected

Definition at line 82 of file main.cpp.

◆ nodesY

int ProcessThread::nodesY
protected

Definition at line 83 of file main.cpp.

◆ optPort

BufferedPort<ImageOf<PixelMono> > ProcessThread::optPort
protected

Definition at line 101 of file main.cpp.

◆ outPort

BufferedPort<ImageOf<PixelBgr> > ProcessThread::outPort
protected

Definition at line 100 of file main.cpp.

◆ pyrCurr

vector<Mat> ProcessThread::pyrCurr
protected

Definition at line 88 of file main.cpp.

◆ pyrPrev

vector<Mat> ProcessThread::pyrPrev
protected

Definition at line 87 of file main.cpp.

◆ recogThres

double ProcessThread::recogThres
protected

Definition at line 74 of file main.cpp.

◆ recogThresAbs

double ProcessThread::recogThresAbs
protected

Definition at line 75 of file main.cpp.

◆ rf

ResourceFinder& ProcessThread::rf
protected

Definition at line 66 of file main.cpp.

◆ verbosity

bool ProcessThread::verbosity
protected

Definition at line 80 of file main.cpp.

◆ winSize

int ProcessThread::winSize
protected

Definition at line 73 of file main.cpp.


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