登录
首页 » matlab » JPEGCompression

JPEGCompression

于 2019-02-18 发布 文件大小:824KB
0 239
下载积分: 1 下载次数: 3

代码说明:

  编码: (1)进行颜色转换,将RGB格式转换为YUV格式。 (2)将待编码的N×N的图像分解成(N/8)^ 2 个大小为8×8的子图像。 (3)对每个子图像进行DCT变换,得到各子图像的变换系数。这一步的实质是把空间域表示的图像转换成频率域表示的图像。 (4)对变换系数进行量化。 (5)进行Z字形重排 (6)使用霍夫曼变长变码编码器对量化的系数进行编码,得到压缩后的图像(数据)。 解码: (1) 对压缩的图像数据进行解码,得到用量化系数表示的图像数据。 (2) 进行反Z字型重排 (3)用与编码时相同的量化函数或量化值表对用量化系数表示的图像数据进行逆量化,得到每个子图像的变换系数。 (4)对逆量化得到的每个子图像的变换系数进行反向正交变换(如反向DCT变换等),得到(N/8)^2 个大小为8×8的子图像。 (5)将(N/8)^2 个大小为8×8的子图像重构成一个N×N的图像。 (6)进行颜色组合,将YUV格式转换为RGB格式图像。(JPEG compression and decompression process)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • huidu
    基于图像的灰度共生矩阵方法的图像纹理分割(Gray-level image-based methods of co-occurrence matrix image texture segmentation)
    2007-07-11 09:52:05下载
    积分:1
  • suanzi
    用所写算子进行边缘检测,对matlab自身图片进行分析,其中的suanzi.m是自定义的边缘检测算子(operator with written for edge detection, right Matlab own photo analysis suanzi.m which is the definition of edge detection operator)
    2007-05-24 09:08:56下载
    积分:1
  • fringe-recognize00123
    指纹识别 能够快速的识别出指纹库中的指纹,是否与输入的待检测的指纹相同,效果很好(Fingerprint identification can quickly identify the fingerprint of fingerprints, whether the same as the input fingerprint to be detected, the effect is very good)
    2017-05-23 10:03:21下载
    积分:1
  • Visual+C++Picture
    说明:  该书介绍的用VC实现图像处理,其中包括一些图像处理知识的介绍(The book described the realization of image processing using VC, including some knowledge of image processing introduction)
    2008-11-29 14:47:35下载
    积分:1
  • thin-plate-splines
    tps变换算法,一个很好的MATLAB程序,用于图像拼接(tps transform algorithm, a good MATLAB programs for image stitching)
    2011-09-02 13:23:20下载
    积分:1
  • 配准源码(ncc)
    说明:  matlab的图像配准源码,对图像处理理解有帮助(The source code of image registration in MATLAB is helpful for the understanding of image processing)
    2020-03-25 13:40:16下载
    积分:1
  • KMP
    图像处理的KMP算法源程序,KMP算法是一种基本的、实用的字符串比较算法,广泛应用于图像处理和模式识别。(Image processing algorithms source KMP, KMP algorithm is a basic, practical string comparison algorithm, widely used in image processing and pattern recognition.)
    2011-09-23 19:46:43下载
    积分:1
  • src
    基于C++的人脸分割的设计,C/C++语言、数字信号处理,最好选修过“数字图像处理”。(Based on the C++ face segmentation design, C/C++ language, digital signal processing, the best elect digital image processing.)
    2017-01-09 15:09:02下载
    积分:1
  • SANBAN
    对比两张图片上的散斑的变化来确定被测材料的变形和相关位移(Change of speckle contrast two images to determine the detected material deformation and displacement)
    2020-12-23 13:59:06下载
    积分:1
  • houghline
    实现在matlab环境下的直线检测,效果很好,请大家试试。(Realize in the matlab environment linear detection, the effect of good, please try everyone.)
    2008-05-15 22:49:05下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载