基于FPGA的JPEG壓縮編碼器的設計與實現(xiàn)
本文關鍵詞: 圖像壓縮 FPGA JPEG 出處:《中北大學》2017年碩士論文 論文類型:學位論文
【摘要】:隨著數(shù)碼相機等電子產(chǎn)品滲透在人類生活的方方面面,以及圖像技術在航天、通訊、生物醫(yī)學等領域的不斷應用,這些廣大的需求刺激著圖像壓縮技術的發(fā)展。從JPEG壓縮到JPEG2000,再到JPEG XR,科研工作者對圖像壓縮的研究從未停止腳步。雖然JPEG2000和JPEG XR在某些性能方面優(yōu)于JPEG壓縮技術,但事實上,JPEG壓縮仍然是事實上的主流技術。同時,鑒于FPGA的快速發(fā)展與廣泛應用,它豐富的資源優(yōu)勢及它強大的并行優(yōu)勢越來越受到人們的青睞,因此,在很多對速度和實時性要求較高的應用中,科研人員更趨向用FPGA來實現(xiàn)圖像壓縮。鑒于JPEG壓縮在各領域的應用多是灰度圖像,因此本文實現(xiàn)的JPEG壓縮器是針對灰度圖像進行設計的。本文首先介紹了圖像壓縮的研究背景與意義以及目前JPEG壓縮的發(fā)展現(xiàn)狀,然后給出了JPEG編碼器在FPGA中實現(xiàn)的設計方案,并對本設計采用的JPEG壓縮基本系統(tǒng)的流程進行了詳盡的介紹。其次,又針對JPEG壓縮中重要的算法DCT變換和量化給出了新的實現(xiàn)方式,并用MATLAB對其做了仿真驗證。接著按模塊化的思想一一介紹了各個模塊在FPGA中的設計實現(xiàn),最后給出了各模塊的測試驗證。本設計采用Altera公司Cyclone III系列的芯片,在QuartusII 13.0的開發(fā)環(huán)境下完成設計。對二維DCT變換模塊,采用了類陳氏算法,充分利用FPGA的并行性和乘法器資源,實現(xiàn)了快速、穩(wěn)定的DCT變換。量化模塊創(chuàng)新的實現(xiàn)了可在FPGA中進行9級不同量化表的選擇,以查找表的方式實現(xiàn)了DC/AC系數(shù)的熵編碼。并先后對各個模塊進行了功能測試,將圖像源數(shù)據(jù)做成MIF文件進行測試,并用第三方軟件解碼,最后證明能夠顯示完整的圖片。測試結(jié)果表明,該JPEG編碼器實現(xiàn)了預期的功能,達到設計目標。
[Abstract]:With the penetration of digital cameras and other electronic products in all aspects of human life, as well as image technology in aerospace, communications, biomedical and other fields of continuous application. These vast demands stimulate the development of image compression technology, from JPEG compression to JPEG2000 to JPEG XR. Researchers have never stopped studying image compression. Although JPEG2000 and JPEG XR are better than JPEG compression in some aspects, in fact. JPEG compression is still the mainstream technology in fact. At the same time, due to the rapid development and wide application of FPGA, its rich resource advantages and its powerful parallel advantages are more and more popular. In many applications which require high speed and real-time, researchers tend to use FPGA to achieve image compression. In view of the application of JPEG compression in various fields, most of them are gray images. Therefore, the JPEG compressor realized in this paper is designed for grayscale image. Firstly, this paper introduces the research background and significance of image compression and the current development of JPEG compression. Then the design scheme of JPEG encoder in FPGA is given, and the flow of the basic JPEG compression system used in this design is introduced in detail. Secondly. A new implementation method of DCT transform and quantization, which is an important algorithm in JPEG compression, is also presented. Then the design and implementation of each module in FPGA are introduced one by one according to the idea of modularization. Finally, the test verification of each module is given. This design adopts the Cyclone III series chip of Altera company. In the development environment of QuartusII 13.0, the design is completed. For the two-dimensional DCT transform module, Chen's algorithm is used to make full use of the parallelism of FPGA and multiplier resources. A fast and stable DCT transformation is realized. The quantization module innovates to select 9 different quantization tables in FPGA. The entropy encoding of DC/AC coefficient is realized by lookup table, and the function of each module is tested successively. The image source data is made into MIF file and decoded by the third party software. The test results show that the JPEG encoder achieves the desired function and achieves the design goal.
【學位授予單位】:中北大學
【學位級別】:碩士
【學位授予年份】:2017
【分類號】:TP391.41
【參考文獻】
相關期刊論文 前10條
1 張雅媛;孔令罔;;一種基于改進量化表的JPEG圖像壓縮算法[J];包裝工程;2016年13期
2 劉方明;潘曉中;楊曉元;蘇光偉;;數(shù)字圖像DCT變換的FPGA實現(xiàn)[J];計算機工程與應用;2012年06期
3 何業(yè)軍;劉鵬;雷海軍;提干;李先義;;高精度二維DCT的結(jié)構(gòu)優(yōu)化算法研究及FPGA實現(xiàn)[J];電視技術;2011年15期
4 馮彥輝;高潔;徐曄;陳海軍;;基于JPEG圖像文件格式的研究[J];山西電子技術;2009年01期
5 余秋菊;;基于DCT變換的JPEG圖像壓縮及其MATLAB實現(xiàn)[J];科技信息(學術研究);2008年36期
6 陳超;王耀明;;使用改進量化和不規(guī)則圖像編碼的JPEG算法[J];上海電機學院學報;2007年04期
7 徐長遠;魯順昌;;JPEG離散余弦變換的FPGA硬件實現(xiàn)[J];西華大學學報(自然科學版);2007年01期
8 覃鳳清;;數(shù)字圖像壓縮綜述[J];宜賓學院學報;2006年06期
9 孫學巖,葉海建,韓玉坤;數(shù)字圖像壓縮原理及常用壓縮編碼方法[J];農(nóng)機化研究;2005年03期
10 司馬苗,周源華;基于FPGA的二維DCT變換的實現(xiàn)[J];紅外與激光工程;2003年04期
,本文編號:1481431
本文鏈接:http://sikaile.net/kejilunwen/ruanjiangongchenglunwen/1481431.html