Go to the documentation of this file.00001 #if !defined(_COMPONENT_LABELING_H_INCLUDED)
00002 #define _CLASSE_BLOBRESULT_INCLUDED
00003
00004 #include "vector"
00005 #include "BlobContour.h"
00006 #include "Blob.h"
00007
00008
00010 typedef std::vector<CBlob*> Blob_vector;
00011
00012
00013
00014 bool ComponentLabeling( IplImage* inputImage,
00015 IplImage* maskImage,
00016 unsigned char backgroundColor,
00017 Blob_vector &blobs );
00018
00019
00020 void contourTracing( IplImage *image, IplImage *mask, CvPoint contourStart, t_labelType *labels,
00021 bool *visitedPoints, t_labelType label,
00022 bool internalContour, unsigned char backgroundColor,
00023 CBlobContour *currentBlobContour );
00024
00025 CvPoint tracer( IplImage *image, IplImage *mask, CvPoint P, bool *visitedPoints,
00026 short initialMovement,
00027 unsigned char backgroundColor, short &movement );
00028
00029
00030 #endif //!_CLASSE_BLOBRESULT_INCLUDED