Go to the source code of this file.
Defines | |
#define | _CLASSE_BLOBEXTRACTION_INCLUDED |
Functions | |
bool | BlobAnalysis (IplImage *inputImage, uchar threshold, IplImage *maskImage, bool borderColor, bool findmoments, blob_vector &RegionData) |
Extreu els blobs d'una imatge. | |
void | Subsume (blob_vector &RegionData, int, int *, CBlob *, CBlob *, bool, int, int) |
Fusiona dos blobs. | |
int * | NewSubsume (int *SubSumedRegion, int elems_inbuffer) |
Reallocata el vector auxiliar de blobs subsumats. | |
double | GetExternPerimeter (int start, int end, int row, int width, int height, IplImage *maskImage) |
Retorna el perimetre extern d'una run lenght. |
#define _CLASSE_BLOBEXTRACTION_INCLUDED |
Definition at line 13 of file BlobExtraction.h.
bool BlobAnalysis | ( | IplImage * | inputImage, | |
uchar | threshold, | |||
IplImage * | maskImage, | |||
bool | borderColor, | |||
bool | findmoments, | |||
blob_vector & | RegionData | |||
) |
Extreu els blobs d'una imatge.
Imatge amb el perimetre extern de cada pixel
Definition at line 53 of file BlobExtraction.cpp.
References PIXEL_EXTERIOR.
Referenced by CBlobResult::CBlobResult().
double GetExternPerimeter | ( | int | start, | |
int | end, | |||
int | row, | |||
int | width, | |||
int | height, | |||
IplImage * | imatgePerimetreExtern | |||
) |
Retorna el perimetre extern d'una run lenght.
Definition at line 1414 of file BlobExtraction.cpp.
int* NewSubsume | ( | int * | SubSumedRegion, | |
int | elems_inbuffer | |||
) |
Reallocata el vector auxiliar de blobs subsumats.
Definition at line 1329 of file BlobExtraction.cpp.
void Subsume | ( | blob_vector & | RegionData, | |
int | HighRegionNum, | |||
int * | SubsumedRegion, | |||
CBlob * | blobHi, | |||
CBlob * | blobLo, | |||
bool | findmoments, | |||
int | HiNum, | |||
int | LoNum | |||
) |
Fusiona dos blobs.
Fusiona dos blobs i afegeix el blob les característiques del blob RegionData[HiNum] al blob RegionData[LoNum]. Al final allibera el blob de RegionData[HiNum]
Definition at line 1347 of file BlobExtraction.cpp.