介绍JPEG的原理和实现,可以做为新手的基础教材使用,会有很大的启发!-JPEG introduced the theory and implementation can be used as the basis for teaching novice to use, there will be a great inspiration! 下载
|
提示: JPEG压缩分为三个部分: 1.JPEG压缩原理及算法(RGB/YCbCr,DCT/IDCT,量化,Z字型编码,用DPCM对DC/用RLE对AC编码/Huffman编码) 2.JPEG标记格式 3.JPEG图片文件的组织形式(位于SOS后的图像压缩数据是由MCU块怎样排列的,特别是使用了DRI之后) 还有许多细节问题: 1.解码过程中遇到“FF 00”当“FF”处理,否则忽略“FF” 2.进行DCT前YCbCr要减128,进行IDCT前要加128(相当于Y减128,YCbCr不需要加128) 3.每个标记中数据可以不止一个(去掉长度的部分就是一段)-Tip : JPEG compression is divided into three parts : Principles and 1.JPEG compression algorithm (RGB / YCbCr, DCT / IDCT, quantification, Z-shaped coding, using the DPCM DC / AC with RLE encoding / Huffman coding) 2.JPEG tags 3.JPEG Photo paper form (located in the SOS image data is compressed by the MCU to set pieces, particularly after the use of DRI), there are many details : 1. decoding process encountered "FF 00," when the "FF", otherwise overlooked "FF" 2 .DCTYCbCr128IDCT128Y128YCbCr128 3. 下载
|
本软件是一个通用的解压JPEG文件的源码,您可以从中学到JPEG解压原理,由于使用Delphi写成,所以很严谨。 它实现了JPEG解码的全部过程-the software is a generic JPEG decompression of the source document, you can learn from JPEG decompression principle, the use of Delphi languages, so they are very strict. It implements the JPEG decoding of the entire process 下载
|
本软件是一个通用的解压JPEG文件的源码,您可以从中 学到JPEG解压原理,由于使用Delphi写成,所以很严谨。-The software is a generic extract JPEG document source code, You can learn from JPEG decompression principle, the use of Delphi languages, so they are very strict. 下载
|
通过阅读这份文档,能够对 JPEG 图形压缩有一定感性的认识, 但其数学原理不需要搞清. 能够通过这, 开始写自己的编码/解码程序. 或者看懂以有的代码. 对有损图形压缩有进一步了解.自己能够改良 JPEG, 比如增加透明色的支持, 加快 JPEG 的解码速度. -By reading this document to JPEG image compression to a certain emotional understanding, it does not need to understand the mathematical principles. through this, begin to write their own encoding / decoding process. or to read some code. graphics compression harmful to the further understanding. own JPEG can be improved, such as increasing transparency color support and accelerate the speed JPEG decoders. 下载
|
这段时间一直在看JPEG,说老实话,看到这些东西特别昏。网上找的资料也都是讲讲原理,说到具体的从头到尾算法实现,还是特别的少。没有办法,我也只能一步一步的看,慢慢的啃。现在把压缩做出来了(包括8位和24位的),压缩的效果一般。但是还是有点问题,大家要是感兴趣的话可以下下看,我的压缩出来的图象还是有点模糊,我也不知道怎么办了,要是有哪位仁兄能够改进,希望能够传上来一起分享。 就我个人来说,这个源程序还是很清楚的,完全是按照JPEG的压缩步骤来的,并且有很详细的注解,不敢说大家都能很快的看懂源程序,至少也可以看懂大部分。其中还有我在学习的时候的一些注意点。不管是不是出丑,我希望这能给和我现在,或是将来要学习JPEG的朋友提供点互相学习的机会。 -this time in view JPEG, telling the truth, especially to see these things happened. For online information are also talk about the principle, when it comes to specific algorithm from start to finish, or as a special limited. There is no way I can look at it step by step, slowly nibble. Now the compression done (including 8 and 24), the effect of general compression. But still some problems, if everyone is interested in where they can see, I compressed the image is still a little fuzzy, I do not know how to do that if there are any wild improved, Chuan onto hope to share. For me personally, this source is very clear, in full compliance with the JPEG compression steps, and have had a very detailed notes, not everyone can quickly understand the source, at least most can understand. Among them 下载
|
BMP与JPG文件格式转变的源代码 一个把BMP压缩成JPG的源代码。 大小:16.4K 附: 1. 编译说明 1) 在VC IDE 选择setting->link> 加jpeg.lib 2) 编译程序 2. 原理 程序首先读BITMAP 文件的各像素点的RGB值, library 做压缩 RGB 缓冲区成JPEG文件或缓冲区。-BMP and JPG file format changes in the source code BMP put a JPG compressed into the source code. Size : 16.4K : Attachment 1. Compiler Note 1) VC IDE choice setting-gt; Linkgt; Plus jpeg.lib 2) compiler 2. Principle procedures BITMAP first reading of the document point pixel RGB value, library so compressed RGB JPEG files into the buffer zone or the buffer zone. 下载
|
本程序在EVC4.0+PPC SDK 2003下调试通过。 用Independent JPEG Group发行的JpegLib进行Jpeg图像的读取与保存。 这里只加了一个简单的处理示例——负片。其他的处理可以用与这个类似的方法,有了处理的算法对像素数据进行操作。或者加上鼠标事件的处理来完成绘画功能等等,这里主要是对JPEG文件进行操作的部分。 注意:程序中的CTScreenBuffer并未使用,原因是使用它加载后有段内存没有释放,加上BMP数据本来就比较好处理,所以自己写一段,将BMP数据加上头信息就可以CreateDIBSection了。 保存的默认质量Q=85,大家在使用时可以按照要求改变。 对应的PC版可以在VC下面编译使用,是基本的图象处理程序框架。 -the procedures in EVC4.0 PPC SDK under debugging through 2003. Independent JPEG Group with the issue for JpegLib Jpeg image Read and preservation. Here are adding a simple example of the treatment -- Negative. Other treatment can be used with a similar approach, with the right algorithm pixel data for the operation. Mouse or with the handling of the incident to complete the painting functions, and so on, here are the major JPEG files part of the operation. Note : CTScreenBuffer the procedures had not been used. It is due to the use of loading after not release memory, coupled with BMP data was relatively easy to deal with. So he has written section BMP data will be coupled with the first information on the CreateDIBSection. Preserve the quality of the default Q = 85, we can use the request 下载
|
BMP压缩成JPG的源代码, 原理 程序首先读BITMAP 文件的各像素点的RGB值, library 做压缩 RGB 缓冲区 成JPEG文件或缓冲区.-BMP JPG compressed into the source code, principle procedures BITMAP first reading of the document point pixel RGB value, library so compressed RGB JPEG files into the buffer zone or buffer zone. 下载
|
数字图像处理实验 根据原图像的直方图,发现背景和目标的分割值大约在130左右,并将灰度图像转为二值图像,分割效果比较理想。 图像处理实验(六)图像压缩与编码 实验目的: 学习JPEG压缩编码 实验内容: 一.实现基本JPEG的压缩和编码分三个步骤: 1. 首先通过DCT变换去除数据冗余; 2. 使用量化表对DCT系数进行量化; 3. 对量化后的系数进行Huffman编码。-digital image processing experiments based on the original image histogram, found background and objectives of the divided about the value of around 130 and two gray-scale image to image, Segmentation more satisfactory results. Image processing experiments (6) Image Compression and Coding of the experiment : Learning JPEG compression coding experiment : one. Basically JPEG compression and coding in three steps : 1. First through DCT remove data redundancy; 2. Using quantitative table right DCT coefficient quantization; 3. Right quantized coefficients of Huffman coding. 下载
|