【正文】
indows 程序特點(diǎn) ............................................................. 5 C++語言 .............................................................................. 6 Microsoft Visual C++ 環(huán)境 ........................................... 6 MFC 簡(jiǎn)介 ......................................................................... 7 圖形設(shè)備接口 、 GDI 對(duì)象 .............................................. 7 OpenCV 的簡(jiǎn)介 ............................................................................ 8 OpenCV 概述 ...................................................................... 8 OpenCV 的特點(diǎn) .................................................................. 9 3 常見的圖像特效顯示 .......................................................................... 10 顯示特效方法理論概述 ............................................................. 10 特效顯示基礎(chǔ) ................................................................... 10 顯示特效過程 ................................................................... 10 顯示特效類 ....................................................................... 11 柵條顯示 .................................................................................. 12 柵條顯示特效的特效預(yù)覽 .............. 12 基本原理和實(shí)現(xiàn)方法 ...................................................... 12 馬賽克顯示特效 ...................................................................... 14 馬賽克顯示特效的特效預(yù)覽 .......................................... 14 基本原理和實(shí)現(xiàn)方法 ....................................................... 15 編程實(shí)現(xiàn) .......................................................................... 16 移動(dòng)顯示特效 ............................................................................ 18 移動(dòng)顯示特效顯示預(yù)覽 .................................................. 18 基本原理和實(shí)現(xiàn)方法向右移動(dòng) ....................................... 18 編程實(shí)現(xiàn) .......................................................................... 20 基于 VC++的圖像特效顯示研究 IV 百葉窗顯示特效 ........................................................................ 21 基本原理和實(shí)現(xiàn)方法 ...................................................... 21 基本原理和實(shí)現(xiàn)方法 ...................................................... 22 編程實(shí)現(xiàn) .......................................................................... 23 對(duì)于常見特效顯示算法的改進(jìn) ................................................ 25 4 設(shè)計(jì)一個(gè)圖像瀏覽工具 GraphShower ............................................... 26 兩個(gè)特效顯示及其算法 .......................................................... 26 漸變百葉窗顯示 ............................................................ 26 泡泡腐蝕顯示 ................................................................ 30 VC++程序界面設(shè)計(jì) .................................................................. 35 CDC 類的派生類設(shè)計(jì) .................................................... 35 CDialog 類的派生類的成員函數(shù)設(shè)計(jì) ......................... 36 基本窗口設(shè)計(jì) ................................................................ 37 測(cè)試分析及總結(jié) ...................................................................... 38 結(jié) 語 ...................................................................................................... 40 致 謝 ........................................................................................................ 42 參考文獻(xiàn) .................................................................................................. 43 成都理工大學(xué)工程技術(shù)學(xué)院畢業(yè)設(shè)計(jì) 1 1 數(shù)字圖像發(fā)展概述 數(shù)字圖像引言 數(shù)字圖像處理就是用計(jì)算機(jī)對(duì)圖像進(jìn)行分析和處理,它是一門跨學(xué)科的技術(shù)。 關(guān)鍵詞:特效顯示;掃描;柵條;馬賽克; VC++。該界面包含兩部分 :啟動(dòng)界面和主界面。 界面是基于 Microsoft Visual C++ MFC多文檔編程的圖像處理界面,實(shí)現(xiàn) .bmp 格式圖像的瀏覽與編輯,導(dǎo)入和導(dǎo)出,圖像特效顯示 ,邊緣檢測(cè) ,旋轉(zhuǎn)和翻轉(zhuǎn)圖片,圖片增強(qiáng)優(yōu)化,以及打印輸出圖片。成都理工大學(xué)工程技術(shù)學(xué)院畢業(yè)設(shè)計(jì) 基于 VC++的圖像特效顯示研究 作者姓名: XXX 專業(yè)名稱: 電子信息科學(xué)與技術(shù) 指導(dǎo)教師: XXX講師 成都理工大學(xué)工程技術(shù)學(xué)院畢業(yè)設(shè)計(jì) I 摘要 圖像的特效顯示在計(jì)算機(jī)技術(shù)領(lǐng)域應(yīng)用廣泛, Windows的屏幕保護(hù)程序就采用了各種各樣的圖像特效顯示,使人感到耳目一新。本論文闡述了基于 VC++設(shè)計(jì)圖像特效顯示的基本原理和方法,研究了現(xiàn)有的掃描特效顯示、柵條特效顯示、馬賽克特效顯示,并分析了這些顯示的相關(guān)算法,通過研究創(chuàng)新設(shè)計(jì)出兩個(gè)特效顯示 —— 漸變百葉窗特效和泡泡腐蝕特效,介紹了這兩個(gè)特效顯示的算法實(shí)現(xiàn)及軟件界面的 設(shè)計(jì)實(shí)現(xiàn)過程。是一款功能較簡(jiǎn)潔的數(shù)字圖像管理界面 ,實(shí)現(xiàn)對(duì) .bmp 格式圖像的操作。 BMP 文件是 Windows 操作系統(tǒng)所推薦和支持的圖像文件格式 ,是一種將內(nèi)存或顯示器的圖像數(shù)據(jù)不經(jīng)過壓縮而直接按位存盤的文件格式 ,一般來說 BMP文件分成 4個(gè)部分 :位圖頭文件 ,位 圖信息頭 ,顏色表 ,位圖數(shù)據(jù) .同時(shí) BMP 文件文件可以分為 DIB 格式和 DDB 格式 ,其中 DIB 格式是與設(shè)備無關(guān)的 BMP 文件 ,通用性很強(qiáng) .Windows 支持一些重要的 DIB訪問函數(shù) ,但都沒有封裝到 MFC中 ,這里我們封裝了一個(gè)DIB 類 ,其包含 DIB 文圖處理所需要的基本成員變量和成員函數(shù) ,進(jìn)而以該類為基類派生其他類 ,實(shí)現(xiàn)程序的維護(hù)和移植 ,從而利用面向?qū)ο蟮姆绞綄?shí)現(xiàn)圖像的可視化編程。數(shù)字圖像處理 基于 VC++的圖像特效顯示研究 II Abstract Special effects show for images is applied in the field of puter technology widely. The Windows screen savers use a variety of image special effects which feel refresh. This paper describes the basic principles and methods of image special effects show based on VC++. The algorithm of the effect shows including scanning special effect show, bar special effect show and mosaic special effect show are studied. This paper also designes two special effects—— Gradually changing blinds and corroding bubble. The implementation of the display algorithm and software interface designment are realized in this paper. The digital image processing interface is based on Microsoft Visual C + + MFC multidocument image processing programming interface, to achieve. Bmp format for image browsing and editing, import and export, image effects showed that edge detection, rotate and flip images, pictures enhance the optimization, as well as print output picture. Is a function of the digital image than the simple management interface, to achieve. Bmp format images of the operation. The interface contains two parts: interface and the main interface to start. BMP file is a Windows operating system and support the remended image file format, is a memory or display the pressed image data is not directly based on digital archiving of file formats, BMP files are generally divided into four parts: the first bitmap documents, BITMAPINFOHEADER, color table, the bitmap data.