登录
首页 » matlab » JPEGCompression

JPEGCompression

于 2019-02-18 发布 文件大小:824KB
0 261
下载积分: 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 个回复

  • rmse
    compute the root-mean-square error
    2010-11-13 12:48:33下载
    积分:1
  • Texture
    说明:  用灰度共生矩阵对共生矩阵归一化和计算能量、熵、惯性矩、相关4个纹理参数。(On the symbiosis with the GLCM matrix normalization and calculation of energy, entropy, moment of inertia, related to four texture parameters.)
    2010-04-23 16:29:15下载
    积分:1
  • ColorHistogram
    将图像转换到HSV空间,并对其进行量化降维后,计算其颜色直方图(Image conversion to HSV space, and to quantify the dimensionality reduction, the calculation of its color histogram)
    2021-02-04 22:49:58下载
    积分:1
  • StereoVision-master
    双目相机的三维重建程序,包含两个相机的标定,极线校正,图像匹配,三维重建(Binocular camera reconstruction program, including calibration of the two cameras, pole line correction, image matching, 3D reconstruction)
    2021-04-25 22:48:45下载
    积分:1
  • weighted-least-squares-filter
    基于加权最小二乘最优化框架的滤波器。可用于实现图像的分层编辑。(Weighted least square)
    2021-04-22 10:28:48下载
    积分:1
  • domaintap
    该算法实现字母个数的统计,希望对大家有用!()
    2018-03-15 09:00:55下载
    积分:1
  • GraphCut
    对Vladimir Kolmogorov,Yuri Boykov大牛的算法杰作——Graph Cut进行使用演示,代码力求精简,可供Graph Cut初学者参考学习。已通过VS2005编译。(Of Vladimir Kolmogorov, Yuri Boykov big cow masterpiece algorithm- Graph Cut for the use of demonstration, the code to be simple, for beginners Reference Graph Cut Study. VS2005 compiler has passed.)
    2020-10-30 22:20:01下载
    积分:1
  • cvpr16_deblur_study-master
    说明:  文献 "Deblurring Text Images via L0-Regularized Intensity and Gradient Prior" 的参考代码 用Lp正则化方法做盲复原的代码 demo_text_deblurring 是主函数(refer to "Deblurring Text Images via L0-Regularized Intensity and Gradient Prior" main function: demo_text_deblurring)
    2020-11-13 14:59:43下载
    积分:1
  • Par_bc
    说明:  天线方向图,贝叶斯加权,阵元不加权子阵不加权时的方向图(antenna pattern,beyliss ,array,Antenna pattern, Bayes weighted, the pattern of the unweighted sub-array of the array element)
    2020-12-03 21:39:25下载
    积分:1
  • 海康SDK视频抓拍
    【实例简介】 通过调用海康sdk,按时间间隔进行拍照
    2021-10-26 00:31:07下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载