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

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

?? ahoughtransform.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 "CVTest.h"

#include <stdlib.h>
#include <math.h>
#include <float.h>

static const int HT_STANDARD = 1;
static const int HT_PP = 2;
static const int HT_MD = 3;

static char* func_names[] = {"cvHoughTransform", "cvHoughTransformP", "cvHoughTransformSDiv"};
static char* test_desc[] = { "Run the hough transform function"};

int test_dt(void* arg);
int read_image_dims(void);
int read_gen_type(void);

int test_ht(void* arg)
{
    int nlines = 10;
    int* lines = new int[4*nlines];
    float* flines = new float[2*nlines];
    float rho = 10.0f, theta = 0.1f;
    int srn = 10, stn = 10;
    int threshold = 10;
    int lineLength = 10, lineGap = 2;
    int w = 100; /* width and height of the rect */
    int h = 100;
    int type = int(arg);
    IplImage* image; /* Source and destination images */
    image = cvCreateImage( cvSize(w, h), 8, 1 );
    iplSet(image, 0);
    
    if( image == NULL )
    {
        delete lines;
        delete flines;
        return trsResult(TRS_FAIL, "Not enough memory to perform the test");
    }

    switch(type)
    {
    case HT_STANDARD:
        /* Run the distance transformation function */
        cvHoughLines(image, rho, theta, threshold, flines, nlines);
        break;

    case HT_PP:
        cvHoughLinesP(image, rho, theta, threshold, lineLength, lineGap, lines, nlines);
        break;

    case HT_MD:
        cvHoughLinesSDiv(image, rho, srn, theta, stn, threshold, flines, nlines);
        break;

    default:
        iplDeallocate( image, IPL_IMAGE_ALL );
        delete lines;
        delete flines;
        trsResult(TRS_FAIL, "No such function");
    }
    cvReleaseImage( &image );
    delete lines;
    delete flines;
    if(iplGetErrStatus() < 0)
    {
        return trsResult(TRS_FAIL, "Function returned 'bad argument'");
    }
    else
    {
        return trsResult(TRS_OK, "No errors");
    }
}

void InitAHoughLines(void)
{
    /* Registering test functions */
    trsRegArg(func_names[0], test_desc[0], atsAlgoClass, test_ht, HT_STANDARD);
    trsRegArg(func_names[1], test_desc[0], atsAlgoClass, test_ht, HT_PP);
    trsRegArg(func_names[2], test_desc[0], atsAlgoClass, test_ht, HT_MD);

} /* InitADistanceTransform*/

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品亚洲第一区在线暖暖韩国 | 欧美中文字幕一区二区三区| 成人动漫一区二区三区| 亚洲人吸女人奶水| 日韩av电影一区| 午夜国产精品影院在线观看| 国产精品免费免费| 久久精品亚洲国产奇米99| 欧美日韩国产另类不卡| 波多野结衣精品在线| 色久综合一二码| 欧美老女人第四色| 欧美人与z0zoxxxx视频| 2欧美一区二区三区在线观看视频| 国产精品另类一区| 成人av电影观看| 成人av免费观看| 风间由美一区二区三区在线观看 | heyzo一本久久综合| 中文字幕中文在线不卡住| 色综合久久综合网| 午夜精品福利久久久| 久久先锋资源网| 国产一区二区电影| 亚洲精品国产一区二区三区四区在线| 韩国女主播成人在线| 欧美日韩国产大片| 亚洲欧美激情插| 国产剧情一区二区| 99久久99久久精品国产片果冻| 91性感美女视频| 色婷婷av一区二区三区软件 | 国产精品不卡在线观看| 美女尤物国产一区| 国产三级久久久| 欧美日韩不卡视频| 日韩高清中文字幕一区| 91精品国产综合久久久久久久久久| 久久久久久久久99精品| 一区视频在线播放| 欧美精品三级日韩久久| 东方aⅴ免费观看久久av| 亚洲国产日韩a在线播放性色| 久久中文娱乐网| 欧美日韩精品一二三区| youjizz久久| 久久99精品久久久| 亚洲国产毛片aaaaa无费看| 2014亚洲片线观看视频免费| 欧美日本一区二区三区四区| 成人激情校园春色| 激情综合五月婷婷| 日韩中文字幕1| 一区二区三区四区在线| 国产日产欧美一区| 欧美变态tickling挠脚心| 欧美性大战久久| 国产三级精品三级| 色狠狠av一区二区三区| 狠狠网亚洲精品| 亚洲一二三四区| 91啪在线观看| 精品va天堂亚洲国产| 在线亚洲免费视频| 国产99精品视频| 精品一区二区在线播放| 免费成人在线网站| 久久爱www久久做| 精品亚洲欧美一区| 不卡一区二区中文字幕| av一区二区三区| 欧美三级日本三级少妇99| 欧美日韩国产精品成人| 4hu四虎永久在线影院成人| 国产福利精品导航| 日韩二区三区在线观看| 韩国精品一区二区| 色综合久久综合网欧美综合网| 欧美三级韩国三级日本三斤 | 久久理论电影网| 亚洲欧洲性图库| 天天色天天爱天天射综合| 国模套图日韩精品一区二区 | 日本视频在线一区| 在线免费观看日本欧美| 国产+成+人+亚洲欧洲自线| 亚洲成人免费电影| 亚洲欧洲日本在线| 亚洲超丰满肉感bbw| xfplay精品久久| 欧美一级精品大片| 国产v综合v亚洲欧| 中文字幕制服丝袜一区二区三区| 成人av资源下载| 亚洲一区二区三区视频在线播放 | 欧美日韩亚洲不卡| 国产精品综合一区二区三区| 美国毛片一区二区| 精品一区二区在线看| 国内精品在线播放| 国产成人免费视频一区| 成人午夜电影网站| 色婷婷激情一区二区三区| 欧美视频在线一区二区三区| 欧美老女人在线| 精品久久久久一区二区国产| 国产日韩欧美精品综合| 综合久久久久综合| 日本女人一区二区三区| 天堂va蜜桃一区二区三区漫画版| 日韩高清在线电影| 欧亚洲嫩模精品一区三区| 成人深夜在线观看| 精品一区二区三区久久| 亚洲一区二区精品3399| 日韩一区日韩二区| 成人免费一区二区三区视频| 亚洲国产视频在线| 亚洲成人免费视| 久久99国内精品| 91片黄在线观看| 精品粉嫩超白一线天av| 美腿丝袜亚洲三区| 波多野结衣在线一区| 国产精品影视在线| 国产一区二区三区在线观看免费| 久久久久久黄色| 欧美国产日产图区| 久久99日本精品| 亚洲愉拍自拍另类高清精品| 国产一区视频导航| 国产福利一区二区三区视频 | 国产欧美一区二区精品秋霞影院 | 99久久99久久精品国产片果冻| 日韩欧美一级在线播放| 蜜臀av一区二区在线免费观看| 精品国产一区二区在线观看| 国产精品视频免费| 国产乱一区二区| 日韩欧美国产系列| 久久不见久久见免费视频7 | 国产在线一区二区| 精品美女被调教视频大全网站| 亚洲成人自拍偷拍| 欧美午夜电影网| 男女男精品视频| 欧美精选午夜久久久乱码6080| 亚洲一区国产视频| 91精品免费在线观看| 美女网站色91| 日韩欧美黄色影院| 国产一区二区三区在线观看免费| 精品免费视频.| 99久久精品一区二区| 一区二区三区四区在线| 91精品国产一区二区三区蜜臀 | 在线欧美小视频| 久久精品国产久精国产爱| 精品91自产拍在线观看一区| 成人网男人的天堂| 亚洲一区二区偷拍精品| 欧美大胆人体bbbb| jizz一区二区| 日本不卡在线视频| 国产精品久线在线观看| 色八戒一区二区三区| 视频在线在亚洲| 中文字幕免费一区| 欧美日韩免费不卡视频一区二区三区| 免费成人在线网站| 亚洲欧美另类在线| 久久久久久久久蜜桃| 欧美日韩免费观看一区三区| 成人在线视频一区二区| 麻豆精品一区二区三区| 国产精品欧美极品| 精品国产乱码久久久久久1区2区| 91视频一区二区三区| 国产1区2区3区精品美女| 久久超碰97中文字幕| 日韩国产精品91| 国产精品视频免费看| 国产精品的网站| 日韩一区二区不卡| 日韩欧美国产1| 日韩欧美激情四射| 久久久99精品久久| 国产欧美日本一区视频| 国产女人18毛片水真多成人如厕| 日韩视频不卡中文| 国产日韩欧美不卡在线| 久久影院午夜片一区| 精品国产精品网麻豆系列| 欧美剧在线免费观看网站 | 国产精品一区二区x88av| 国产一区二区电影| 91丨九色porny丨蝌蚪| 91久久精品国产91性色tv| 欧美人动与zoxxxx乱| 日韩欧美一区中文|