#include "hrl_cvblobslib/ComponentLabeling.h"
Go to the source code of this file.
| Functions | |
| void | ASSIGN_LABEL (CvPoint p, t_labelType *labels, int imageWidth, int newLabel) | 
| void | ASSIGN_VISITED (CvPoint p, bool *visitedPoints, int imageWidth) | 
| bool | ComponentLabeling (IplImage *inputImage, IplImage *maskImage, unsigned char backgroundColor, Blob_vector &blobs) | 
| void | contourTracing (IplImage *image, IplImage *maskImage, CvPoint contourStart, t_labelType *labels, bool *visitedPoints, t_labelType label, bool internalContour, unsigned char backgroundColor, CBlobContour *currentBlobcontour) | 
| unsigned char | GET_ABOVE_IMAGEPIXEL (unsigned char *currentPixel, IplImage *image) | 
| unsigned char | GET_BELOW_IMAGEPIXEL (unsigned char *currentPixel, IplImage *image) | 
| bool | GET_BELOW_VISITEDPIXEL (bool *currentPixel, int imageWidth) | 
| unsigned char | GET_IMAGE_PIXEL (IplImage *image, CvPoint p) | 
| bool | GET_IMAGEMASK_PIXEL (IplImage *mask, CvPoint p) | 
| CvPoint | tracer (IplImage *image, IplImage *maskImage, CvPoint P, bool *visitedPoints, short initialMovement, unsigned char backgroundColor, short &movement) | 
| Variables | |
| static const CvPoint | freemanCodeIncrement [8] | 
| Conversion from freeman code to coordinate increments (counterclockwise) | |
| void ASSIGN_LABEL | ( | CvPoint | p, | 
| t_labelType * | labels, | ||
| int | imageWidth, | ||
| int | newLabel | ||
| ) |  [inline] | 
Definition at line 64 of file ComponentLabeling.cpp.
| void ASSIGN_VISITED | ( | CvPoint | p, | 
| bool * | visitedPoints, | ||
| int | imageWidth | ||
| ) |  [inline] | 
Definition at line 70 of file ComponentLabeling.cpp.
| bool ComponentLabeling | ( | IplImage * | inputImage, | 
| IplImage * | maskImage, | ||
| unsigned char | backgroundColor, | ||
| Blob_vector & | blobs | ||
| ) | 
current blob pointer
Definition at line 93 of file ComponentLabeling.cpp.
| void contourTracing | ( | IplImage * | image, | 
| IplImage * | maskImage, | ||
| CvPoint | contourStart, | ||
| t_labelType * | labels, | ||
| bool * | visitedPoints, | ||
| t_labelType | label, | ||
| bool | internalContour, | ||
| unsigned char | backgroundColor, | ||
| CBlobContour * | currentBlobcontour | ||
| ) | 
Definition at line 267 of file ComponentLabeling.cpp.
| unsigned char GET_ABOVE_IMAGEPIXEL | ( | unsigned char * | currentPixel, | 
| IplImage * | image | ||
| ) |  [inline] | 
Definition at line 23 of file ComponentLabeling.cpp.
| unsigned char GET_BELOW_IMAGEPIXEL | ( | unsigned char * | currentPixel, | 
| IplImage * | image | ||
| ) |  [inline] | 
Definition at line 27 of file ComponentLabeling.cpp.
| bool GET_BELOW_VISITEDPIXEL | ( | bool * | currentPixel, | 
| int | imageWidth | ||
| ) |  [inline] | 
Definition at line 46 of file ComponentLabeling.cpp.
| unsigned char GET_IMAGE_PIXEL | ( | IplImage * | image, | 
| CvPoint | p | ||
| ) |  [inline] | 
Definition at line 34 of file ComponentLabeling.cpp.
| bool GET_IMAGEMASK_PIXEL | ( | IplImage * | mask, | 
| CvPoint | p | ||
| ) |  [inline] | 
Definition at line 39 of file ComponentLabeling.cpp.
| CvPoint tracer | ( | IplImage * | image, | 
| IplImage * | maskImage, | ||
| CvPoint | P, | ||
| bool * | visitedPoints, | ||
| short | initialMovement, | ||
| unsigned char | backgroundColor, | ||
| short & | movement | ||
| ) | 
Definition at line 345 of file ComponentLabeling.cpp.
| const CvPoint freemanCodeIncrement[8]  [static] | 
    { {1, 0}, {1, -1}, {0, -1}, {-1, -1}, {-1, 0}, {-1, 1}, {0, 1}, {1, 1} }
Conversion from freeman code to coordinate increments (counterclockwise)
Definition at line 5 of file ComponentLabeling.cpp.