opencv  2.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Macros | Typedefs | Enumerations | Functions
legacy.hpp File Reference

Go to the source code of this file.

Classes

struct  Cv3dTracker2dTrackedObject
 
struct  Cv3dTrackerCameraInfo
 
struct  Cv3dTrackerCameraIntrinsics
 
struct  Cv3dTrackerTrackedObject
 
class  CvCalibFilter
 
struct  CvCamera
 
class  CvCamShiftTracker
 
struct  CvCliqueFinder
 
struct  CvConDensation
 
struct  CvContourOrientation
 
struct  CvContourTree
 
struct  CvEHMM
 
struct  CvEHMMState
 
struct  CvFace
 
struct  CvGraphWeightedEdge
 
struct  CvGraphWeightedVtx
 
class  CvImage
 
struct  CvImgObsInfo
 
union  CvInput
 
struct  CvLCMEdge
 
struct  CvLCMNode
 
class  CvMatrix
 
struct  CvMatrix3
 
struct  CvStereoCamera
 
struct  CvStereoLineCoeff
 
struct  CvVoronoiDiagram2D
 
struct  CvVoronoiEdge2D
 
struct  CvVoronoiNode2D
 
struct  CvVoronoiSite2D
 

Macros

#define CLIQUE_END   0
 
#define CLIQUE_FOUND   1
 
#define CLIQUE_TIME_OFF   2
 
#define CV_ARRAY   2
 
#define CV_CAMERA_TO_WARP   1
 
#define CV_COUNT_OBS(roi, win, delta, numObs)
 
#define CV_CURRENT_INT(reader)   (*((int *)(reader).ptr))
 
#define CV_DISPARITY_BIRCHFIELD   0
 
#define CV_DOMINANT_IPAN   1
 
#define CV_EIGOBJ_BOTH_CALLBACK   3
 
#define CV_EIGOBJ_INPUT_CALLBACK   1
 
#define CV_EIGOBJ_NO_CALLBACK   0
 
#define CV_EIGOBJ_OUTPUT_CALLBACK   2
 
#define CV_FIRST_VORONOIEDGE2D(SITE)   ((SITE)->edge[0])
 
#define CV_GLCM_ALL   0
 
#define CV_GLCM_DESC   2
 
#define CV_GLCM_GLCM   1
 
#define CV_GLCM_OPTIMIZATION_HISTOGRAM   0
 
#define CV_GLCM_OPTIMIZATION_LUT   -1
 
#define CV_GLCM_OPTIMIZATION_NONE   -2
 
#define CV_GLCMDESC_CLUSTERSHADE   5
 
#define CV_GLCMDESC_CLUSTERTENDENCY   4
 
#define CV_GLCMDESC_CONTRAST   3
 
#define CV_GLCMDESC_CORRELATION   6
 
#define CV_GLCMDESC_CORRELATIONINFO1   7
 
#define CV_GLCMDESC_CORRELATIONINFO2   8
 
#define CV_GLCMDESC_ENERGY   1
 
#define CV_GLCMDESC_ENTROPY   0
 
#define CV_GLCMDESC_HOMOGENITY   2
 
#define CV_GLCMDESC_MAXIMUMPROBABILITY   9
 
#define CV_GLCMDESC_OPTIMIZATION_ALLOWDOUBLENEST   10
 
#define CV_GLCMDESC_OPTIMIZATION_ALLOWTRIPLENEST   11
 
#define CV_GLCMDESC_OPTIMIZATION_HISTOGRAM   4
 
#define CV_GRAPH_WEIGHTED_EDGE_FIELDS()   CV_GRAPH_EDGE_FIELDS()
 
#define CV_GRAPH_WEIGHTED_VERTEX_FIELDS()
 
#define CV_IDP_BIRCHFIELD_PARAM1   25
 
#define CV_IDP_BIRCHFIELD_PARAM2   5
 
#define CV_IDP_BIRCHFIELD_PARAM3   12
 
#define CV_IDP_BIRCHFIELD_PARAM4   15
 
#define CV_IDP_BIRCHFIELD_PARAM5   25
 
#define CV_LAST_VORONOIEDGE2D(SITE)   ((SITE)->edge[1])
 
#define CV_NEXT_VORONOIEDGE2D(EDGE, SITE)   ((EDGE)->next[(EDGE)->site[0] != (SITE)])
 
#define CV_NEXT_VORONOISITE2D(SITE)   ((SITE)->edge[0]->site[((SITE)->edge[0]->site[0] == (SITE))])
 
#define CV_NUM_FACE_ELEMENTS   3
 
#define CV_PREV_INT(reader)   (*((int *)(reader).prev_elem))
 
#define CV_PREV_VORONOIEDGE2D(EDGE, SITE)   ((EDGE)->next[2 + ((EDGE)->site[0] != (SITE))])
 
#define CV_PREV_VORONOISITE2D(SITE)   ((SITE)->edge[1]->site[((SITE)->edge[1]->site[0] == (SITE))])
 
#define CV_TWIN_VORONOISITE2D(SITE, EDGE)   ( (EDGE)->site[((EDGE)->site[0] == (SITE))])
 
#define CV_UNDEF_SC_PARAM   12345
 
#define CV_VALUE   1
 
#define CV_VORONOIDIAGRAM2D_FIELDS()
 
#define CV_VORONOIEDGE2D_BEGINNODE(EDGE, SITE)   ((EDGE)->node[((EDGE)->site[0] != (SITE))])
 
#define CV_VORONOIEDGE2D_ENDNODE(EDGE, SITE)   ((EDGE)->node[((EDGE)->site[0] == (SITE))])
 
#define CV_VORONOIEDGE2D_FIELDS()
 
#define CV_VORONOINODE2D_FIELDS()
 
#define CV_VORONOISITE2D_FIELDS()
 
#define CV_WARP_TO_CAMERA   2
 

Typedefs

typedef CvImgObsInfo Cv1DObsInfo
 
typedef unsigned char CvBool
 
typedef enum CvCalibEtalonType CvCalibEtalonType
 
typedef int(CV_CDECL * CvCallback )(int index, void *buffer, void *user_data)
 
typedef struct CvCamera CvCamera
 
typedef struct CvCliqueFinder CvCliqueFinder
 
typedef struct CvConDensation CvConDensation
 
typedef struct CvContourOrientation CvContourOrientation
 
typedef struct CvContourTree CvContourTree
 
typedef struct CvEHMM CvEHMM
 
typedef struct CvEHMMState CvEHMMState
 
typedef struct CvFace CvFaceData
 
typedef struct CvFaceTracker CvFaceTracker
 
typedef struct CvGLCM CvGLCM
 
typedef struct CvGraphWeightedEdge CvGraphWeightedEdge
 
typedef struct CvGraphWeightedVtx CvGraphWeightedVtx
 
typedef enum CvGraphWeightType CvGraphWeightType
 
typedef struct CvImgObsInfo CvImgObsInfo
 
typedef struct CvLCMEdge CvLCMEdge
 
typedef struct CvLCMNode CvLCMNode
 
typedef enum CvLeeParameters CvLeeParameters
 
typedef struct CvMatrix3 CvMatrix3
 
typedef struct CvStereoCamera CvStereoCamera
 
typedef struct CvStereoLineCoeff CvStereoLineCoeff
 
typedef struct CvVoronoiDiagram2D CvVoronoiDiagram2D
 
typedef struct CvVoronoiEdge2D CvVoronoiEdge2D
 
typedef struct CvVoronoiNode2D CvVoronoiNode2D
 
typedef struct CvVoronoiSite2D CvVoronoiSite2D
 

Enumerations

enum  { CV_CONTOUR_TREES_MATCH_I1 = 1 }
 
enum  CV_FACE_ELEMENTS { CV_FACE_MOUTH = 0, CV_FACE_LEFT_EYE = 1, CV_FACE_RIGHT_EYE = 2 }
 
enum  CvCalibEtalonType { CV_CALIB_ETALON_USER = -1, CV_CALIB_ETALON_CHESSBOARD = 0, CV_CALIB_ETALON_CHECKERBOARD = CV_CALIB_ETALON_CHESSBOARD }
 
enum  CvGraphWeightType { CV_NOT_WEIGHTED, CV_WEIGHTED_VTX, CV_WEIGHTED_EDGE, CV_WEIGHTED_ALL }
 
enum  CvLeeParameters {
  CV_LEE_INT = 0, CV_LEE_FLOAT = 1, CV_LEE_DOUBLE = 2, CV_LEE_AUTO = -1,
  CV_LEE_ERODE = 0, CV_LEE_ZOOM = 1, CV_LEE_NON = 2
}
 

Functions

CV_INLINE
Cv3dTracker2dTrackedObject 
cv3dTracker2dTrackedObject (int id, CvPoint2D32f p)
 
CvBool cv3dTrackerCalibrateCameras (int num_cameras, const Cv3dTrackerCameraIntrinsics camera_intrinsics[], CvSize etalon_size, float square_size, IplImage *samples[], Cv3dTrackerCameraInfo camera_info[])
 
int cv3dTrackerLocateObjects (int num_cameras, int num_objects, const Cv3dTrackerCameraInfo camera_info[], const Cv3dTracker2dTrackedObject tracking_info[], Cv3dTrackerTrackedObject tracked_objects[])
 
CV_INLINE Cv3dTrackerTrackedObject cv3dTrackerTrackedObject (int id, CvPoint3D32f p)
 
CvSeq * cvCalcContoursCorrespondence (const CvSeq *contour1, const CvSeq *contour2, CvMemStorage *storage)
 
void cvCalcCovarMatrixEx (int nObjects, void *input, int ioFlags, int ioBufSize, uchar *buffer, void *userData, IplImage *avg, float *covarMatrix)
 
double cvCalcDecompCoeff (IplImage *obj, IplImage *eigObj, IplImage *avg)
 
void cvCalcEigenObjects (int nObjects, void *input, void *output, int ioFlags, int ioBufSize, void *userData, CvTermCriteria *calcLimit, IplImage *avg, float *eigVals)
 
void cvCalcImageHomography (float *line, CvPoint3D32f *center, float *intrinsic, float *homography)
 
void cvCalcPGH (const CvSeq *contour, CvHistogram *hist)
 
void cvComputePerspectiveMap (const double coeffs[3][3], CvArr *rectMapX, CvArr *rectMapY)
 
void cvConDensInitSampleSet (CvConDensation *condens, CvMat *lower_bound, CvMat *upper_bound)
 
void cvConDensUpdateByTime (CvConDensation *condens)
 
CvSeq * cvContourFromContourTree (const CvContourTree *tree, CvMemStorage *storage, CvTermCriteria criteria)
 
CvEHMM * cvCreate2DHMM (int *stateNumber, int *numMix, int obsSize)
 
CvConDensation * cvCreateConDensation (int dynam_params, int measure_params, int sample_count)
 
CvContourTree * cvCreateContourTree (const CvSeq *contour, CvMemStorage *storage, double threshold)
 
CvGLCM * cvCreateGLCM (const IplImage *srcImage, int stepMagnitude, const int *stepDirections CV_DEFAULT(0), int numStepDirections CV_DEFAULT(0), int optimizationType CV_DEFAULT(CV_GLCM_OPTIMIZATION_NONE))
 
void cvCreateGLCMDescriptors (CvGLCM *destGLCM, int descriptorOptimizationType CV_DEFAULT(CV_GLCMDESC_OPTIMIZATION_ALLOWDOUBLENEST))
 
IplImage * cvCreateGLCMImage (CvGLCM *GLCM, int step)
 
void cvCreateHandMask (CvSeq *hand_points, IplImage *img_mask, CvRect *roi)
 
CvImgObsInfo * cvCreateObsInfo (CvSize numObs, int obsSize)
 
void cvDeInterlace (const CvArr *frame, CvArr *fieldEven, CvArr *fieldOdd)
 
void cvDeleteMoire (IplImage *img)
 
void cvDynamicCorrespondMulti (int line_count, int *first, int *first_runs, int *second, int *second_runs, int *first_corr, int *second_corr)
 
void cvEigenDecomposite (IplImage *obj, int nEigObjs, void *eigInput, int ioFlags, void *userData, IplImage *avg, float *coeffs)
 
void cvEigenProjection (void *eigInput, int nEigObjs, int ioFlags, void *userData, float *coeffs, IplImage *avg, IplImage *proj)
 
void cvEstimateHMMStateParams (CvImgObsInfo **obs_info_array, int num_img, CvEHMM *hmm)
 
void cvEstimateObsProb (CvImgObsInfo *obs_info, CvEHMM *hmm)
 
void cvEstimateTransProb (CvImgObsInfo **obs_info_array, int num_img, CvEHMM *hmm)
 
float cvEViterbi (CvImgObsInfo *obs_info, CvEHMM *hmm)
 
CvSeq * cvFindDominantPoints (CvSeq *contour, CvMemStorage *storage, int method CV_DEFAULT(CV_DOMINANT_IPAN), double parameter1 CV_DEFAULT(0), double parameter2 CV_DEFAULT(0), double parameter3 CV_DEFAULT(0), double parameter4 CV_DEFAULT(0))
 
CvSeq * cvFindFace (IplImage *Image, CvMemStorage *storage)
 
void cvFindHandRegion (CvPoint3D32f *points, int count, CvSeq *indexs, float *line, CvSize2D32f size, int flag, CvPoint3D32f *center, CvMemStorage *storage, CvSeq **numbers)
 
void cvFindHandRegionA (CvPoint3D32f *points, int count, CvSeq *indexs, float *line, CvSize2D32f size, int jc, CvPoint3D32f *center, CvMemStorage *storage, CvSeq **numbers)
 
void cvFindRuns (int line_count, uchar *prewarp1, uchar *prewarp2, int *line_lengths1, int *line_lengths2, int *runs1, int *runs2, int *num_runs1, int *num_runs2)
 
void cvFindStereoCorrespondence (const CvArr *leftImage, const CvArr *rightImage, int mode, CvArr *dispImage, int maxDisparity, double param1 CV_DEFAULT(CV_UNDEF_SC_PARAM), double param2 CV_DEFAULT(CV_UNDEF_SC_PARAM), double param3 CV_DEFAULT(CV_UNDEF_SC_PARAM), double param4 CV_DEFAULT(CV_UNDEF_SC_PARAM), double param5 CV_DEFAULT(CV_UNDEF_SC_PARAM))
 
double cvGetGLCMDescriptor (CvGLCM *GLCM, int step, int descriptor)
 
void cvGetGLCMDescriptorStatistics (CvGLCM *GLCM, int descriptor, double *average, double *standardDeviation)
 
void cvImgToObs_DCT (const CvArr *arr, float *obs, CvSize dctSize, CvSize obsSize, CvSize delta)
 
CvFaceTracker * cvInitFaceTracker (CvFaceTracker *pFaceTracking, const IplImage *imgGray, CvRect *pRects, int nRects)
 
void cvInitMixSegm (CvImgObsInfo **obs_info_array, int num_img, CvEHMM *hmm)
 
void cvInitPerspectiveTransform (CvSize size, const CvPoint2D32f vertex[4], double matrix[3][3], CvArr *rectMap)
 
CvGraph * cvLinearContorModelFromVoronoiDiagram (CvVoronoiDiagram2D *VoronoiDiagram, float maxWidth)
 
void cvMakeAlphaScanlines (int *scanlines1, int *scanlines2, int *scanlinesA, int *lengths, int line_count, float alpha)
 
void cvMakeScanlines (const CvMatrix3 *matrix, CvSize img_size, int *scanlines1, int *scanlines2, int *lengths1, int *lengths2, int *line_count)
 
double cvMatchContourTrees (const CvContourTree *tree1, const CvContourTree *tree2, int method, double threshold)
 
void cvMixSegmL2 (CvImgObsInfo **obs_info_array, int num_img, CvEHMM *hmm)
 
CvSeq * cvMorphContours (const CvSeq *contour1, const CvSeq *contour2, CvSeq *corr, double alpha, CvMemStorage *storage)
 
void cvMorphEpilinesMulti (int line_count, uchar *first_pix, int *first_num, uchar *second_pix, int *second_num, uchar *dst_pix, int *dst_num, float alpha, int *first, int *first_runs, int *second, int *second_runs, int *first_corr, int *second_corr)
 
CvSeq * cvPostBoostingFindFace (IplImage *Image, CvMemStorage *storage)
 
void cvPostWarpImage (int line_count, uchar *src, int *src_nums, IplImage *img, int *scanlines)
 
void cvPreWarpImage (int line_count, IplImage *img, uchar *dst, int *dst_nums, int *scanlines)
 
void cvRelease2DHMM (CvEHMM **hmm)
 
void cvReleaseConDensation (CvConDensation **condens)
 
void cvReleaseFaceTracker (CvFaceTracker **ppFaceTracker)
 
void cvReleaseGLCM (CvGLCM **GLCM, int flag CV_DEFAULT(CV_GLCM_ALL))
 
int cvReleaseLinearContorModelStorage (CvGraph **Graph)
 
void cvReleaseObsInfo (CvImgObsInfo **obs_info)
 
void cvReleaseVoronoiStorage (CvVoronoiDiagram2D *VoronoiDiagram, CvMemStorage **pVoronoiStorage)
 
CvSeq * cvSegmentImage (const CvArr *srcarr, CvArr *dstarr, double canny_threshold, double ffill_threshold, CvMemStorage *storage)
 
void cvSnakeImage (const IplImage *image, CvPoint *points, int length, float *alpha, float *beta, float *gamma, int coeff_usage, CvSize win, CvTermCriteria criteria, int calc_gradient CV_DEFAULT(1))
 
int cvTrackFace (CvFaceTracker *pFaceTracker, IplImage *imgGray, CvRect *pRects, int nRects, CvPoint *ptRotate, double *dbAngleRotate)
 
void cvUniformImgSegm (CvImgObsInfo *obs_info, CvEHMM *ehmm)
 
int cvVoronoiDiagramFromContour (CvSeq *ContourSeq, CvVoronoiDiagram2D **VoronoiDiagram, CvMemStorage *VoronoiStorage, CvLeeParameters contour_type CV_DEFAULT(CV_LEE_INT), int contour_orientation CV_DEFAULT(-1), int attempt_number CV_DEFAULT(10))
 
int cvVoronoiDiagramFromImage (IplImage *pImage, CvSeq **ContourSeq, CvVoronoiDiagram2D **VoronoiDiagram, CvMemStorage *VoronoiStorage, CvLeeParameters regularization_method CV_DEFAULT(CV_LEE_NON), float approx_precision CV_DEFAULT(CV_LEE_AUTO))
 
int icvComCoeffForLine (CvPoint2D64f point1, CvPoint2D64f point2, CvPoint2D64f point3, CvPoint2D64f point4, double *camMatr1, double *rotMatr1, double *transVect1, double *camMatr2, double *rotMatr2, double *transVect2, CvStereoLineCoeff *coeffs, int *needSwapCameras)
 
int icvCompute3DPoint (double alpha, double betta, CvStereoLineCoeff *coeffs, CvPoint3D64f *point)
 
int icvComputeCoeffForStereo (CvStereoCamera *stereoCamera)
 
void icvComputeeInfiniteProject1 (double *rotMatr, double *camMatr1, double *camMatr2, CvPoint2D32f point1, CvPoint2D32f *point2)
 
void icvComputeeInfiniteProject2 (double *rotMatr, double *camMatr1, double *camMatr2, CvPoint2D32f *point1, CvPoint2D32f point2)
 
int icvComputeRestStereoParams (CvStereoCamera *stereoparams)
 
int icvComputeStereoLineCoeffs (CvPoint3D64f pointA, CvPoint3D64f pointB, CvPoint3D64f pointCam1, double gamma, CvStereoLineCoeff *coeffs)
 
void icvComputeStereoParamsForCameras (CvStereoCamera *stereoCamera)
 
int icvConvertPointSystem (CvPoint3D64f M2, CvPoint3D64f *M1, double *rotMatr, double *transVect)
 
int icvConvertWarpCoordinates (double coeffs[3][3], CvPoint2D32f *cameraPoint, CvPoint2D32f *warpPoint, int direction)
 
int icvCreateConvertMatrVect (double *rotMatr1, double *transVect1, double *rotMatr2, double *transVect2, double *convRotMatr, double *convTransVect)
 
IplImage * icvCreateIsometricImage (IplImage *src, IplImage *dst, int desired_depth, int desired_num_channels)
 
float icvDefinePointPosition (CvPoint2D32f point1, CvPoint2D32f point2, CvPoint2D32f point)
 
void icvDrawMosaic (CvSubdiv2D *subdiv, IplImage *src, IplImage *dst)
 
int icvGetAngleLine (CvPoint2D64f startPoint, CvSize imageSize, CvPoint2D64f *point1, CvPoint2D64f *point2)
 
void icvGetCoefForPiece (CvPoint2D64f p_start, CvPoint2D64f p_end, double *a, double *b, double *c, int *result)
 
void icvGetCrossDirectDirect (double *direct1, double *direct2, CvPoint2D64f *cross, int *result)
 
int icvGetCrossLineDirect (CvPoint2D32f p1, CvPoint2D32f p2, float a, float b, float c, CvPoint2D32f *cross)
 
int icvGetCrossLines (CvPoint3D64f point11, CvPoint3D64f point12, CvPoint3D64f point21, CvPoint3D64f point22, CvPoint3D64f *midPoint)
 
void icvGetCrossPieceDirect (CvPoint2D64f p_start, CvPoint2D64f p_end, double a, double b, double c, CvPoint2D64f *cross, int *result)
 
void icvGetCrossPiecePiece (CvPoint2D64f p1_start, CvPoint2D64f p1_end, CvPoint2D64f p2_start, CvPoint2D64f p2_end, CvPoint2D64f *cross, int *result)
 
int icvGetCrossPieceVector (CvPoint2D32f p1_start, CvPoint2D32f p1_end, CvPoint2D32f v2_start, CvPoint2D32f v2_end, CvPoint2D32f *cross)
 
void icvGetCrossRectDirect (CvSize imageSize, double a, double b, double c, CvPoint2D64f *start, CvPoint2D64f *end, int *result)
 
void icvGetCutPiece (double *areaLineCoef1, double *areaLineCoef2, CvPoint2D64f epipole, CvSize imageSize, CvPoint2D64f *point11, CvPoint2D64f *point12, CvPoint2D64f *point21, CvPoint2D64f *point22, int *result)
 
int icvGetDirectionForPoint (CvPoint2D64f point, double *camMatr, CvPoint3D64f *direct)
 
void icvGetDistanceFromPointToDirect (CvPoint2D64f point, double *lineCoef, double *dist)
 
void icvGetMiddleAnglePoint (CvPoint2D64f basePoint, CvPoint2D64f point1, CvPoint2D64f point2, CvPoint2D64f *midPoint)
 
void icvGetNormalDirect (double *direct, CvPoint2D64f point, double *normDirect)
 
void icvGetPieceLength (CvPoint2D64f point1, CvPoint2D64f point2, double *dist)
 
void icvGetPieceLength3D (CvPoint3D64f point1, CvPoint3D64f point2, double *dist)
 
void icvGetQuadsTransform (CvSize imageSize, double *camMatr1, double *rotMatr1, double *transVect1, double *camMatr2, double *rotMatr2, double *transVect2, CvSize *warpSize, double quad1[4][2], double quad2[4][2], double *fundMatr, CvPoint3D64f *epipole1, CvPoint3D64f *epipole2)
 
void icvGetQuadsTransformStruct (CvStereoCamera *stereoCamera)
 
int icvGetSymPoint3D (CvPoint3D64f pointCorner, CvPoint3D64f point1, CvPoint3D64f point2, CvPoint3D64f *pointSym2)
 
double icvGetVect (CvPoint2D64f basePoint, CvPoint2D64f point1, CvPoint2D64f point2)
 
void icvProjectPointToDirect (CvPoint2D64f point, double *lineCoeff, CvPoint2D64f *projectPoint)
 
void icvProjectPointToImage (CvPoint3D64f point, double *camMatr, double *rotMatr, double *transVect, CvPoint2D64f *projPoint)
 
CV_INLINE double icvSqDist2D32f (CvPoint2D32f pt1, CvPoint2D32f pt2)
 
int icvStereoCalibration (int numImages, int *nums, CvSize imageSize, CvPoint2D32f *imagePoints1, CvPoint2D32f *imagePoints2, CvPoint3D32f *objectPoints, CvStereoCamera *stereoparams)
 
int icvSubdiv2DCheck (CvSubdiv2D *subdiv)
 
CV_INLINE int iplHeight (const IplImage *img)
 
CV_INLINE int iplWidth (const IplImage *img)
 

Macro Definition Documentation

#define CLIQUE_END   0
#define CLIQUE_FOUND   1
#define CLIQUE_TIME_OFF   2
#define CV_ARRAY   2
#define CV_CAMERA_TO_WARP   1
#define CV_COUNT_OBS (   roi,
  win,
  delta,
  numObs 
)
Value:
{ \
(numObs)->width =((roi)->width -(win)->width +(delta)->width)/(delta)->width; \
(numObs)->height =((roi)->height -(win)->height +(delta)->height)/(delta)->height;\
}
#define CV_CURRENT_INT (   reader)    (*((int *)(reader).ptr))
#define CV_DISPARITY_BIRCHFIELD   0
#define CV_DOMINANT_IPAN   1
#define CV_EIGOBJ_BOTH_CALLBACK   3
#define CV_EIGOBJ_INPUT_CALLBACK   1
#define CV_EIGOBJ_NO_CALLBACK   0
#define CV_EIGOBJ_OUTPUT_CALLBACK   2
#define CV_FIRST_VORONOIEDGE2D (   SITE)    ((SITE)->edge[0])
#define CV_GLCM_ALL   0
#define CV_GLCM_DESC   2
#define CV_GLCM_GLCM   1
#define CV_GLCM_OPTIMIZATION_HISTOGRAM   0
#define CV_GLCM_OPTIMIZATION_LUT   -1
#define CV_GLCM_OPTIMIZATION_NONE   -2
#define CV_GLCMDESC_CLUSTERSHADE   5
#define CV_GLCMDESC_CLUSTERTENDENCY   4
#define CV_GLCMDESC_CONTRAST   3
#define CV_GLCMDESC_CORRELATION   6
#define CV_GLCMDESC_CORRELATIONINFO1   7
#define CV_GLCMDESC_CORRELATIONINFO2   8
#define CV_GLCMDESC_ENERGY   1
#define CV_GLCMDESC_ENTROPY   0
#define CV_GLCMDESC_HOMOGENITY   2
#define CV_GLCMDESC_MAXIMUMPROBABILITY   9
#define CV_GLCMDESC_OPTIMIZATION_ALLOWDOUBLENEST   10
#define CV_GLCMDESC_OPTIMIZATION_ALLOWTRIPLENEST   11
#define CV_GLCMDESC_OPTIMIZATION_HISTOGRAM   4
#define CV_GRAPH_WEIGHTED_EDGE_FIELDS ( )    CV_GRAPH_EDGE_FIELDS()
#define CV_GRAPH_WEIGHTED_VERTEX_FIELDS ( )
Value:
float weight;
#define CV_IDP_BIRCHFIELD_PARAM1   25
#define CV_IDP_BIRCHFIELD_PARAM2   5
#define CV_IDP_BIRCHFIELD_PARAM3   12
#define CV_IDP_BIRCHFIELD_PARAM4   15
#define CV_IDP_BIRCHFIELD_PARAM5   25
#define CV_LAST_VORONOIEDGE2D (   SITE)    ((SITE)->edge[1])
#define CV_NEXT_VORONOIEDGE2D (   EDGE,
  SITE 
)    ((EDGE)->next[(EDGE)->site[0] != (SITE)])
#define CV_NEXT_VORONOISITE2D (   SITE)    ((SITE)->edge[0]->site[((SITE)->edge[0]->site[0] == (SITE))])
#define CV_NUM_FACE_ELEMENTS   3
#define CV_PREV_INT (   reader)    (*((int *)(reader).prev_elem))
#define CV_PREV_VORONOIEDGE2D (   EDGE,
  SITE 
)    ((EDGE)->next[2 + ((EDGE)->site[0] != (SITE))])
#define CV_PREV_VORONOISITE2D (   SITE)    ((SITE)->edge[1]->site[((SITE)->edge[1]->site[0] == (SITE))])
#define CV_TWIN_VORONOISITE2D (   SITE,
  EDGE 
)    ( (EDGE)->site[((EDGE)->site[0] == (SITE))])
#define CV_UNDEF_SC_PARAM   12345
#define CV_VALUE   1
#define CV_VORONOIDIAGRAM2D_FIELDS ( )
Value:
#define CV_VORONOIEDGE2D_BEGINNODE (   EDGE,
  SITE 
)    ((EDGE)->node[((EDGE)->site[0] != (SITE))])
#define CV_VORONOIEDGE2D_ENDNODE (   EDGE,
  SITE 
)    ((EDGE)->node[((EDGE)->site[0] == (SITE))])
#define CV_VORONOIEDGE2D_FIELDS ( )
Value:
struct CvVoronoiNode2D *node[2]; \
struct CvVoronoiSite2D *site[2]; \
struct CvVoronoiEdge2D *next[4];
#define CV_VORONOINODE2D_FIELDS ( )
#define CV_VORONOISITE2D_FIELDS ( )
Value:
struct CvVoronoiNode2D *node[2]; \
struct CvVoronoiEdge2D *edge[2];
#define CV_WARP_TO_CAMERA   2

Typedef Documentation

typedef unsigned char CvBool
typedef int(CV_CDECL * CvCallback)(int index, void *buffer, void *user_data)
typedef struct CvCamera CvCamera
typedef struct CvContourTree CvContourTree
typedef struct CvEHMM CvEHMM
typedef struct CvEHMMState CvEHMMState
typedef struct CvFace CvFaceData
typedef struct CvFaceTracker CvFaceTracker
typedef struct CvGLCM CvGLCM
typedef struct CvImgObsInfo CvImgObsInfo
typedef struct CvLCMEdge CvLCMEdge
typedef struct CvLCMNode CvLCMNode
typedef struct CvMatrix3 CvMatrix3

Enumeration Type Documentation

anonymous enum
Enumerator:
CV_CONTOUR_TREES_MATCH_I1 
Enumerator:
CV_FACE_MOUTH 
CV_FACE_LEFT_EYE 
CV_FACE_RIGHT_EYE 
Enumerator:
CV_CALIB_ETALON_USER 
CV_CALIB_ETALON_CHESSBOARD 
CV_CALIB_ETALON_CHECKERBOARD 
Enumerator:
CV_NOT_WEIGHTED 
CV_WEIGHTED_VTX 
CV_WEIGHTED_EDGE 
CV_WEIGHTED_ALL 
Enumerator:
CV_LEE_INT 
CV_LEE_FLOAT 
CV_LEE_DOUBLE 
CV_LEE_AUTO 
CV_LEE_ERODE 
CV_LEE_ZOOM 
CV_LEE_NON 

Function Documentation

CV_INLINE Cv3dTracker2dTrackedObject cv3dTracker2dTrackedObject ( int  id,
CvPoint2D32f  p 
)
CvBool cv3dTrackerCalibrateCameras ( int  num_cameras,
const Cv3dTrackerCameraIntrinsics  camera_intrinsics[],
CvSize  etalon_size,
float  square_size,
IplImage *  samples[],
Cv3dTrackerCameraInfo  camera_info[] 
)
int cv3dTrackerLocateObjects ( int  num_cameras,
int  num_objects,
const Cv3dTrackerCameraInfo  camera_info[],
const Cv3dTracker2dTrackedObject  tracking_info[],
Cv3dTrackerTrackedObject  tracked_objects[] 
)
CV_INLINE Cv3dTrackerTrackedObject cv3dTrackerTrackedObject ( int  id,
CvPoint3D32f  p 
)
CvSeq* cvCalcContoursCorrespondence ( const CvSeq *  contour1,
const CvSeq *  contour2,
CvMemStorage *  storage 
)
void cvCalcCovarMatrixEx ( int  nObjects,
void *  input,
int  ioFlags,
int  ioBufSize,
uchar *  buffer,
void *  userData,
IplImage *  avg,
float *  covarMatrix 
)
double cvCalcDecompCoeff ( IplImage *  obj,
IplImage *  eigObj,
IplImage *  avg 
)
void cvCalcEigenObjects ( int  nObjects,
void *  input,
void *  output,
int  ioFlags,
int  ioBufSize,
void *  userData,
CvTermCriteria *  calcLimit,
IplImage *  avg,
float *  eigVals 
)
void cvCalcImageHomography ( float *  line,
CvPoint3D32f *  center,
float *  intrinsic,
float *  homography 
)
void cvCalcPGH ( const CvSeq *  contour,
CvHistogram *  hist 
)
void cvComputePerspectiveMap ( const double  coeffs[3][3],
CvArr *  rectMapX,
CvArr *  rectMapY 
)
void cvConDensInitSampleSet ( CvConDensation *  condens,
CvMat *  lower_bound,
CvMat *  upper_bound 
)
void cvConDensUpdateByTime ( CvConDensation *  condens)
CvSeq* cvContourFromContourTree ( const CvContourTree *  tree,
CvMemStorage *  storage,
CvTermCriteria  criteria 
)
CvEHMM* cvCreate2DHMM ( int *  stateNumber,
int *  numMix,
int  obsSize 
)
CvConDensation* cvCreateConDensation ( int  dynam_params,
int  measure_params,
int  sample_count 
)
CvContourTree* cvCreateContourTree ( const CvSeq *  contour,
CvMemStorage *  storage,
double  threshold 
)
CvGLCM* cvCreateGLCM ( const IplImage *  srcImage,
int  stepMagnitude,
const int *stepDirections   CV_DEFAULT0,
int numStepDirections   CV_DEFAULT0,
int optimizationType   CV_DEFAULTCV_GLCM_OPTIMIZATION_NONE 
)
void cvCreateGLCMDescriptors ( CvGLCM *  destGLCM,
int descriptorOptimizationType   CV_DEFAULTCV_GLCMDESC_OPTIMIZATION_ALLOWDOUBLENEST 
)
IplImage* cvCreateGLCMImage ( CvGLCM *  GLCM,
int  step 
)
void cvCreateHandMask ( CvSeq *  hand_points,
IplImage *  img_mask,
CvRect *  roi 
)
CvImgObsInfo* cvCreateObsInfo ( CvSize  numObs,
int  obsSize 
)
void cvDeInterlace ( const CvArr *  frame,
CvArr *  fieldEven,
CvArr *  fieldOdd 
)
void cvDeleteMoire ( IplImage *  img)
void cvDynamicCorrespondMulti ( int  line_count,
int *  first,
int *  first_runs,
int *  second,
int *  second_runs,
int *  first_corr,
int *  second_corr 
)
void cvEigenDecomposite ( IplImage *  obj,
int  nEigObjs,
void *  eigInput,
int  ioFlags,
void *  userData,
IplImage *  avg,
float *  coeffs 
)
void cvEigenProjection ( void *  eigInput,
int  nEigObjs,
int  ioFlags,
void *  userData,
float *  coeffs,
IplImage *  avg,
IplImage *  proj 
)
void cvEstimateHMMStateParams ( CvImgObsInfo **  obs_info_array,
int  num_img,
CvEHMM *  hmm 
)
void cvEstimateObsProb ( CvImgObsInfo *  obs_info,
CvEHMM *  hmm 
)
void cvEstimateTransProb ( CvImgObsInfo **  obs_info_array,
int  num_img,
CvEHMM *  hmm 
)
float cvEViterbi ( CvImgObsInfo *  obs_info,
CvEHMM *  hmm 
)
CvSeq* cvFindDominantPoints ( CvSeq *  contour,
CvMemStorage *  storage,
int method   CV_DEFAULTCV_DOMINANT_IPAN,
double parameter1   CV_DEFAULT0,
double parameter2   CV_DEFAULT0,
double parameter3   CV_DEFAULT0,
double parameter4   CV_DEFAULT0 
)
CvSeq* cvFindFace ( IplImage *  Image,
CvMemStorage *  storage 
)
void cvFindHandRegion ( CvPoint3D32f *  points,
int  count,
CvSeq *  indexs,
float *  line,
CvSize2D32f  size,
int  flag,
CvPoint3D32f *  center,
CvMemStorage *  storage,
CvSeq **  numbers 
)
void cvFindHandRegionA ( CvPoint3D32f *  points,
int  count,
CvSeq *  indexs,
float *  line,
CvSize2D32f  size,
int  jc,
CvPoint3D32f *  center,
CvMemStorage *  storage,
CvSeq **  numbers 
)
void cvFindRuns ( int  line_count,
uchar *  prewarp1,
uchar *  prewarp2,
int *  line_lengths1,
int *  line_lengths2,
int *  runs1,
int *  runs2,
int *  num_runs1,
int *  num_runs2 
)
void cvFindStereoCorrespondence ( const CvArr *  leftImage,
const CvArr *  rightImage,
int  mode,
CvArr *  dispImage,
int  maxDisparity,
double param1   CV_DEFAULTCV_UNDEF_SC_PARAM,
double param2   CV_DEFAULTCV_UNDEF_SC_PARAM,
double param3   CV_DEFAULTCV_UNDEF_SC_PARAM,
double param4   CV_DEFAULTCV_UNDEF_SC_PARAM,
double param5   CV_DEFAULTCV_UNDEF_SC_PARAM 
)
double cvGetGLCMDescriptor ( CvGLCM *  GLCM,
int  step,
int  descriptor 
)
void cvGetGLCMDescriptorStatistics ( CvGLCM *  GLCM,
int  descriptor,
double *  average,
double *  standardDeviation 
)
void cvImgToObs_DCT ( const CvArr *  arr,
float *  obs,
CvSize  dctSize,
CvSize  obsSize,
CvSize  delta 
)
CvFaceTracker* cvInitFaceTracker ( CvFaceTracker *  pFaceTracking,
const IplImage *  imgGray,
CvRect *  pRects,
int  nRects 
)
void cvInitMixSegm ( CvImgObsInfo **  obs_info_array,
int  num_img,
CvEHMM *  hmm 
)
void cvInitPerspectiveTransform ( CvSize  size,
const CvPoint2D32f  vertex[4],
double  matrix[3][3],
CvArr *  rectMap 
)
CvGraph* cvLinearContorModelFromVoronoiDiagram ( CvVoronoiDiagram2D *  VoronoiDiagram,
float  maxWidth 
)
void cvMakeAlphaScanlines ( int *  scanlines1,
int *  scanlines2,
int *  scanlinesA,
int *  lengths,
int  line_count,
float  alpha 
)
void cvMakeScanlines ( const CvMatrix3 *  matrix,
CvSize  img_size,
int *  scanlines1,
int *  scanlines2,
int *  lengths1,
int *  lengths2,
int *  line_count 
)
double cvMatchContourTrees ( const CvContourTree *  tree1,
const CvContourTree *  tree2,
int  method,
double  threshold 
)
void cvMixSegmL2 ( CvImgObsInfo **  obs_info_array,
int  num_img,
CvEHMM *  hmm 
)
CvSeq* cvMorphContours ( const CvSeq *  contour1,
const CvSeq *  contour2,
CvSeq *  corr,
double  alpha,
CvMemStorage *  storage 
)
void cvMorphEpilinesMulti ( int  line_count,
uchar *  first_pix,
int *  first_num,
uchar *  second_pix,
int *  second_num,
uchar *  dst_pix,
int *  dst_num,
float  alpha,
int *  first,
int *  first_runs,
int *  second,
int *  second_runs,
int *  first_corr,
int *  second_corr 
)
CvSeq* cvPostBoostingFindFace ( IplImage *  Image,
CvMemStorage *  storage 
)
void cvPostWarpImage ( int  line_count,
uchar *  src,
int *  src_nums,
IplImage *  img,
int *  scanlines 
)
void cvPreWarpImage ( int  line_count,
IplImage *  img,
uchar *  dst,
int *  dst_nums,
int *  scanlines 
)
void cvRelease2DHMM ( CvEHMM **  hmm)
void cvReleaseConDensation ( CvConDensation **  condens)
void cvReleaseFaceTracker ( CvFaceTracker **  ppFaceTracker)
void cvReleaseGLCM ( CvGLCM **  GLCM,
int flag   CV_DEFAULTCV_GLCM_ALL 
)
int cvReleaseLinearContorModelStorage ( CvGraph **  Graph)
void cvReleaseObsInfo ( CvImgObsInfo **  obs_info)
void cvReleaseVoronoiStorage ( CvVoronoiDiagram2D *  VoronoiDiagram,
CvMemStorage **  pVoronoiStorage 
)
CvSeq* cvSegmentImage ( const CvArr *  srcarr,
CvArr *  dstarr,
double  canny_threshold,
double  ffill_threshold,
CvMemStorage *  storage 
)
void cvSnakeImage ( const IplImage *  image,
CvPoint *  points,
int  length,
float *  alpha,
float *  beta,
float *  gamma,
int  coeff_usage,
CvSize  win,
CvTermCriteria  criteria,
int calc_gradient   CV_DEFAULT1 
)
int cvTrackFace ( CvFaceTracker *  pFaceTracker,
IplImage *  imgGray,
CvRect *  pRects,
int  nRects,
CvPoint *  ptRotate,
double *  dbAngleRotate 
)
void cvUniformImgSegm ( CvImgObsInfo *  obs_info,
CvEHMM *  ehmm 
)
int cvVoronoiDiagramFromContour ( CvSeq *  ContourSeq,
CvVoronoiDiagram2D **  VoronoiDiagram,
CvMemStorage *  VoronoiStorage,
CvLeeParameters contour_type   CV_DEFAULTCV_LEE_INT,
int contour_orientation   CV_DEFAULT-1,
int attempt_number   CV_DEFAULT10 
)
int cvVoronoiDiagramFromImage ( IplImage *  pImage,
CvSeq **  ContourSeq,
CvVoronoiDiagram2D **  VoronoiDiagram,
CvMemStorage *  VoronoiStorage,
CvLeeParameters regularization_method   CV_DEFAULTCV_LEE_NON,
float approx_precision   CV_DEFAULTCV_LEE_AUTO 
)
int icvComCoeffForLine ( CvPoint2D64f  point1,
CvPoint2D64f  point2,
CvPoint2D64f  point3,
CvPoint2D64f  point4,
double *  camMatr1,
double *  rotMatr1,
double *  transVect1,
double *  camMatr2,
double *  rotMatr2,
double *  transVect2,
CvStereoLineCoeff *  coeffs,
int *  needSwapCameras 
)
int icvCompute3DPoint ( double  alpha,
double  betta,
CvStereoLineCoeff *  coeffs,
CvPoint3D64f *  point 
)
int icvComputeCoeffForStereo ( CvStereoCamera *  stereoCamera)
void icvComputeeInfiniteProject1 ( double *  rotMatr,
double *  camMatr1,
double *  camMatr2,
CvPoint2D32f  point1,
CvPoint2D32f *  point2 
)
void icvComputeeInfiniteProject2 ( double *  rotMatr,
double *  camMatr1,
double *  camMatr2,
CvPoint2D32f *  point1,
CvPoint2D32f  point2 
)
int icvComputeRestStereoParams ( CvStereoCamera *  stereoparams)
int icvComputeStereoLineCoeffs ( CvPoint3D64f  pointA,
CvPoint3D64f  pointB,
CvPoint3D64f  pointCam1,
double  gamma,
CvStereoLineCoeff *  coeffs 
)
void icvComputeStereoParamsForCameras ( CvStereoCamera *  stereoCamera)
int icvConvertPointSystem ( CvPoint3D64f  M2,
CvPoint3D64f *  M1,
double *  rotMatr,
double *  transVect 
)
int icvConvertWarpCoordinates ( double  coeffs[3][3],
CvPoint2D32f *  cameraPoint,
CvPoint2D32f *  warpPoint,
int  direction 
)
int icvCreateConvertMatrVect ( double *  rotMatr1,
double *  transVect1,
double *  rotMatr2,
double *  transVect2,
double *  convRotMatr,
double *  convTransVect 
)
IplImage* icvCreateIsometricImage ( IplImage *  src,
IplImage *  dst,
int  desired_depth,
int  desired_num_channels 
)
float icvDefinePointPosition ( CvPoint2D32f  point1,
CvPoint2D32f  point2,
CvPoint2D32f  point 
)
void icvDrawMosaic ( CvSubdiv2D *  subdiv,
IplImage *  src,
IplImage *  dst 
)
int icvGetAngleLine ( CvPoint2D64f  startPoint,
CvSize  imageSize,
CvPoint2D64f *  point1,
CvPoint2D64f *  point2 
)
void icvGetCoefForPiece ( CvPoint2D64f  p_start,
CvPoint2D64f  p_end,
double *  a,
double *  b,
double *  c,
int *  result 
)
void icvGetCrossDirectDirect ( double *  direct1,
double *  direct2,
CvPoint2D64f *  cross,
int *  result 
)
int icvGetCrossLineDirect ( CvPoint2D32f  p1,
CvPoint2D32f  p2,
float  a,
float  b,
float  c,
CvPoint2D32f *  cross 
)
int icvGetCrossLines ( CvPoint3D64f  point11,
CvPoint3D64f  point12,
CvPoint3D64f  point21,
CvPoint3D64f  point22,
CvPoint3D64f *  midPoint 
)
void icvGetCrossPieceDirect ( CvPoint2D64f  p_start,
CvPoint2D64f  p_end,
double  a,
double  b,
double  c,
CvPoint2D64f *  cross,
int *  result 
)
void icvGetCrossPiecePiece ( CvPoint2D64f  p1_start,
CvPoint2D64f  p1_end,
CvPoint2D64f  p2_start,
CvPoint2D64f  p2_end,
CvPoint2D64f *  cross,
int *  result 
)
int icvGetCrossPieceVector ( CvPoint2D32f  p1_start,
CvPoint2D32f  p1_end,
CvPoint2D32f  v2_start,
CvPoint2D32f  v2_end,
CvPoint2D32f *  cross 
)
void icvGetCrossRectDirect ( CvSize  imageSize,
double  a,
double  b,
double  c,
CvPoint2D64f *  start,
CvPoint2D64f *  end,
int *  result 
)
void icvGetCutPiece ( double *  areaLineCoef1,
double *  areaLineCoef2,
CvPoint2D64f  epipole,
CvSize  imageSize,
CvPoint2D64f *  point11,
CvPoint2D64f *  point12,
CvPoint2D64f *  point21,
CvPoint2D64f *  point22,
int *  result 
)
int icvGetDirectionForPoint ( CvPoint2D64f  point,
double *  camMatr,
CvPoint3D64f *  direct 
)
void icvGetDistanceFromPointToDirect ( CvPoint2D64f  point,
double *  lineCoef,
double *  dist 
)
void icvGetMiddleAnglePoint ( CvPoint2D64f  basePoint,
CvPoint2D64f  point1,
CvPoint2D64f  point2,
CvPoint2D64f *  midPoint 
)
void icvGetNormalDirect ( double *  direct,
CvPoint2D64f  point,
double *  normDirect 
)
void icvGetPieceLength ( CvPoint2D64f  point1,
CvPoint2D64f  point2,
double *  dist 
)
void icvGetPieceLength3D ( CvPoint3D64f  point1,
CvPoint3D64f  point2,
double *  dist 
)
void icvGetQuadsTransform ( CvSize  imageSize,
double *  camMatr1,
double *  rotMatr1,
double *  transVect1,
double *  camMatr2,
double *  rotMatr2,
double *  transVect2,
CvSize *  warpSize,
double  quad1[4][2],
double  quad2[4][2],
double *  fundMatr,
CvPoint3D64f *  epipole1,
CvPoint3D64f *  epipole2 
)
void icvGetQuadsTransformStruct ( CvStereoCamera *  stereoCamera)
int icvGetSymPoint3D ( CvPoint3D64f  pointCorner,
CvPoint3D64f  point1,
CvPoint3D64f  point2,
CvPoint3D64f *  pointSym2 
)
double icvGetVect ( CvPoint2D64f  basePoint,
CvPoint2D64f  point1,
CvPoint2D64f  point2 
)
void icvProjectPointToDirect ( CvPoint2D64f  point,
double *  lineCoeff,
CvPoint2D64f *  projectPoint 
)
void icvProjectPointToImage ( CvPoint3D64f  point,
double *  camMatr,
double *  rotMatr,
double *  transVect,
CvPoint2D64f *  projPoint 
)
CV_INLINE double icvSqDist2D32f ( CvPoint2D32f  pt1,
CvPoint2D32f  pt2 
)
int icvStereoCalibration ( int  numImages,
int *  nums,
CvSize  imageSize,
CvPoint2D32f *  imagePoints1,
CvPoint2D32f *  imagePoints2,
CvPoint3D32f *  objectPoints,
CvStereoCamera *  stereoparams 
)
int icvSubdiv2DCheck ( CvSubdiv2D *  subdiv)
CV_INLINE int iplHeight ( const IplImage *  img)
CV_INLINE int iplWidth ( const IplImage *  img)