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

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

?? ureadfile.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"

/* BMP Header structure */
typedef struct _atsBMPHeader
{
    /*unsigned short bfType;*/
    long           bfSize,
                   bfReserved,
                   bfOffBits,
                   biSize,
                   biWidth,
                   biHeight;
    unsigned short biPlanes,
                   biBitCount;
    long           biCompression,
                   biSizeImage,
                   biXPelsPerMeter,
                   biYPelsPerMeter,
                   biClrUsed,
                   biClrImportant;
} atsBMPHeader;


IplImage* atsCreateImageFromFile( const char* filename )
{   
    char  fname[1000];
    char *ext;

    IplImage* img = 0;
    FILE* file;
    
    ext = strrchr( filename, '.' );
    
    if( !ext || (strcmp( ext, ".BMP" ) && strcmp( ext, ".bmp" )))
    {
        strcpy( fname, filename );
        strcat( fname, ".bmp" );
        filename = fname;
    }

    file = fopen( filename, "rb" );

    if( file )
    {
        char  bmp_sign[] = "BM\0";
        atsBMPHeader header;

        /* check BMP signature */
        if( fread( bmp_sign, 2, 1, file ) && !strcmp( bmp_sign, "BM" ))
        {
            /* read header information */
            fread( &header, sizeof(header), 1, file );

            if( header.biSize >= 40 && header.biCompression == 0 &&
                (header.biBitCount == 8 || header.biBitCount == 24))
            {
                int nch = header.biBitCount / 8;
                int i, row_length = (header.biWidth * nch + 3) & -4;

                fseek( file, header.bfOffBits, 0 );

                img = atsCreateImage( header.biWidth, header.biHeight,
                                      IPL_DEPTH_8U, nch, 0 );

                strncpy( img->colorModel, nch == 3 ? "RGB" : "GRAY", 4 );
                strncpy( img->channelSeq, nch == 3 ? "BGR" : "GRAY", 4 );

                for( i = 0; i < header.biHeight; i++ )
                {
                    fread( img->imageData + (img->height - i - 1)*img->widthStep,
                           row_length, 1, file );
                }
            }
        }

        fclose( file );
    }
    
    return img;
}    

/* End of file. */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲一区二区高清| 99久久综合色| 91麻豆产精品久久久久久| 5月丁香婷婷综合| 1024国产精品| 国产一区二区精品久久91| 欧美女孩性生活视频| 国产精品久久网站| 精品影院一区二区久久久| 欧美又粗又大又爽| 国产精品天美传媒沈樵| 加勒比av一区二区| 91精品国产欧美一区二区| 亚洲另类在线视频| 99精品国产一区二区三区不卡| 精品美女在线观看| 日韩电影一二三区| 欧美人xxxx| 亚洲国产裸拍裸体视频在线观看乱了| 丁香桃色午夜亚洲一区二区三区| 欧美一区二区三区成人| 亚洲电影一级黄| 欧美亚洲日本一区| 亚洲自拍偷拍av| 欧美亚洲高清一区| 一区二区三区精品在线观看| 99免费精品视频| 亚洲同性gay激情无套| jlzzjlzz亚洲女人18| 中文字幕精品一区二区三区精品| 国产最新精品精品你懂的| 欧美精品一区二区三区久久久| 蜜桃av一区二区| 欧美色视频在线观看| 亚洲成人在线观看视频| 欧美亚洲禁片免费| 亚洲欧美日韩中文播放| 色综合久久久久| 亚洲成人你懂的| 日韩欧美亚洲另类制服综合在线| 首页国产欧美日韩丝袜| 欧美第一区第二区| 国产成人在线观看| 中国av一区二区三区| 97久久久精品综合88久久| 亚洲婷婷在线视频| 欧美日韩一区二区在线观看视频 | 色婷婷亚洲综合| 一区二区三区美女| 欧美精品第1页| 久久精品国产77777蜜臀| 精品sm在线观看| 激情五月婷婷综合网| 国产女主播一区| 成人av电影在线播放| 亚洲一二三区在线观看| 欧美成人在线直播| 99精品一区二区| 日韩福利电影在线观看| 精品国精品自拍自在线| 波多野结衣在线一区| 一区二区免费视频| 精品久久久久久久久久久久久久久| 国产成人亚洲综合a∨猫咪| 日韩码欧中文字| 欧美一区二区不卡视频| 国产成人精品亚洲777人妖| 亚洲人成7777| 久久综合久久久久88| 99久久综合国产精品| 免费观看日韩av| 国产精品美女一区二区| 欧美一卡2卡3卡4卡| 成人一区二区在线观看| 午夜私人影院久久久久| 国产欧美日韩在线看| 777精品伊人久久久久大香线蕉| 国产麻豆成人传媒免费观看| 亚洲国产日产av| 国产精品欧美久久久久一区二区| 666欧美在线视频| 91香蕉国产在线观看软件| 看电视剧不卡顿的网站| 亚洲欧美日韩综合aⅴ视频| 精品国产露脸精彩对白| 欧美午夜电影网| 成人av小说网| 精品在线你懂的| 日韩和欧美一区二区| 综合av第一页| 亚洲国产精品99久久久久久久久| 555www色欧美视频| 欧美在线不卡视频| 97国产一区二区| 国产成人在线视频网站| 免费的国产精品| 亚洲精品伦理在线| 欧美激情艳妇裸体舞| 久久久午夜精品| 日韩精品一区在线观看| 欧美二区乱c少妇| 欧美色视频在线| 91久久精品国产91性色tv| av亚洲精华国产精华精华| 国产精品一区二区果冻传媒| 久久66热re国产| 久久国产精品99久久久久久老狼 | 99在线精品免费| 国产电影一区在线| 韩国视频一区二区| 捆绑紧缚一区二区三区视频| 日本不卡中文字幕| 视频一区二区不卡| 日韩精品亚洲专区| 奇米影视一区二区三区小说| 婷婷开心激情综合| 日本vs亚洲vs韩国一区三区| 日本亚洲电影天堂| 激情偷乱视频一区二区三区| 精品一区二区免费在线观看| 精品一区二区在线免费观看| 久草中文综合在线| 国产毛片精品国产一区二区三区| 国产一区二区三区蝌蚪| 国产精品性做久久久久久| 成人性视频网站| 成人av先锋影音| 91蝌蚪国产九色| 欧美私模裸体表演在线观看| 欧美视频在线播放| 91精品国产91久久久久久一区二区 | 亚洲综合在线第一页| 亚洲综合色在线| 奇米影视在线99精品| 国产一区不卡精品| 成人福利视频在线看| 一本大道久久a久久精品综合| 色综合天天综合狠狠| 欧美精三区欧美精三区| 精品国产亚洲一区二区三区在线观看| 久久人人爽爽爽人久久久| 国产精品人成在线观看免费| 亚洲免费观看高清完整版在线观看熊| 亚洲一区二区综合| 蜜臀久久久久久久| 国产激情一区二区三区四区 | 久久国产精品区| 99麻豆久久久国产精品免费优播| 欧美日韩国产综合一区二区| 久久综合999| 亚洲自拍欧美精品| 国产精品亚洲综合一区在线观看| 91视频在线观看| 日韩一级完整毛片| 亚洲人成7777| 黄页网站大全一区二区| 91香蕉视频mp4| www国产精品av| 亚洲成人激情综合网| 高清日韩电视剧大全免费| 欧美亚洲丝袜传媒另类| 久久婷婷综合激情| 亚洲123区在线观看| 成人做爰69片免费看网站| 欧美日本乱大交xxxxx| 欧美国产禁国产网站cc| 日韩av一区二区在线影视| 不卡av免费在线观看| 欧美大尺度电影在线| 亚洲一区二区三区三| 国产精品中文有码| 欧美一区二区三区免费观看视频| 综合电影一区二区三区| 国产一区二区网址| 欧美精品精品一区| 亚洲日本成人在线观看| 国模大尺度一区二区三区| 欧美日韩一区二区三区高清| 中文字幕一区二区三区精华液 | 午夜国产不卡在线观看视频| av午夜一区麻豆| 久久久久九九视频| 久久99国产精品免费网站| 8x福利精品第一导航| 亚洲亚洲人成综合网络| 色婷婷激情一区二区三区| 国产精品丝袜黑色高跟| 精品写真视频在线观看| 日韩一区二区三免费高清| 五月激情综合网| 欧美片在线播放| 首页国产欧美日韩丝袜| 欧美日韩一区在线| 亚洲高清一区二区三区| 一本一道久久a久久精品综合蜜臀 一本一道综合狠狠老 | 国产丝袜在线精品| 国产一区二区三区电影在线观看| 欧美成人a∨高清免费观看| 视频在线观看一区二区三区| 欧美性猛交xxxxxx富婆|