www.pudn.com > Gesture[20040824].rar > private.h
#if _MSC_VER >= 1000
#pragma once
#endif
#ifndef __FORESIGHT_MIL__
#define __FORESIGHT_MIL__
#endif
const int MinHandContourLength = 100;
const float Scale_Image = 20.0;
const float Scale_Stddev = 2.0;
const int MaxFrames = 300;
const double Pi = 3.1415926;
typedef CvBox2D32f CvStatisticFeatures;
typedef struct CvContourFeatures {
int nTips;
CvPoint FingerTips[100];
int nRoots;
CvPoint FingerRoots[100];
} CvContourFeatures;
typedef enum ColorModel {
NULL_COLOR,
RGB,
HSV,
NormalizedRGB
} ColorModel;
typedef enum BKGType {
NULL_BKG,
GUASSIAN,
STATIC
} BKGType;
typedef enum GestureStatus {
NULL_GESTURE,
HAS_GRABED_GESTURE,
HAS_THRESHOLDED,
HAS_DETECTED_STATISTICFEATURES,
HAS_DETECTED_CONTOURFEATURES
} GestureStatus;
typedef struct GuassianDistribution2D {
CvPoint2D32f mean; //mean.x mean.y
CvPoint3D32f stddev; //stddev.xx stddev.yy stddev.xy
} GuassianDistribution2D;