root / vision / cvblobs8.3 / ComponentLabeling.h @ b11b2b30
History | View | Annotate | Download (854 Bytes)
1 |
#if !defined(_COMPONENT_LABELING_H_INCLUDED)
|
---|---|
2 |
#define _CLASSE_BLOBRESULT_INCLUDED
|
3 |
|
4 |
#include "vector" |
5 |
#include "BlobContour.h" |
6 |
#include "blob.h" |
7 |
|
8 |
|
9 |
//! definici? de que es un vector de blobs
|
10 |
typedef std::vector<CBlob*> Blob_vector;
|
11 |
|
12 |
|
13 |
|
14 |
bool ComponentLabeling( IplImage* inputImage,
|
15 |
IplImage* maskImage, |
16 |
unsigned char backgroundColor, |
17 |
Blob_vector &blobs ); |
18 |
|
19 |
|
20 |
void contourTracing( IplImage *image, IplImage *mask, CvPoint contourStart, t_labelType *labels,
|
21 |
bool *visitedPoints, t_labelType label,
|
22 |
bool internalContour, unsigned char backgroundColor, |
23 |
CBlobContour *currentBlobContour ); |
24 |
|
25 |
CvPoint tracer( IplImage *image, IplImage *mask, CvPoint P, bool *visitedPoints,
|
26 |
short initialMovement,
|
27 |
unsigned char backgroundColor, short &movement ); |
28 |
|
29 |
|
30 |
#endif //!_CLASSE_BLOBRESULT_INCLUDED |