亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? cvtypes.h

?? opencv庫在TI DM6437上的移植,目前包括兩個庫cv.lib和cxcore.lib的工程
?? H
字號:
/*M///////////////////////////////////////////////////////////////////////////////////////
//
//  IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
//  By downloading, copying, installing or using the software you agree to this license.
//  If you do not agree to this license, do not download, install,
//  copy or use the software.
//
//
//                        Intel License Agreement
//                For Open Source Computer Vision Library
//
// Copyright (C) 2000, Intel Corporation, all rights reserved.
// Third party copyrights are property of their respective owners.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
//   * Redistribution's of source code must retain the above copyright notice,
//     this list of conditions and the following disclaimer.
//
//   * Redistribution's in binary form must reproduce the above copyright notice,
//     this list of conditions and the following disclaimer in the documentation
//     and/or other materials provided with the distribution.
//
//   * The name of Intel Corporation may not be used to endorse or promote products
//     derived from this software without specific prior written permission.
//
// This software is provided by the copyright holders and contributors "as is" and
// any express or implied warranties, including, but not limited to, the implied
// warranties of merchantability and fitness for a particular purpose are disclaimed.
// In no event shall the Intel Corporation or contributors be liable for any direct,
// indirect, incidental, special, exemplary, or consequential damages
// (including, but not limited to, procurement of substitute goods or services;
// loss of use, data, or profits; or business interruption) however caused
// and on any theory of liability, whether in contract, strict liability,
// or tort (including negligence or otherwise) arising in any way out of
// the use of this software, even if advised of the possibility of such damage.
//
//M*/

#ifndef _CVTYPES_H_
#define _CVTYPES_H_

#ifndef SKIP_INCLUDES
  #include <assert.h>
  #include <stdlib.h>
#endif

/* spatial and central moments */
typedef struct CvMoments
{
    double  m00, m10, m01, m20, m11, m02, m30, m21, m12, m03; /* spatial moments */
    double  mu20, mu11, mu02, mu30, mu21, mu12, mu03; /* central moments */
    double  inv_sqrt_m00; /* m00 != 0 ? 1/sqrt(m00) : 0 */
}
CvMoments;

/* Hu invariants */
typedef struct CvHuMoments
{
    double hu1, hu2, hu3, hu4, hu5, hu6, hu7; /* Hu invariants */
}
CvHuMoments;

/**************************** Connected Component  **************************************/

typedef struct CvConnectedComp
{
    double area;    /* area of the connected component  */
    CvScalar value; /* average color of the connected component */
    CvRect rect;    /* ROI of the component  */
    CvSeq* contour; /* optional component boundary
                      (the contour might have child contours corresponding to the holes)*/
}
CvConnectedComp;

/*
Internal structure that is used for sequental retrieving contours from the image.
It supports both hierarchical and plane variants of Suzuki algorithm.
*/
typedef struct _CvContourScanner* CvContourScanner;

/* contour retrieval mode */
#define CV_RETR_EXTERNAL 0
#define CV_RETR_LIST     1
#define CV_RETR_CCOMP    2
#define CV_RETR_TREE     3

/* contour approximation method */
#define CV_CHAIN_CODE               0
#define CV_CHAIN_APPROX_NONE        1
#define CV_CHAIN_APPROX_SIMPLE      2
#define CV_CHAIN_APPROX_TC89_L1     3
#define CV_CHAIN_APPROX_TC89_KCOS   4
#define CV_LINK_RUNS                5

/* Freeman chain reader state */
typedef struct CvChainPtReader
{
    CV_SEQ_READER_FIELDS()
    char      code;
    CvPoint   pt;
    char      deltas[8][2];
}
CvChainPtReader;

/* initializes 8-element array for fast access to 3x3 neighborhood of a pixel */
#define  CV_INIT_3X3_DELTAS( deltas, step, nch )            \
    ((deltas)[0] =  (nch),  (deltas)[1] = -(step) + (nch),  \
     (deltas)[2] = -(step), (deltas)[3] = -(step) - (nch),  \
     (deltas)[4] = -(nch),  (deltas)[5] =  (step) - (nch),  \
     (deltas)[6] =  (step), (deltas)[7] =  (step) + (nch))

/* Contour tree header */
typedef struct CvContourTree
{
    CV_SEQUENCE_FIELDS()
    CvPoint p1;            /* the first point of the binary tree root segment */
    CvPoint p2;            /* the last point of the binary tree root segment */
}
CvContourTree;

/* Finds a sequence of convexity defects of given contour */
typedef struct CvConvexityDefect
{
    CvPoint* start; /* point of the contour where the defect begins */
    CvPoint* end; /* point of the contour where the defect ends */
    CvPoint* depth_point; /* the farthest from the convex hull point within the defect */
    float depth; /* distance between the farthest point and the convex hull */
}
CvConvexityDefect;

/************ Data structures and related enumerations for Planar Subdivisions ************/

typedef size_t CvSubdiv2DEdge;

#define CV_QUADEDGE2D_FIELDS()     \
    int flags;                     \
    struct CvSubdiv2DPoint* pt[4]; \
    CvSubdiv2DEdge  next[4];

#define CV_SUBDIV2D_POINT_FIELDS()\
    int            flags;      \
    CvSubdiv2DEdge first;      \
    CvPoint2D32f   pt;

#define CV_SUBDIV2D_VIRTUAL_POINT_FLAG (1 << 30)

typedef struct CvQuadEdge2D
{
    CV_QUADEDGE2D_FIELDS()
}
CvQuadEdge2D;

typedef struct CvSubdiv2DPoint
{
    CV_SUBDIV2D_POINT_FIELDS()
}
CvSubdiv2DPoint;

#define CV_SUBDIV2D_FIELDS()    \
    CV_GRAPH_FIELDS()           \
    int  quad_edges;            \
    int  is_geometry_valid;     \
    CvSubdiv2DEdge recent_edge; \
    CvPoint2D32f  topleft;      \
    CvPoint2D32f  bottomright;
    
typedef struct CvSubdiv2D
{
    CV_SUBDIV2D_FIELDS()
}
CvSubdiv2D;


typedef enum CvSubdiv2DPointLocation
{
    CV_PTLOC_ERROR = -2,
    CV_PTLOC_OUTSIDE_RECT = -1,
    CV_PTLOC_INSIDE = 0,
    CV_PTLOC_VERTEX = 1,
    CV_PTLOC_ON_EDGE = 2
}
CvSubdiv2DPointLocation;

typedef enum CvNextEdgeType
{
    CV_NEXT_AROUND_ORG   = 0x00,
    CV_NEXT_AROUND_DST   = 0x22,
    CV_PREV_AROUND_ORG   = 0x11,
    CV_PREV_AROUND_DST   = 0x33,
    CV_NEXT_AROUND_LEFT  = 0x13,
    CV_NEXT_AROUND_RIGHT = 0x31,
    CV_PREV_AROUND_LEFT  = 0x20,
    CV_PREV_AROUND_RIGHT = 0x02
}
CvNextEdgeType;

/* get the next edge with the same origin point (counterwise) */
#define  CV_SUBDIV2D_NEXT_EDGE( edge )  (((CvQuadEdge2D*)((edge) & ~3))->next[(edge)&3])


/* Defines for Distance Transform */
#define CV_DIST_USER    -1  /* User defined distance */
#define CV_DIST_L1      1   /* distance = |x1-x2| + |y1-y2| */
#define CV_DIST_L2      2   /* the simple euclidean distance */
#define CV_DIST_C       3   /* distance = max(|x1-x2|,|y1-y2|) */
#define CV_DIST_L12     4   /* L1-L2 metric: distance = 2(sqrt(1+x*x/2) - 1)) */
#define CV_DIST_FAIR    5   /* distance = c^2(|x|/c-log(1+|x|/c)), c = 1.3998 */
#define CV_DIST_WELSCH  6   /* distance = c^2/2(1-exp(-(x/c)^2)), c = 2.9846 */
#define CV_DIST_HUBER   7   /* distance = |x|<c ? x^2/2 : c(|x|-c/2), c=1.345 */


/* Filters used in pyramid decomposition */
typedef enum CvFilter
{
    CV_GAUSSIAN_5x5 = 7
}
CvFilter;

/****************************************************************************************/
/*                                    Older definitions                                 */
/****************************************************************************************/

typedef float*   CvVect32f;
typedef float*   CvMatr32f;
typedef double*  CvVect64d;
typedef double*  CvMatr64d;

typedef struct CvMatrix3
{
    float m[3][3];
}
CvMatrix3;


#ifdef __cplusplus
extern "C" {
#endif

typedef float (CV_CDECL * CvDistanceFunction)( const float* a, const float* b, void* user_param );

#ifdef __cplusplus
}
#endif

typedef struct CvConDensation
{
    int MP;
    int DP;
    float* DynamMatr;       /* Matrix of the linear Dynamics system  */
    float* State;           /* Vector of State                       */
    int SamplesNum;         /* Number of the Samples                 */
    float** flSamples;      /* arr of the Sample Vectors             */
    float** flNewSamples;   /* temporary array of the Sample Vectors */
    float* flConfidence;    /* Confidence for each Sample            */
    float* flCumulative;    /* Cumulative confidence                 */
    float* Temp;            /* Temporary vector                      */
    float* RandomSample;    /* RandomVector to update sample set     */
    struct CvRandState* RandS; /* Array of structures to generate random vectors */
}
CvConDensation;

/*
standard Kalman filter (in G. Welch' and G. Bishop's notation):

  x(k)=A*x(k-1)+B*u(k)+w(k)  p(w)~N(0,Q)
  z(k)=H*x(k)+v(k),   p(v)~N(0,R)
*/
typedef struct CvKalman
{
    int MP;                     /* number of measurement vector dimensions */
    int DP;                     /* number of state vector dimensions */
    int CP;                     /* number of control vector dimensions */

    /* backward compatibility fields */
#if 1
    float* PosterState;         /* =state_pre->data.fl */
    float* PriorState;          /* =state_post->data.fl */
    float* DynamMatr;           /* =transition_matrix->data.fl */
    float* MeasurementMatr;     /* =measurement_matrix->data.fl */
    float* MNCovariance;        /* =measurement_noise_cov->data.fl */
    float* PNCovariance;        /* =process_noise_cov->data.fl */
    float* KalmGainMatr;        /* =gain->data.fl */
    float* PriorErrorCovariance;/* =error_cov_pre->data.fl */
    float* PosterErrorCovariance;/* =error_cov_post->data.fl */
    float* Temp1;               /* temp1->data.fl */
    float* Temp2;               /* temp2->data.fl */
#endif

    CvMat* state_pre;           /* predicted state (x'(k)):
                                    x(k)=A*x(k-1)+B*u(k) */
    CvMat* state_post;          /* corrected state (x(k)):
                                    x(k)=x'(k)+K(k)*(z(k)-H*x'(k)) */
    CvMat* transition_matrix;   /* state transition matrix (A) */
    CvMat* control_matrix;      /* control matrix (B)
                                   (it is not used if there is no control)*/
    CvMat* measurement_matrix;  /* measurement matrix (H) */
    CvMat* process_noise_cov;   /* process noise covariance matrix (Q) */
    CvMat* measurement_noise_cov; /* measurement noise covariance matrix (R) */
    CvMat* error_cov_pre;       /* priori error estimate covariance matrix (P'(k)):
                                    P'(k)=A*P(k-1)*At + Q)*/
    CvMat* gain;                /* Kalman gain matrix (K(k)):
                                    K(k)=P'(k)*Ht*inv(H*P'(k)*Ht+R)*/
    CvMat* error_cov_post;      /* posteriori error estimate covariance matrix (P(k)):
                                    P(k)=(I-K(k)*H)*P'(k) */
    CvMat* temp1;               /* temporary matrices */
    CvMat* temp2;
    CvMat* temp3;
    CvMat* temp4;
    CvMat* temp5;
}
CvKalman;


/*********************** Haar-like Object Detection structures **************************/
#define CV_HAAR_MAGIC_VAL    0x42500000
#define CV_TYPE_NAME_HAAR    "opencv-haar-classifier"

#define CV_IS_HAAR_CLASSIFIER( haar )                                                    \
    ((haar) != NULL &&                                                                   \
    (((const CvHaarClassifierCascade*)(haar))->flags & CV_MAGIC_MASK)==CV_HAAR_MAGIC_VAL)

#define CV_HAAR_FEATURE_MAX  3

typedef struct CvHaarFeature
{
    int  tilted;
    struct
    {
        CvRect r;
        float weight;
    } rect[CV_HAAR_FEATURE_MAX];
}
CvHaarFeature;

typedef struct CvHaarClassifier
{
    int count;
    CvHaarFeature* haar_feature;
    float* threshold;
    int* left;
    int* right;
    float* alpha;
}
CvHaarClassifier;

typedef struct CvHaarStageClassifier
{
    int  count;
    float threshold;
    CvHaarClassifier* classifier;

    int next;
    int child;
    int parent;
}
CvHaarStageClassifier;

typedef struct CvHidHaarClassifierCascade CvHidHaarClassifierCascade;

typedef struct CvHaarClassifierCascade
{
    int  flags;
    int  count;
    CvSize orig_window_size;
    CvSize real_window_size;
    double scale;
    CvHaarStageClassifier* stage_classifier;
    CvHidHaarClassifierCascade* hid_cascade;
}
CvHaarClassifierCascade;

typedef struct CvAvgComp
{
    CvRect rect;
    int neighbors;
}
CvAvgComp;

#endif /*_CVTYPES_H_*/

/* End of file. */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
中文字幕日韩一区| 精品三级av在线| 99久精品国产| 99久久精品情趣| 日本韩国一区二区三区视频| 99久久久国产精品| 欧美制服丝袜第一页| 欧美日韩久久久久久| 欧美变态口味重另类| 国产无一区二区| 一区二区三区四区不卡视频| 亚洲精品国产一区二区三区四区在线| 亚洲欧美激情在线| 日日欢夜夜爽一区| 国产成人免费视频| 欧美唯美清纯偷拍| 久久久久高清精品| 一区二区免费在线| 国产精品一区二区久久精品爱涩 | 成人黄色国产精品网站大全在线免费观看| 国产成人亚洲精品青草天美| 日本精品视频一区二区| 欧美大片在线观看一区二区| 国产精品久久久久7777按摩| 日韩高清一区在线| 一本色道a无线码一区v| 久久一日本道色综合| 亚洲自拍偷拍av| 9人人澡人人爽人人精品| 日韩精品自拍偷拍| 亚洲成人tv网| 欧美色精品在线视频| 亚洲欧洲日韩综合一区二区| 国产精品资源在线看| 欧美一级免费观看| 三级欧美在线一区| 欧美肥妇bbw| 天天色天天爱天天射综合| 免费成人av在线| 亚洲成人av资源| 久久69国产一区二区蜜臀| 色欧美片视频在线观看| 亚洲女人小视频在线观看| 不卡在线观看av| 亚洲国产精品v| 91在线视频网址| 国产情人综合久久777777| 国产成都精品91一区二区三| 国产午夜精品理论片a级大结局 | 成人午夜看片网址| 国产精品久久久久一区二区三区 | 久久久久久久性| 成人三级在线视频| 亚洲一二三级电影| 91精品国产综合久久精品性色| 三级成人在线视频| 国产欧美日韩在线看| 欧美视频一区二| 激情综合色播激情啊| 亚洲少妇30p| 欧美一二三区精品| 99久久久国产精品| 另类综合日韩欧美亚洲| 亚洲欧美激情插| 久久精品视频在线看| 欧美男女性生活在线直播观看| 麻豆精品蜜桃视频网站| 亚洲女女做受ⅹxx高潮| 日韩写真欧美这视频| 色综合天天综合网天天狠天天| 日本伊人色综合网| 伊人色综合久久天天| 精品福利一二区| 欧美日韩国产一级二级| 97se亚洲国产综合在线| 国产一区二区三区高清播放| 五月开心婷婷久久| 亚洲欧美日韩中文播放| 国产精品久久二区二区| 久久影院午夜论| 久久亚洲私人国产精品va媚药| 欧美日本不卡视频| 欧美日本免费一区二区三区| 欧洲精品视频在线观看| 91香蕉国产在线观看软件| 成人美女视频在线观看18| 国内精品不卡在线| 粉嫩av一区二区三区| 99在线视频精品| 色哟哟国产精品| 欧美性猛交xxxx乱大交退制版| 欧美三级欧美一级| 欧美一区二区三区视频免费播放| 欧美日本高清视频在线观看| 欧美高清视频不卡网| 日韩欧美一级二级三级| 日本一区二区动态图| 亚洲欧洲日本在线| 午夜欧美在线一二页| 美女免费视频一区| 99久久精品免费精品国产| 欧美午夜精品久久久| 久久综合九色综合欧美98| 国产欧美精品国产国产专区 | 色婷婷综合激情| 69堂亚洲精品首页| 国产精品久久久久精k8| 亚洲va国产天堂va久久en| 国产高清久久久| 欧洲一区在线电影| 亚洲国产高清不卡| 日本女人一区二区三区| 国产91精品在线观看| 欧美视频自拍偷拍| 亚洲国产高清在线观看视频| 日本欧美在线看| 91福利视频久久久久| 26uuu亚洲| 精品在线观看视频| 欧美精品久久一区二区三区| 中文字幕综合网| 国产精品99久久久久久有的能看| 欧美午夜精品电影| 亚洲欧美国产高清| 成人aa视频在线观看| 国产亚洲精品中文字幕| 国产一区二区三区四区五区入口| 欧美日韩和欧美的一区二区| 亚洲美女偷拍久久| 在线区一区二视频| 一区二区三区日韩精品| 一本大道久久a久久综合| 中文字幕欧美一| 色天天综合色天天久久| 一区二区三区四区中文字幕| 成人免费黄色在线| 亚洲欧美日韩在线| 欧美日韩美女一区二区| 久久av老司机精品网站导航| 日韩欧美国产精品| 成人av午夜电影| 亚洲综合免费观看高清完整版 | 美女国产一区二区三区| 精品国产人成亚洲区| 国产成人亚洲综合a∨婷婷图片| 亚洲国产成人私人影院tom| 色素色在线综合| 国产专区欧美精品| 亚洲男人天堂av| 精品国产一区二区三区av性色| 国产成人在线视频免费播放| 一区二区不卡在线播放| 欧美一级片在线| 91麻豆免费视频| 精品无人区卡一卡二卡三乱码免费卡| 国产欧美综合在线观看第十页| 欧美日韩一区二区三区视频| 国产综合成人久久大片91| 亚洲综合色视频| 国产欧美精品一区二区色综合朱莉 | 国产一区二区0| 天天色天天操综合| 亚洲精品大片www| 国产精品久久久爽爽爽麻豆色哟哟 | 日本乱码高清不卡字幕| 成人免费毛片a| 国产麻豆精品在线| 久久电影国产免费久久电影| 亚洲综合清纯丝袜自拍| 一区二区三区欧美| 中文字幕日韩一区二区| 久久久久久**毛片大全| 欧美一卡二卡在线| 日韩色视频在线观看| 在线播放中文一区| 欧美一区二区三级| 日韩一区二区中文字幕| 日韩欧美亚洲一区二区| 欧美电影免费观看高清完整版在线观看 | 91香蕉视频在线| 欧美日韩一区 二区 三区 久久精品| 99麻豆久久久国产精品免费| 白白色亚洲国产精品| 91久久一区二区| 欧美日韩国产另类一区| 这里只有精品电影| 精品国产一区二区三区久久久蜜月| 日韩欧美一卡二卡| 国产精品久久久久久久久免费相片| 久久亚洲精品国产精品紫薇| 成人欧美一区二区三区1314| 成人晚上爱看视频| 麻豆freexxxx性91精品| 亚洲精品免费在线| 国产精品久久一卡二卡| 亚洲综合色区另类av| 麻豆精品一区二区综合av| 成人免费观看视频| 在线亚洲高清视频| 久久精品一二三|