This class contains methods to detect (IR)-LED-Spots, with template matching (new search) or in "recycling" mode (search at old positions).
More...
#include <FeatureDetector/LEDDetector.hh>
This class contains methods to detect (IR)-LED-Spots, with template matching (new search) or in "recycling" mode (search at old positions).
- Author
- haase 3/2007, reworked by esquivel 11/2013
- Examples:
- ExampleLEDDetector.cpp.
Definition at line 50 of file LEDDetector.hh.
LEDDetector::LEDDetector |
( |
| ) |
|
LEDDetector::~LEDDetector |
( |
| ) |
|
int LEDDetector::CheckNeighbours_ |
( |
int |
a, |
|
|
int |
b |
|
) |
| |
|
protected |
int LEDDetector::CheckNeighboursIfWhite_ |
( |
int |
x, |
|
|
int |
y, |
|
|
int & |
a, |
|
|
int & |
b |
|
) |
| |
|
protected |
int LEDDetector::CheckNeighboursIfWhite_inter_ |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
|
protected |
int LEDDetector::Compute |
( |
const BIAS::Image< unsigned char > & |
image, |
|
|
std::vector< BIAS::Vector3< double > > & |
results |
|
) |
| |
void LEDDetector::GetAttributes |
( |
std::vector< double > & |
minX, |
|
|
std::vector< double > & |
maxX, |
|
|
std::vector< double > & |
maxValues |
|
) |
| |
Return attributes of detected LED spots.
- Parameters
-
[out] | minX | Returns min. x coordinate for each detected LED spot |
[out] | maxX | Returns max. x coordinate for each detected LED spot |
[out] | maxValues | Returns max. gray value for each detected LED spot |
- Examples:
- ExampleLEDDetector.cpp.
Definition at line 32 of file LEDDetector.cpp.
void LEDDetector::GetNeighbours |
( |
std::vector< std::vector< BIAS::Vector3< double > > > & |
neighbours | ) |
|
Return neighbours of detected LED spots.
- Parameters
-
[out] | neighbours | Returns vector of neighbour positions for each detected LED spot |
Definition at line 26 of file LEDDetector.cpp.
int LEDDetector::Recycle_ |
( |
| ) |
|
|
protected |
void LEDDetector::Search_ |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
|
protected |
void LEDDetector::TemplateMatching_ |
( |
| ) |
|
|
protected |
double BIAS::LEDDetector::blobs |
|
protected |
double BIAS::LEDDetector::blobsize |
|
protected |
double BIAS::LEDDetector::count |
|
protected |
unsigned char* BIAS::LEDDetector::data |
|
protected |
IplImage * BIAS::LEDDetector::gray_orig |
|
protected |
IplImage* BIAS::LEDDetector::gray_threshold |
|
protected |
int BIAS::LEDDetector::height |
|
protected |
unsigned char* BIAS::LEDDetector::lookup |
|
protected |
int BIAS::LEDDetector::lookupsize |
|
protected |
double BIAS::LEDDetector::maxvalue |
|
protected |
std::vector<double> BIAS::LEDDetector::maxvalues |
|
protected |
double BIAS::LEDDetector::maxx |
|
protected |
std::vector<double> BIAS::LEDDetector::maxxcoords |
|
protected |
double BIAS::LEDDetector::mean |
|
protected |
double BIAS::LEDDetector::minx |
|
protected |
std::vector<double> BIAS::LEDDetector::minxcoords |
|
protected |
std::vector<std::vector<BIAS::Vector3<double> > > BIAS::LEDDetector::nextpixel |
|
protected |
double BIAS::LEDDetector::pixelweightvaluex |
|
protected |
double BIAS::LEDDetector::pixelweightvaluey |
|
protected |
double BIAS::LEDDetector::recursivedepth |
|
protected |
std::vector<BIAS::Vector3<double> > BIAS::LEDDetector::resultpixel |
|
protected |
std::vector<BIAS::Vector3<double> > BIAS::LEDDetector::resultpixel_old |
|
protected |
int BIAS::LEDDetector::step |
|
protected |
double BIAS::LEDDetector::valuesum |
|
protected |
std::vector<BIAS::Vector3<double> > BIAS::LEDDetector::whitepixel |
|
protected |
int BIAS::LEDDetector::width |
|
protected |
The documentation for this class was generated from the following files: