基于vc++6.0圖像處理的程序設計.doc
約55頁DOC格式手機打開展開
基于vc++6.0圖像處理的程序設計,55頁5.6萬余字包含畢業(yè)設計任務書,完整論文、源代碼。文獻資料等目 錄摘要2abstract3第一章開發(fā)環(huán)境visual c++簡介41.1為什么使用vc++來做圖像處理? 41.2 vc++各類型文件簡介41.3 mfc類庫41.4 本章小結5第二章bmp文件 62.1 圖像處理中的色彩原理62.2 圖像文件格式6...


內容介紹
此文檔由會員 lzj781219 發(fā)布55頁5.6萬余字包含畢業(yè)設計任務書,完整論文、源代碼。文獻資料等
目 錄
摘要……………………………………………………………………………………2
Abstract………………………………………………………………………………3
第一章 開發(fā)環(huán)境Visual C++簡介………………………………………………4
1.1為什么使用VC++來做圖像處理?………………………………………… 4
1.2 VC++各類型文件簡介………………………………………………………4
1.3 MFC類庫……………………………………………………………………4
1.4 本章小結……………………………………………………………………5
第二章 BMP文件………………………………………………………………… 6
2.1 圖像處理中的色彩原理……………………………………………………6
2.2 圖像文件格式………………………………………………………………6
2.3 BMP文件……………………………………………………………………7
2.3.1 BMP頭信息……………………………………………………………7
2.3.2 BMP圖像數據…………………………………………………………9
2.4本章小結……………………………………………………………………10
第三章 圖像處理DIB的編程……………………………………………………11
3.1 DDB…………………………………………………………………………11
3.2 DIB…………………………………………………………………………11
3.3 DIB的編程……………………………………………………………… 11
3.4 本章小結………………………………………………………………… 13
第四章 編程實現圖像復合…………………………………………………… 14
4.1 圖像變換………………………………………………………………… 14
4.1.1 平移………………………………………………………………… 14
4.1.2 旋轉………………………………………………………………… 17
4.2 圖像復合………………………………………………………………… 21
4.3 用VC++實現圖像復合…………………………………………………… 24
4.3.1 編輯菜單資源……………………………………………………… 24
4.3.2 編輯對話框資源…………………………………………………… 24
4.3.3 程序運行界面……………………………………………………… 25
4.3.4 實現代碼…………………………………………………………… 26
4.3.5 圖像處理的綜合效果……………………………………………… 33
4.3.6 程序中的注意點…………………………………………………… 34
4.4 本章小結………………………………………………………………… 34
總 結…………………………………………………………………………………35
參考文獻…………………………………………………………………………… 36
英文翻譯…………………………………………………………………………… 37
致 謝…………………………………………………………………………………54
摘 要
毫無疑問圖像處理已經成為計算機圖形學的一個重要方面。圖像處理的技術有了長足進步。一幅圖像是以像素為基礎的,我們稱之為位圖。這篇文章重點討論位圖圖像的處理。然后以兩幅圖像為例,演示如何合成圖像。
第一部分我們對VC++有個概括了解。因為圖像處理的工程是由VC++來實現的。
第二部分介紹了位圖的概念,還討論了其他的圖像文件格式。
第三部分是從DDB的定義開始的,但是主要討論的是DIB。我創(chuàng)建了幾個DIB函數,以方便今后程序的調用。
第四部分完全討論的是位圖圖像的處理,比如旋轉和平移。我們用數學形式來來對圖像處理進行分析。然后通過透明度的設置來演示圖像復合的效果。這一部分還包括用VC++實現的代碼。
關鍵詞:BMP圖像,復合,透明度,VC++
Abstract
There is no doubt that image processing have been a focus in the study of computer graphics.The technology of image processing is developed greetly.And in a computer a image is pixel-based.We call them bitmap.The paper is focus on the processing of bitmap images.Then we take two images for example,showing how to apply images.
In the first part I give an overall description of Visual C++.Because the project about the processing of bitmap images is realized by Visual C++.
In the second part the definition of bitmap image is introduced.We also discuss types of other image files.
The third part starts with DDB definitions .But it is mainly focuses on DIB.I created several functions on DIB.And we can call them from any part of the program later.
The fourth part is devoted to the processing of bitmap images, such as shifting images,rotating images.I use mathematical functions for analysis of image processing. And the effect of applying images is shown by changing the transparency.The codes in VC++ environment are also in this part.
Key words: bitmap image, overlap, transparency, VC++
參考文獻
[1] 張力,Visual C++高級編程,人民郵電出版社,2002
[2] 何斌 馬天予 王運堅 朱紅蓮等編著,Visual C++數字圖像處理,人民郵電出版社,2002
[3] Milan Sonka, Vaclav Hlavac, Roger Boyle,圖像處理、分析與機器視覺(第二版),人民郵電出版社,2002
[4] 阮秋琦編著,數字圖像處理基礎,中國鐵道出版社,1988
[5] 阮秋琦編著,數字圖像處理學,電子工業(yè)出版社,2001
[6] 孫家廣等編著,計算機圖形學(第三版),清華大學出版社,1998
[7] 侯俊杰,深入淺出MFC,華中科技大學出版社,2000
[8] 汪翔 袁輝,Visual C++實踐與提高,中國鐵道出版社,2001
[9] John E.Swanke,VC++ MFC Extension by Example.SanFrancisco;Mill Freeman Inc.,前導工作室 譯,VC++ MFC擴展編程實例,北京,機械工業(yè)出版社,2000
[10]錢新賢 楊猛 程兆煒 張少東 等,Visual C++編程疑難詳解,人民郵電出版社,2000