📄 blobextraction.h
字号:
//***********************************************************//
//* Blob analysis package 8 August 2003 *//
//* Version 1.0 *//
//* Input: IplImage* binary image *//
//* Output: attributes of each connected region *//
//* Author: Dave Grossman *//
//* Email: dgrossman@cdr.stanford.edu *//
//* Acknowledgement: the algorithm has been around > 20 yrs *//
//***********************************************************//
#if !defined(_CLASSE_BLOBEXTRACTION_INCLUDED)
#define _CLASSE_BLOBEXTRACTION_INCLUDED
//! Extreu els blobs d'una imatge
bool BlobAnalysis(IplImage* inputImage, uchar threshold, IplImage* maskImage,
bool borderColor, bool findmoments, blob_vector &RegionData );
// FUNCIONS AUXILIARS
//! Fusiona dos blobs
void Subsume(blob_vector &RegionData, int, int*, int, int, bool );
//! Crea un nou blob
void NewBlob(blob_vector &buffer);
//! Reallocata el vector auxiliar de blobs subsumats
int *NewSubsume(int *SubSumedRegion, int elems_inbuffer);
//! indica si un pixel 閟 extern en la m鄐cara (pq val 0 o t
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -