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

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? aoperations.cpp

?? 微軟的基于HMM的人臉識(shí)別原代碼, 非常經(jīng)典的說(shuō)
?? CPP
字號(hào):
/*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 "CvTest.h"
#include "CV.hpp"

static char* funcName  = "Constructors/Destructors and all other functions";
static char* testName  = "CVHistogram class";
static char* testClass = "Algorithm";

template<class Storage1, class Storage2> static int foaOperations(Storage1, Storage2)
{
const int SIZE = 720;

    typedef Storage1::value_type Val;
    typedef Storage1::idx_type   Idx;

    CVHistogram<Storage1> hist1( SIZE );
    CVHistogram<Storage2> hist2( SIZE );

    int Errors = 0;

    for( Idx i = 0; i < SIZE; i++ )
    {
        hist1[i] = (Val)(i % 10);
        hist2[i] = (Val)(9 - hist1[i]);
    }

    if( calc_histogram_intersection( hist1, hist2 ) != SIZE * 2 )
    {
        Errors++;
        trsWrite( ATS_CON | ATS_LST, "Error Intersection function\n" );
    }

    double res;
    if( (res = fabs(calc_histogram_chi_square( hist1, hist2 ) - SIZE * 330 / 90)) > 0.0001 )
    {
        Errors++;
        trsWrite( ATS_CON | ATS_LST, "Error ChiSqr function\n" );
    }

    for( i = 0; i < SIZE; i++ )
    {
        hist1[i] = (Val)(i % 9);
        hist2[i] = (Val)(8 - hist1[i]);
    }

    if( fabs(calc_histogram_correlation( hist1, hist2 ) + 1 ) >= 0.0001 )
    {
        Errors++;
        trsWrite( ATS_CON | ATS_LST, "Error Correl function\n" );
    }

    return Errors == 0 ? TRS_OK : trsResult( TRS_FAIL, "Fixed %d errors", Errors );
}

#define INT   0
#define FLOAT 1
#define SHORT 2

#define ARRAY 0
#define TREE  1

#define ARRAY_INT   (ARRAY << 4) + INT
#define ARRAY_FLOAT (ARRAY << 4) + FLOAT
#define ARRAY_SHORT (ARRAY << 4) + SHORT
#define TREE_INT    (TREE << 4)  + INT
#define TREE_FLOAT  (TREE << 4)  + FLOAT
#define TREE_SHORT  (TREE << 4)  + SHORT

static int foaCvOperationsType( void* param )
{
    int type = (int)param;

    switch( type )
    {
    case ARRAY_INT:
        return foaOperations(CvArray<int>(),CvArray<int>());
    case ARRAY_FLOAT:
        return foaOperations(CvArray<double>(), CvArray<double>());
    case ARRAY_SHORT:
        return foaOperations(CvArray<short>(), CvArray<short>());
    case TREE_INT:
        return foaOperations(CvTree<int>(), CvTree<int>());
    case TREE_FLOAT:
        return foaOperations(CvTree<float>(), CvTree<float>());
    case TREE_SHORT:
        return foaOperations(CvTree<short>(), CvTree<short>());
    default:
        return TRS_UNDEF;
    }
}

void InitAHistogramOperations( void )
{
    trsRegArg( funcName, testName, testClass, foaCvOperationsType, ARRAY_INT   );
    trsRegArg( funcName, testName, testClass, foaCvOperationsType, ARRAY_FLOAT );
    trsRegArg( funcName, testName, testClass, foaCvOperationsType, ARRAY_SHORT );
    trsRegArg( funcName, testName, testClass, foaCvOperationsType, TREE_INT   );
    trsRegArg( funcName, testName, testClass, foaCvOperationsType, TREE_FLOAT );
    trsRegArg( funcName, testName, testClass, foaCvOperationsType, TREE_SHORT );
}

/* End of file. */

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲国产成人av网| 成人黄页毛片网站| 亚洲自拍偷拍图区| 亚洲裸体在线观看| 亚洲综合色区另类av| 亚洲妇女屁股眼交7| 亚洲高清三级视频| 日日骚欧美日韩| 日本伊人色综合网| 久久er99精品| 国产一区二区按摩在线观看| 高清不卡在线观看| 91免费看`日韩一区二区| 色悠悠亚洲一区二区| 欧美丝袜丝nylons| 欧美一区二区视频免费观看| 欧美大片国产精品| 国产亚洲精品资源在线26u| 国产精品沙发午睡系列990531| 国产精品久久久一区麻豆最新章节| 国产精品狼人久久影院观看方式| 亚洲精品乱码久久久久久日本蜜臀| 亚洲综合一区二区三区| 丝袜国产日韩另类美女| 韩国女主播一区二区三区| 国产高清一区日本| 色悠悠久久综合| 欧美一区二区三区影视| 国产日产欧产精品推荐色| 亚洲欧美一区二区在线观看| 亚洲午夜久久久久久久久电影网 | 亚洲国产视频一区二区| 日韩成人精品在线观看| 国产夫妻精品视频| 色婷婷久久久久swag精品| 91精品国产综合久久精品| 国产日韩精品一区二区三区| 亚洲欧美一区二区三区极速播放 | **欧美大码日韩| 五月激情六月综合| 国产精品99久久久| 欧美在线色视频| 精品剧情v国产在线观看在线| 国产精品热久久久久夜色精品三区| 亚洲精品日韩一| 国产在线看一区| 在线免费亚洲电影| 久久久亚洲精品一区二区三区| 一区二区三区日韩欧美| 久久99精品久久久久| 色狠狠色噜噜噜综合网| 精品国产一区二区三区av性色 | 国产精品18久久久久久vr| 色综合久久久网| 欧美r级在线观看| 亚洲免费观看视频| 国产一区二区在线看| 欧美日韩一本到| 国产精品丝袜一区| 日产国产高清一区二区三区| 色综合中文字幕| 欧美精品一区二区三区在线| 亚洲综合一二区| 成人综合激情网| 日韩精品最新网址| 一区二区高清视频在线观看| 国产乱一区二区| 这里只有精品99re| 亚洲精品视频在线看| 国产一区二区网址| 日韩一区二区免费视频| 亚洲一区影音先锋| 94-欧美-setu| 国产色产综合色产在线视频| 日韩国产成人精品| 在线中文字幕一区| 国产精品国产a| 国产精品影音先锋| 精品国产人成亚洲区| 日韩精品免费专区| 欧美日韩小视频| 亚洲男人天堂av| 成人avav影音| 国产精品视频一区二区三区不卡| 精品一区在线看| 日韩一区二区三区视频| 日韩精品91亚洲二区在线观看 | 国产色产综合产在线视频| 日av在线不卡| 777奇米成人网| 亚洲成人高清在线| 欧美亚洲综合在线| 一区二区三区 在线观看视频| 99re视频精品| 亚洲欧洲精品一区二区三区不卡| 成人午夜碰碰视频| 国产欧美一区二区三区鸳鸯浴| 男女性色大片免费观看一区二区| 欧美日韩精品欧美日韩精品一综合| 一区二区三区不卡视频| 91视频免费看| 亚洲另类在线制服丝袜| 色哟哟日韩精品| 亚洲伊人色欲综合网| 欧美色综合天天久久综合精品| 伊人色综合久久天天| 91国偷自产一区二区开放时间| 中文字幕在线不卡一区| 一本色道久久综合精品竹菊| 亚洲精品日韩一| 欧美人牲a欧美精品| 亚洲www啪成人一区二区麻豆| 欧美福利一区二区| 久久精品免费观看| 久久蜜桃av一区精品变态类天堂| 国产黄色精品网站| 亚洲欧洲日产国产综合网| 99国产一区二区三精品乱码| 亚洲图片你懂的| 欧美日韩国产综合视频在线观看| 手机精品视频在线观看| 欧美成人女星排行榜| 国产伦精品一区二区三区免费| 国产精品美女一区二区三区| 91在线云播放| 肉肉av福利一精品导航| 精品欧美乱码久久久久久| 国产成人无遮挡在线视频| 中文字幕一区在线观看| 欧美日韩国产美| 久久99国产精品尤物| 国产精品午夜久久| 欧美中文一区二区三区| 久久精品国产亚洲a| 国产欧美日韩综合精品一区二区| www.日本不卡| 午夜精品久久一牛影视| 久久久久青草大香线综合精品| eeuss鲁片一区二区三区| 一区二区成人在线视频| 日韩精品综合一本久道在线视频| 成人免费黄色在线| 午夜精品久久久久久不卡8050| 精品国精品自拍自在线| 色综合天天综合网国产成人综合天 | 欧美日韩免费一区二区三区| 日本不卡高清视频| 国产精品久久久久久一区二区三区| 欧美日韩亚洲综合在线| 国产一区二区调教| 亚洲国产wwwccc36天堂| 久久精品视频一区二区三区| 在线一区二区观看| 国产一区不卡视频| 亚洲成人自拍网| 国产精品色在线观看| 欧美一区在线视频| 99在线精品观看| 久久99久久99精品免视看婷婷 | 无吗不卡中文字幕| 国产精品久久久久影院亚瑟| 91麻豆精品国产91久久久使用方法| 国产福利一区二区三区在线视频| 亚洲电影欧美电影有声小说| 国产欧美综合在线| 欧美一级二级三级乱码| 在线视频一区二区三区| 国产91精品一区二区麻豆亚洲| 一区二区日韩av| 国产精品久久久久久久蜜臀| 精品少妇一区二区三区视频免付费 | 91成人免费网站| 成人动漫一区二区在线| 美女尤物国产一区| 亚洲一区二区在线免费看| 中文字幕欧美日本乱码一线二线| 日韩免费高清av| 欧美日韩免费视频| 91国在线观看| 94-欧美-setu| 成人毛片老司机大片| 激情综合网av| 美女网站视频久久| 污片在线观看一区二区| 亚洲黄色性网站| 国产精品国产三级国产a | 国内久久婷婷综合| 日韩电影在线一区二区三区| 亚洲一区二区三区四区在线| 国产精品国产三级国产aⅴ入口| 国产亚洲女人久久久久毛片| 精品美女在线播放| 欧美成人乱码一区二区三区| 欧美一区在线视频| 9191国产精品| 56国语精品自产拍在线观看| 欧美午夜片在线观看| 91电影在线观看| 欧美伊人精品成人久久综合97| 色94色欧美sute亚洲线路一久|