登录
首页 » matlab » JPEGCompression

JPEGCompression

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

  • Fourier-Mellin
    Application of the Fourier-Mellin transform to translation-, rotationand scale-invariant plant leaf identification
    2011-10-22 04:50:56下载
    积分:1
  • chedaoxian
    完成了对车道线进行了识别,主要流程为灰度化,边缘检测,hough变换。(We completed the lane line identification, the main process of graying, edge detection, hough transform.)
    2017-03-07 08:56:32下载
    积分:1
  • readhdf
    读取MODIS的HDF文件和ENVI IDL的程序(MODIS ENVI IDL readhdf.pro)
    2015-08-26 11:39:06下载
    积分:1
  • fitellipse
    非常好的椭圆拟合算法,拟合进度很高,算法很好理解,代码质量高(Ellipse fitting algorithm is very good, very fit schedule, a good understanding of algorithms, high code quality)
    2017-02-07 14:22:08下载
    积分:1
  • Batch-based-OMP
    基于块的OMP算法,相对传统的OMP算法速度很快!(Batch-based OMP algorithm,execution quickly than the comman OMP algorithm.)
    2013-01-09 10:12:15下载
    积分:1
  • NMF-of-beta-divergence
    这是著名的“Algorithmes de factorisation en matrices non-négatives fondée sur la beta-divergence”这篇文章算法的matlab源代码(This is the famous article " Algorithmes de factorisation en matrices non-ngatives fonde sur la beta-divergence" algorithm matlab source code)
    2013-04-08 15:33:20下载
    积分:1
  • 毕设总程序
    说明:  使用Harris角点检测器查找特征。再使用SIFT描述符并匹配两个图像之间的特征描述符。使用RANSAC执行单应。最后把图像包起来缝合。(Use Harris corner detector to find features. Sift descriptors are then used to match the feature descriptors between the two images. Use RANSAC to perform single response. Finally, the image is wrapped and stitched.)
    2020-05-08 16:04:04下载
    积分:1
  • yaogan
    遥感数字图像处理基础 遥感数字图像处理基础(yao gan shu zi tu xiang chu li ji chu)
    2010-10-26 16:19:28下载
    积分:1
  • yuv_to_rgb
    YUV与RGB颜色空间之间的转换,转换效果很好的。(YUV and RGB color space conversion between the effect of a very good conversion.)
    2007-12-10 14:12:13下载
    积分:1
  • mscale_featmatch
    图像立体匹配的有关源码,挺不错的,一起来分享吧(Matching three-dimensional image of the source, very good one to share with you)
    2008-05-18 15:11:18下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载