Defines | Typedefs | Functions
ComponentLabeling.h File Reference
#include "vector"
#include "BlobContour.h"
#include "Blob.h"
Include dependency graph for ComponentLabeling.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define _CLASSE_BLOBRESULT_INCLUDED

Typedefs

typedef std::vector< CBlob * > Blob_vector
 definició de que es un vector de blobs

Functions

bool ComponentLabeling (IplImage *inputImage, IplImage *maskImage, unsigned char backgroundColor, Blob_vector &blobs)
void contourTracing (IplImage *image, IplImage *mask, CvPoint contourStart, t_labelType *labels, bool *visitedPoints, t_labelType label, bool internalContour, unsigned char backgroundColor, CBlobContour *currentBlobContour)
CvPoint tracer (IplImage *image, IplImage *mask, CvPoint P, bool *visitedPoints, short initialMovement, unsigned char backgroundColor, short &movement)

Define Documentation

Definition at line 2 of file ComponentLabeling.h.


Typedef Documentation

definició de que es un vector de blobs

Definition at line 10 of file ComponentLabeling.h.


Function Documentation

bool ComponentLabeling ( IplImage *  inputImage,
IplImage *  maskImage,
unsigned char  backgroundColor,
Blob_vector blobs 
)
  • FUNCIÓ: ComponentLabeling
  • FUNCIONALITAT: Calcula els components binaris (blobs) d'una imatge amb connectivitat a 8
  • PARÀMETRES:
    • inputImage: image to segment (pixel values different than blobColor are treated as background)
    • maskImage: if not NULL, all the pixels equal to 0 in mask are skipped in input image
    • backgroundColor: color of background (ignored pixels)
    • blobs: blob vector destination
  • RESULTAT:
  • RESTRICCIONS:
  • AUTOR: rborras
  • DATA DE CREACIÓ: 2008/04/21
  • MODIFICACIÓ: Data. Autor. Descripció.
  • NOTA: Algorithm based on "A linear-time component labeling algorithm using contour tracing technique", F.Chang et al

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 
)
  • FUNCIÓ:
  • FUNCIONALITAT:
  • PARÀMETRES:
  • RESULTAT:
  • RESTRICCIONS:
  • AUTOR: rborras
  • DATA DE CREACIÓ: 2008/04/29
  • MODIFICACIÓ: Data. Autor. Descripció.

Definition at line 267 of file ComponentLabeling.cpp.

CvPoint tracer ( IplImage *  image,
IplImage *  maskImage,
CvPoint  P,
bool visitedPoints,
short  initialMovement,
unsigned char  backgroundColor,
short &  movement 
)
  • FUNCIÓ: tracer
  • FUNCIONALITAT: Searches for next point of a contour
  • PARÀMETRES:
  • RESULTAT:
  • RESTRICCIONS:
  • AUTOR: rborras
  • DATA DE CREACIÓ: 2008/04/30
  • MODIFICACIÓ: Data. Autor. Descripció.

Definition at line 345 of file ComponentLabeling.cpp.



hrl_cvblobslib
Author(s): kelsey
autogenerated on Wed Nov 27 2013 11:32:58