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

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

?? aemd.cpp

?? 微軟的基于HMM的人臉識別原代碼, 非常經典的說
?? CPP
字號:
/*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*/

#include <stdlib.h>
#include <assert.h>
#include <limits.h>
#include <float.h>

#include "CvTest.h"

static char* funcs[] =
{
    "cvCalcEMD",
};

static char *test_desc = "Test for EMD on concrete example";


/*////////////////////// emd_test /////////////////////////*/

typedef struct matr_info
{
    float*  x_origin;
    float*  y_origin;
    float*  matr;
    int     rows;
    int     cols;
}
matr_info;

static float matr_dist( float* x, float* y, void* param )
{
    matr_info* mi = (matr_info*)param;
    int i = x - mi->x_origin - 1;
    int j = y - mi->y_origin - 1;
    assert( 0 <= i && i < mi->rows &&
            0 <= j && j < mi->cols );
    return  mi->matr[i*mi->cols + j];
}

static int emd_test( void* arg )
{
    const double success_error_level = 1e-6;
    #define M 10000
    double emd0 = 2460./210;
    static float cost[] = 
    {
        16, 16, 13, 22, 17,
        14, 14, 13, 19, 15,
        19, 19, 20, 23,  M,
        M ,  0,  M,  0,  0
    };
    static float  w1[] = { 50, 60, 50, 50 },
                  w2[] = { 30, 20, 70, 30, 60 };
    matr_info mi;
    float emd;
    arg;

    mi.x_origin = w1;
    mi.y_origin = w2;

    mi.rows = sizeof(w1)/sizeof(w1[0]);
    mi.cols = sizeof(w2)/sizeof(w2[0]);
    mi.matr = cost;

    emd = cvCalcEMD( w1, mi.rows, w2, mi.cols, 0, (CvDisType)-1,
                     matr_dist, 0, &mi );

    return fabs( emd - emd0 )/(emd0 + 1e-5) < success_error_level ?
        trsResult( TRS_OK, "No errors" ) :
        trsResult( TRS_FAIL, "Bad accuracy" );
}

#define EMD_SAMPLE  0

void InitAEMD( void )
{
    /* Registering test functions */
    trsRegArg( funcs[0], test_desc, atsAlgoClass, emd_test, EMD_SAMPLE );

} /* InitAEMD */

/* End of file. */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲欧洲www| 日韩免费看的电影| 国产成人午夜99999| 另类小说欧美激情| 蜜臀久久99精品久久久久宅男 | 亚洲国产精品黑人久久久| 日韩免费电影一区| 精品久久人人做人人爽| 久久蜜桃av一区二区天堂 | 国产成人综合亚洲91猫咪| 激情欧美日韩一区二区| 精品一二三四在线| 国产丶欧美丶日本不卡视频| 国产河南妇女毛片精品久久久| 国产高清不卡二三区| 成人精品免费看| 色香蕉成人二区免费| 欧美在线观看视频一区二区三区 | 亚洲国产日韩精品| 一区二区三区精品视频在线| 一个色综合网站| 日韩电影免费一区| 亚洲国产日韩在线一区模特| 日韩欧美自拍偷拍| 色婷婷亚洲综合| 亚洲乱码国产乱码精品精的特点 | 国产日产欧美一区| 一区二区三区在线免费| 久久久久久久网| 久久嫩草精品久久久精品一| 国产精品久99| 日韩av电影免费观看高清完整版在线观看| 久久99精品国产| 91丨porny丨在线| 欧美电影一区二区| 久久久高清一区二区三区| 欧美一二三区在线观看| 欧美精品一区二区三区一线天视频| 国产精品欧美久久久久无广告| 国产精品萝li| 欧美日韩国产综合一区二区| 91高清在线观看| 国产一区二区三区久久久| 亚洲精品久久久蜜桃| 成人黄色综合网站| 亚洲一级不卡视频| proumb性欧美在线观看| 欧美三级一区二区| 国产一区二区在线观看免费| 欧美精品tushy高清| 国产视频一区二区三区在线观看| 综合自拍亚洲综合图不卡区| 日本成人在线不卡视频| 狠狠久久亚洲欧美| 亚洲一区二区三区小说| 欧美一区二区啪啪| 欧美三级一区二区| 日韩av中文在线观看| 精品国产一区二区三区久久久蜜月 | 亚洲va韩国va欧美va精品| 欧美怡红院视频| 日韩二区三区在线观看| 538在线一区二区精品国产| 丁香啪啪综合成人亚洲小说| 亚洲欧美一区二区三区国产精品 | 日韩成人免费电影| 91在线播放网址| 亚洲精品成人少妇| 国产丝袜在线精品| 色综合中文字幕国产 | 中文字幕电影一区| 国产精品一区二区三区网站| 日韩精品成人一区二区在线| 亚洲欧洲一区二区在线播放| 在线视频你懂得一区| 亚洲一区二区三区四区五区中文 | 亚洲欧美激情插| 99久久精品免费精品国产| 国产一区二区三区在线观看免费视频 | 国产精品三级视频| 精品亚洲porn| 日韩欧美国产高清| 免费观看91视频大全| 制服丝袜亚洲网站| 奇米精品一区二区三区在线观看| 欧美视频一区二区三区在线观看 | 日韩av电影天堂| 日韩一区二区三区精品视频| 日韩国产精品久久久久久亚洲| 欧美精品黑人性xxxx| 日本麻豆一区二区三区视频| 日韩欧美你懂的| 国产精品一区二区三区乱码| 国产精品久久久久久户外露出| 91在线观看视频| 亚洲午夜精品一区二区三区他趣| 欧美图片一区二区三区| 亚洲成va人在线观看| 日韩精品一区二区三区中文不卡| 精品一区二区免费视频| 久久久久久久久久久黄色| 国产ts人妖一区二区| 亚洲美女视频在线观看| 欧美精品tushy高清| 国产精一区二区三区| 综合色中文字幕| 欧美日韩高清不卡| 激情欧美一区二区三区在线观看| 中文字幕不卡三区| 欧美日韩中文另类| 韩国一区二区三区| 亚洲精品精品亚洲| 日韩欧美久久一区| 一本色道久久综合精品竹菊| 亚洲一区免费视频| 久久亚洲精品小早川怜子| 91香蕉视频mp4| 日韩激情在线观看| 国产精品乱人伦一区二区| 欧美日韩一区中文字幕| 国产中文字幕精品| 亚洲免费av在线| 久久综合色鬼综合色| 91亚洲精品久久久蜜桃网站| 日韩成人伦理电影在线观看| 中文字幕不卡三区| 精品国产一区二区三区忘忧草| 91麻豆自制传媒国产之光| 青青草成人在线观看| 亚洲人吸女人奶水| 久久久噜噜噜久久中文字幕色伊伊| 色老汉av一区二区三区| 国产资源精品在线观看| 亚洲一二三四在线观看| 国产精品色眯眯| 精品精品欲导航| 欧美日韩你懂得| 色综合天天做天天爱| 国产精品自拍在线| 日本不卡在线视频| 亚洲免费观看高清完整版在线 | 成人av免费在线| 久久国产婷婷国产香蕉| 亚洲国产精品久久不卡毛片| 中文字幕av在线一区二区三区| 精品国产亚洲在线| 日韩一区二区在线观看视频 | 欧美精品一区二区三区蜜臀| 欧美四级电影网| 日本韩国精品在线| 在线亚洲免费视频| 91视频一区二区三区| 成人国产免费视频| 国产成人午夜精品影院观看视频| 精品一区二区在线观看| 琪琪久久久久日韩精品| 亚洲国产视频一区| 亚洲一区二区三区四区的| 亚洲免费观看高清完整版在线观看熊| 国产精品三级视频| 亚洲人吸女人奶水| 亚洲黄色免费电影| 香蕉乱码成人久久天堂爱免费| 亚洲视频一二三| 亚洲伊人伊色伊影伊综合网| 亚洲综合区在线| 偷拍与自拍一区| 日本 国产 欧美色综合| 黄色日韩网站视频| 国产福利一区二区三区视频在线| 国产河南妇女毛片精品久久久 | 麻豆精品一区二区综合av| 精品一区二区影视| 国产精品88av| 91免费看片在线观看| 欧美三级日韩三级国产三级| 欧美一区二区三区成人| 2022国产精品视频| 国产精品三级电影| 亚洲一级在线观看| 国内成人自拍视频| 91亚洲精品久久久蜜桃| 欧美日产国产精品| 久久综合久色欧美综合狠狠| 一区在线播放视频| 五月激情综合色| 国产成人精品免费在线| 在线亚洲精品福利网址导航| 欧美一区三区四区| 国产精品美女久久久久久久| 一区二区高清在线| 精品制服美女丁香| 在线观看亚洲成人| 精品成人一区二区三区四区| 国产精品毛片高清在线完整版| 亚洲高清免费在线| 国产成人免费视频网站高清观看视频| 91麻豆6部合集magnet| 欧美大片在线观看一区| 亚洲激情图片小说视频|