OpenCV  2.4.13.2
Open Source Computer Vision
blobtrack.hpp File Reference
#include "opencv2/core/core_c.h"
#include <stdio.h>

Classes

struct  CvDefParam
 
class  CvVSModule
 
class  CvFGDetector
 
struct  CvBlob
 
class  CvBlobSeq
 
struct  CvBlobTrack
 
class  CvBlobTrackSeq
 
class  CvBlobDetector
 
struct  CvDetectedBlob
 
class  CvObjectDetector
 
struct  CvDrawShape
 
class  CvImageDrawer
 
class  CvBlobTrackGen
 
class  CvBlobTracker
 
class  CvBlobTrackerOne
 
struct  CvBlobTrackerParamMS
 
struct  CvBlobTrackerParamLH
 
class  CvBlobTrackPostProc
 
class  CvBlobTrackPostProcOne
 
class  CvBlobTrackPredictor
 
class  CvBlobTrackAnalysis
 
class  CvBlobTrackFVGen
 
class  CvBlobTrackAnalysisOne
 
class  CvBlobTrackAnalysisHeight
 
class  CvBlobTrackerAuto
 
struct  CvBlobTrackerAutoParam1
 
struct  CvTracksTimePos
 
class  CvProb
 

Macros

#define CV_BLOB_MINW   5
 
#define CV_BLOB_MINH   5
 
#define CV_BLOB_ID(pB)   (((CvBlob*)(pB))->ID)
 
#define CV_BLOB_CENTER(pB)   cvPoint2D32f(((CvBlob*)(pB))->x,((CvBlob*)(pB))->y)
 
#define CV_BLOB_X(pB)   (((CvBlob*)(pB))->x)
 
#define CV_BLOB_Y(pB)   (((CvBlob*)(pB))->y)
 
#define CV_BLOB_WX(pB)   (((CvBlob*)(pB))->w)
 
#define CV_BLOB_WY(pB)   (((CvBlob*)(pB))->h)
 
#define CV_BLOB_RX(pB)   (0.5f*CV_BLOB_WX(pB))
 
#define CV_BLOB_RY(pB)   (0.5f*CV_BLOB_WY(pB))
 
#define CV_BLOB_RECT(pB)   cvRect(cvRound(((CvBlob*)(pB))->x-CV_BLOB_RX(pB)),cvRound(((CvBlob*)(pB))->y-CV_BLOB_RY(pB)),cvRound(CV_BLOB_WX(pB)),cvRound(CV_BLOB_WY(pB)))
 
#define PROFILE_EPANECHNIKOV   0
 
#define PROFILE_DOG   1
 
#define CV_BT_HIST_TYPE_S   0
 
#define CV_BT_HIST_TYPE_MG   1
 
#define CV_BT_HIST_TYPE_MG2   2
 
#define CV_BT_HIST_TYPE_H   3
 
#define CV_NOISE_NONE   0
 
#define CV_NOISE_GAUSSIAN   1
 
#define CV_NOISE_UNIFORM   2
 
#define CV_NOISE_SPECKLE   3
 
#define CV_NOISE_SALT_AND_PEPPER   4
 

Typedefs

typedef void CvTestSeq
 

Functions

void cvWriteStruct (CvFileStorage *fs, const char *name, void *addr, const char *desc, int num=1)
 
void cvReadStructByName (CvFileStorage *fs, CvFileNode *node, const char *name, void *addr, const char *desc)
 
void cvReleaseFGDetector (CvFGDetector **ppT)
 
CvFGDetectorcvCreateFGDetectorBase (int type, void *param)
 
CvBlob cvBlob (float x, float y, float w, float h)
 
void cvReleaseBlobDetector (CvBlobDetector **ppBD)
 
CvBlobDetectorcvCreateBlobDetectorSimple ()
 
CvBlobDetectorcvCreateBlobDetectorCC ()
 
CV_INLINE CvDetectedBlob cvDetectedBlob (float x, float y, float w, float h, int ID=0, float response=0.0F)
 
CV_INLINE CvRect cvRectIntersection (const CvRect r1, const CvRect r2)
 
void cvReleaseBlobTrackGen (CvBlobTrackGen **pBTGen)
 
CvBlobTrackGencvCreateModuleBlobTrackGen1 ()
 
CvBlobTrackGencvCreateModuleBlobTrackGenYML ()
 
void cvReleaseBlobTracker (CvBlobTracker **ppT)
 
void cvReleaseBlobTrackerOne (CvBlobTrackerOne **ppT)
 
CvBlobTrackercvCreateBlobTrackerList (CvBlobTrackerOne *(*create)())
 
CvBlobTrackercvCreateBlobTrackerMS1 (CvBlobTrackerParamMS *param)
 
CvBlobTrackercvCreateBlobTrackerMS2 (CvBlobTrackerParamMS *param)
 
CvBlobTrackercvCreateBlobTrackerMS1ByList ()
 
CvBlobTrackercvCreateBlobTrackerLHR (CvBlobTrackerParamLH *=NULL)
 
CvBlobTrackercvCreateBlobTrackerLHRS (CvBlobTrackerParamLH *=NULL)
 
CvBlobTrackercvCreateBlobTrackerCC ()
 
CvBlobTrackercvCreateBlobTrackerCCMSPF ()
 
CvBlobTrackercvCreateBlobTrackerMSFG ()
 
CvBlobTrackercvCreateBlobTrackerMSFGS ()
 
CvBlobTrackercvCreateBlobTrackerMS ()
 
CvBlobTrackercvCreateBlobTrackerMSPF ()
 
void cvReleaseBlobTrackPostProc (CvBlobTrackPostProc **pBTPP)
 
CvBlobTrackPostProccvCreateBlobTrackPostProcList (CvBlobTrackPostProcOne *(*create)())
 
CvBlobTrackPostProccvCreateModuleBlobTrackPostProcKalman ()
 
CvBlobTrackPostProccvCreateModuleBlobTrackPostProcTimeAverRect ()
 
CvBlobTrackPostProccvCreateModuleBlobTrackPostProcTimeAverExp ()
 
CvBlobTrackPredictorcvCreateModuleBlobTrackPredictKalman ()
 
void cvReleaseBlobTrackAnalysis (CvBlobTrackAnalysis **pBTPP)
 
CvBlobTrackAnalysiscvCreateBlobTrackAnalysisList (CvBlobTrackAnalysisOne *(*create)())
 
CvBlobTrackAnalysiscvCreateModuleBlobTrackAnalysisHistP ()
 
CvBlobTrackAnalysiscvCreateModuleBlobTrackAnalysisHistPV ()
 
CvBlobTrackAnalysiscvCreateModuleBlobTrackAnalysisHistPVS ()
 
CvBlobTrackAnalysiscvCreateModuleBlobTrackAnalysisHistSS ()
 
CvBlobTrackAnalysiscvCreateModuleBlobTrackAnalysisTrackDist ()
 
CvBlobTrackAnalysiscvCreateModuleBlobTrackAnalysisIOR ()
 
void cvReleaseBlobTrackerAuto (CvBlobTrackerAuto **ppT)
 
CvBlobTrackerAutocvCreateBlobTrackerAuto1 (CvBlobTrackerAutoParam1 *param=NULL)
 
CvBlobTrackerAutocvCreateBlobTrackerAuto (int type, void *param)
 
void cvCreateTracks_One (CvBlobTrackSeq *TS)
 
void cvCreateTracks_Same (CvBlobTrackSeq *TS1, CvBlobTrackSeq *TS2)
 
void cvCreateTracks_AreaErr (CvBlobTrackSeq *TS1, CvBlobTrackSeq *TS2, int addW, int addH)
 
void cvReleaseProb (CvProb **ppProb)
 
CvProbcvCreateProbS (int dim, CvSize size, int sample_num)
 
CvProbcvCreateProbMG (int dim, CvSize size, int sample_num)
 
CvProbcvCreateProbMG2 (int dim, CvSize size, int sample_num)
 
CvProbcvCreateProbHist (int dim, CvSize size)
 
CvProbcvCreateProb (int type, int dim, CvSize size=cvSize(1, 1), void *=NULL)
 
CvTestSeqcvCreateTestSeq (char *pConfigfile, char **videos, int numvideo, float Scale=1, int noise_type=0, double noise_ampl=0)
 
void cvReleaseTestSeq (CvTestSeq **ppTestSeq)
 
IplImagecvTestSeqQueryFrame (CvTestSeq *pTestSeq)
 
IplImagecvTestSeqGetFGMask (CvTestSeq *pTestSeq)
 
IplImagecvTestSeqGetImage (CvTestSeq *pTestSeq)
 
CvSize cvTestSeqGetImageSize (CvTestSeq *pTestSeq)
 
int cvTestSeqFrameNum (CvTestSeq *pTestSeq)
 
int cvTestSeqGetObjectNum (CvTestSeq *pTestSeq)
 
int cvTestSeqGetObjectPos (CvTestSeq *pTestSeq, int ObjIndex, CvPoint2D32f *pPos)
 
int cvTestSeqGetObjectSize (CvTestSeq *pTestSeq, int ObjIndex, CvPoint2D32f *pSize)
 
void cvTestSeqAddNoise (CvTestSeq *pTestSeq, int noise_type=0, double noise_ampl=0)
 
void cvTestSeqAddIntensityVariation (CvTestSeq *pTestSeq, float DI_per_frame, float MinI, float MaxI)
 
void cvTestSeqSetFrame (CvTestSeq *pTestSeq, int n)
 

Macro Definition Documentation

§ CV_BLOB_CENTER

#define CV_BLOB_CENTER (   pB)    cvPoint2D32f(((CvBlob*)(pB))->x,((CvBlob*)(pB))->y)

§ CV_BLOB_ID

#define CV_BLOB_ID (   pB)    (((CvBlob*)(pB))->ID)

§ CV_BLOB_MINH

#define CV_BLOB_MINH   5

§ CV_BLOB_MINW

#define CV_BLOB_MINW   5

§ CV_BLOB_RECT

#define CV_BLOB_RECT (   pB)    cvRect(cvRound(((CvBlob*)(pB))->x-CV_BLOB_RX(pB)),cvRound(((CvBlob*)(pB))->y-CV_BLOB_RY(pB)),cvRound(CV_BLOB_WX(pB)),cvRound(CV_BLOB_WY(pB)))

§ CV_BLOB_RX

#define CV_BLOB_RX (   pB)    (0.5f*CV_BLOB_WX(pB))

§ CV_BLOB_RY

#define CV_BLOB_RY (   pB)    (0.5f*CV_BLOB_WY(pB))

§ CV_BLOB_WX

#define CV_BLOB_WX (   pB)    (((CvBlob*)(pB))->w)

§ CV_BLOB_WY

#define CV_BLOB_WY (   pB)    (((CvBlob*)(pB))->h)

§ CV_BLOB_X

#define CV_BLOB_X (   pB)    (((CvBlob*)(pB))->x)

§ CV_BLOB_Y

#define CV_BLOB_Y (   pB)    (((CvBlob*)(pB))->y)

§ CV_BT_HIST_TYPE_H

#define CV_BT_HIST_TYPE_H   3

§ CV_BT_HIST_TYPE_MG

#define CV_BT_HIST_TYPE_MG   1

§ CV_BT_HIST_TYPE_MG2

#define CV_BT_HIST_TYPE_MG2   2

§ CV_BT_HIST_TYPE_S

#define CV_BT_HIST_TYPE_S   0

§ CV_NOISE_GAUSSIAN

#define CV_NOISE_GAUSSIAN   1

§ CV_NOISE_NONE

#define CV_NOISE_NONE   0

§ CV_NOISE_SALT_AND_PEPPER

#define CV_NOISE_SALT_AND_PEPPER   4

§ CV_NOISE_SPECKLE

#define CV_NOISE_SPECKLE   3

§ CV_NOISE_UNIFORM

#define CV_NOISE_UNIFORM   2

§ PROFILE_DOG

#define PROFILE_DOG   1

§ PROFILE_EPANECHNIKOV

#define PROFILE_EPANECHNIKOV   0

Typedef Documentation

§ CvTestSeq

typedef void CvTestSeq

Function Documentation

§ cvBlob()

CvBlob cvBlob ( float  x,
float  y,
float  w,
float  h 
)
inline

§ cvCreateBlobDetectorCC()

CvBlobDetector* cvCreateBlobDetectorCC ( )

§ cvCreateBlobDetectorSimple()

CvBlobDetector* cvCreateBlobDetectorSimple ( )

§ cvCreateBlobTrackAnalysisList()

CvBlobTrackAnalysis* cvCreateBlobTrackAnalysisList ( CvBlobTrackAnalysisOne *(*)()  create)

§ cvCreateBlobTrackerAuto()

CvBlobTrackerAuto* cvCreateBlobTrackerAuto ( int  type,
void param 
)
inline

§ cvCreateBlobTrackerAuto1()

CvBlobTrackerAuto* cvCreateBlobTrackerAuto1 ( CvBlobTrackerAutoParam1 param = NULL)

§ cvCreateBlobTrackerCC()

CvBlobTracker* cvCreateBlobTrackerCC ( )

§ cvCreateBlobTrackerCCMSPF()

CvBlobTracker* cvCreateBlobTrackerCCMSPF ( )

§ cvCreateBlobTrackerLHR()

CvBlobTracker* cvCreateBlobTrackerLHR ( CvBlobTrackerParamLH = NULL)

§ cvCreateBlobTrackerLHRS()

CvBlobTracker* cvCreateBlobTrackerLHRS ( CvBlobTrackerParamLH = NULL)

§ cvCreateBlobTrackerList()

CvBlobTracker* cvCreateBlobTrackerList ( CvBlobTrackerOne *(*)()  create)

§ cvCreateBlobTrackerMS()

CvBlobTracker* cvCreateBlobTrackerMS ( )

§ cvCreateBlobTrackerMS1()

CvBlobTracker* cvCreateBlobTrackerMS1 ( CvBlobTrackerParamMS param)

§ cvCreateBlobTrackerMS1ByList()

CvBlobTracker* cvCreateBlobTrackerMS1ByList ( )

§ cvCreateBlobTrackerMS2()

CvBlobTracker* cvCreateBlobTrackerMS2 ( CvBlobTrackerParamMS param)

§ cvCreateBlobTrackerMSFG()

CvBlobTracker* cvCreateBlobTrackerMSFG ( )

§ cvCreateBlobTrackerMSFGS()

CvBlobTracker* cvCreateBlobTrackerMSFGS ( )

§ cvCreateBlobTrackerMSPF()

CvBlobTracker* cvCreateBlobTrackerMSPF ( )

§ cvCreateBlobTrackPostProcList()

CvBlobTrackPostProc* cvCreateBlobTrackPostProcList ( CvBlobTrackPostProcOne *(*)()  create)

§ cvCreateFGDetectorBase()

CvFGDetector* cvCreateFGDetectorBase ( int  type,
void param 
)

§ cvCreateModuleBlobTrackAnalysisHistP()

CvBlobTrackAnalysis* cvCreateModuleBlobTrackAnalysisHistP ( )

§ cvCreateModuleBlobTrackAnalysisHistPV()

CvBlobTrackAnalysis* cvCreateModuleBlobTrackAnalysisHistPV ( )

§ cvCreateModuleBlobTrackAnalysisHistPVS()

CvBlobTrackAnalysis* cvCreateModuleBlobTrackAnalysisHistPVS ( )

§ cvCreateModuleBlobTrackAnalysisHistSS()

CvBlobTrackAnalysis* cvCreateModuleBlobTrackAnalysisHistSS ( )

§ cvCreateModuleBlobTrackAnalysisIOR()

CvBlobTrackAnalysis* cvCreateModuleBlobTrackAnalysisIOR ( )

§ cvCreateModuleBlobTrackAnalysisTrackDist()

CvBlobTrackAnalysis* cvCreateModuleBlobTrackAnalysisTrackDist ( )

§ cvCreateModuleBlobTrackGen1()

CvBlobTrackGen* cvCreateModuleBlobTrackGen1 ( )

§ cvCreateModuleBlobTrackGenYML()

CvBlobTrackGen* cvCreateModuleBlobTrackGenYML ( )

§ cvCreateModuleBlobTrackPostProcKalman()

CvBlobTrackPostProc* cvCreateModuleBlobTrackPostProcKalman ( )

§ cvCreateModuleBlobTrackPostProcTimeAverExp()

CvBlobTrackPostProc* cvCreateModuleBlobTrackPostProcTimeAverExp ( )

§ cvCreateModuleBlobTrackPostProcTimeAverRect()

CvBlobTrackPostProc* cvCreateModuleBlobTrackPostProcTimeAverRect ( )

§ cvCreateModuleBlobTrackPredictKalman()

CvBlobTrackPredictor* cvCreateModuleBlobTrackPredictKalman ( )

§ cvCreateProb()

CvProb* cvCreateProb ( int  type,
int  dim,
CvSize  size = cvSize(1,1),
void = NULL 
)
inline

§ cvCreateProbHist()

CvProb* cvCreateProbHist ( int  dim,
CvSize  size 
)

§ cvCreateProbMG()

CvProb* cvCreateProbMG ( int  dim,
CvSize  size,
int  sample_num 
)

§ cvCreateProbMG2()

CvProb* cvCreateProbMG2 ( int  dim,
CvSize  size,
int  sample_num 
)

§ cvCreateProbS()

CvProb* cvCreateProbS ( int  dim,
CvSize  size,
int  sample_num 
)

§ cvCreateTestSeq()

CvTestSeq* cvCreateTestSeq ( char *  pConfigfile,
char **  videos,
int  numvideo,
float  Scale = 1,
int  noise_type = 0,
double  noise_ampl = 0 
)

§ cvCreateTracks_AreaErr()

void cvCreateTracks_AreaErr ( CvBlobTrackSeq TS1,
CvBlobTrackSeq TS2,
int  addW,
int  addH 
)

§ cvCreateTracks_One()

void cvCreateTracks_One ( CvBlobTrackSeq TS)

§ cvCreateTracks_Same()

void cvCreateTracks_Same ( CvBlobTrackSeq TS1,
CvBlobTrackSeq TS2 
)

§ cvDetectedBlob()

CV_INLINE CvDetectedBlob cvDetectedBlob ( float  x,
float  y,
float  w,
float  h,
int  ID = 0,
float  response = 0.0F 
)

§ cvReadStructByName()

void cvReadStructByName ( CvFileStorage fs,
CvFileNode node,
const char *  name,
void addr,
const char *  desc 
)

§ cvRectIntersection()

CV_INLINE CvRect cvRectIntersection ( const CvRect  r1,
const CvRect  r2 
)

§ cvReleaseBlobDetector()

void cvReleaseBlobDetector ( CvBlobDetector **  ppBD)

§ cvReleaseBlobTrackAnalysis()

void cvReleaseBlobTrackAnalysis ( CvBlobTrackAnalysis **  pBTPP)
inline

§ cvReleaseBlobTracker()

void cvReleaseBlobTracker ( CvBlobTracker **  ppT)

§ cvReleaseBlobTrackerAuto()

void cvReleaseBlobTrackerAuto ( CvBlobTrackerAuto **  ppT)
inline

§ cvReleaseBlobTrackerOne()

void cvReleaseBlobTrackerOne ( CvBlobTrackerOne **  ppT)
inline

§ cvReleaseBlobTrackGen()

void cvReleaseBlobTrackGen ( CvBlobTrackGen **  pBTGen)
inline

§ cvReleaseBlobTrackPostProc()

void cvReleaseBlobTrackPostProc ( CvBlobTrackPostProc **  pBTPP)
inline

§ cvReleaseFGDetector()

void cvReleaseFGDetector ( CvFGDetector **  ppT)

§ cvReleaseProb()

void cvReleaseProb ( CvProb **  ppProb)
inline

§ cvReleaseTestSeq()

void cvReleaseTestSeq ( CvTestSeq **  ppTestSeq)

§ cvTestSeqAddIntensityVariation()

void cvTestSeqAddIntensityVariation ( CvTestSeq pTestSeq,
float  DI_per_frame,
float  MinI,
float  MaxI 
)

§ cvTestSeqAddNoise()

void cvTestSeqAddNoise ( CvTestSeq pTestSeq,
int  noise_type = 0,
double  noise_ampl = 0 
)

§ cvTestSeqFrameNum()

int cvTestSeqFrameNum ( CvTestSeq pTestSeq)

§ cvTestSeqGetFGMask()

IplImage* cvTestSeqGetFGMask ( CvTestSeq pTestSeq)

§ cvTestSeqGetImage()

IplImage* cvTestSeqGetImage ( CvTestSeq pTestSeq)

§ cvTestSeqGetImageSize()

CvSize cvTestSeqGetImageSize ( CvTestSeq pTestSeq)

§ cvTestSeqGetObjectNum()

int cvTestSeqGetObjectNum ( CvTestSeq pTestSeq)

§ cvTestSeqGetObjectPos()

int cvTestSeqGetObjectPos ( CvTestSeq pTestSeq,
int  ObjIndex,
CvPoint2D32f pPos 
)

§ cvTestSeqGetObjectSize()

int cvTestSeqGetObjectSize ( CvTestSeq pTestSeq,
int  ObjIndex,
CvPoint2D32f pSize 
)

§ cvTestSeqQueryFrame()

IplImage* cvTestSeqQueryFrame ( CvTestSeq pTestSeq)

§ cvTestSeqSetFrame()

void cvTestSeqSetFrame ( CvTestSeq pTestSeq,
int  n 
)

§ cvWriteStruct()

void cvWriteStruct ( CvFileStorage fs,
const char *  name,
void addr,
const char *  desc,
int  num = 1 
)