基于VC++的图像格式转换系统设计与实现(BMP转JPG算法)
1.无需注册登录,支付后按照提示操作即可获取该资料.
2.资料以网页介绍的为准,下载后不会有水印.资料仅供学习参考之用.
密 惠 保
摘要图像压缩方法有很多种,从不同的角度出发有不同的分类方法。从信息论的角度出发可以分为两大类:(1)冗余度压缩方法,也称无损压缩、信息保持编码或熵编码。具体讲就是解码图像和压缩编码前的图像严格相同,没有失真。从数学上讲是一种可逆运算。(2)信息量压缩法,也称有损压缩、失真度压缩或熵压缩编码。也就是讲解码图像和原始图像有差别,允许一定的失真。其中,无损压缩编码有:霍夫曼编码、算术编码、行程编码、Lempel zev编码;有损编码有:预测方法(DPCM,运动补偿)、频率域方法(正文变换编码,子带编码)、空间域方法(统计分块编码)、模型方法(分形编码,模型基编码)、基于重要性(滤波,子采样,比特分配,矢量量化)。本文以BMP格式图像为例,在Visual C++6.0的MFC编程环境下,系统介绍了图像压缩存储的全过程。由于是基于BMP的图像处理,本文首先介绍了BMP图像文件的格式,因为它是所有图像处理工作的基础。接下来简单介绍了Visual C++6.0编程环境,使读者对其有个了解。最后是对BMP图像数据的具体处理。本文主要完成的工作是:BMP文件的读取与显示;BMP文件的位图数据的压缩;压缩数据的解压缩及图像再现。最终转换成JPG格式。关键词:BMP JPG GIF 压缩 图片 VC++AbstractImage Compression Method there are many, from a different point of view there are different classifications. From the perspective of information theory can be divided into two categories: (1) redundancy compression method, also called lossless compression, information coding or entropy coding to maintain. Specifically is the decoding image coding and compression of images strictly the same as before, there is no distortion. From the mathematical sense is a kind of reversible computing. (2) the amount of information compression method, also known as lossy compression, distortion or compression entropy coding. That is, images and talk about decoding the original image there is a difference, allowing a certain degree of distortion. Among them, the lossless compression coding: Huffman coding, arithmetic coding, Run-Length Coding, Lempel zev coding harmful code are: forecasting methods (DPCM, motion compensation), frequency domain methods (the body of transform coding, subband coding), spatial domain methods (statistical sub-block coding), model (fractal coding, model-based coding), based on the importance of (filtering, sub-sampling, bit allocation, vector quantization). In this paper, BMP format images as an example, in Visual C + +6.0 of MFC programming environment, the system introduced the image compression of the entire process of storage. Because it is based on the BMP image processing, this article introduces the BMP image file format, because it is all the image processing work. Followed by a brief introduction of the Visual C + +6.0 programming environment so that readers have a knowledge of its. Finally, BMP specific image data processing. In this paper, the work is completed: BMP file to read and display BMP bitmap file data compression data compression and decompression of image reproduction. Eventually converted into JPG format.Key Words: BMP JPG GIF Compression picture VC++ 目录摘要IAbstractII第1章 绪论11.1 课题背景1第2章 开发理论知识应用22.1 开发理论知识应用22.2 BMP格式62.3 JPEG格式72.4 VC++语言介绍132.5 开发工具232.6 开发亮点25第3章 需求分析26第4章 系统结构304.1 软件结构304.1.1 功能需求304.1.2 集系统功能模块图304.2 系统流程图30第5章 系统的详细设计315.1 主界面315.2 选择bmp图象315.3 选择jpg的保存路径325.4 转化32第6章 源码分析336.1 图像转化336.2 图像转化34结论36致 谢:37参考文献38
copyright think58 [版权所有:http://think58.com]
[资料来源:THINK58.com]
预览图: copyright think58
think58 [资料来源:www.THINK58.com]