登录
首页 » matlab » JPEGCompression

JPEGCompression

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

  • aam
    用AAM算法进行人脸特征点的标定,即对人脸的眼睛,眉毛,嘴巴,鼻子及脸的轮廓进行标记,此代码标记了68个特征点。(AAM algorithm for facial feature points calibration, calibration of this code is the 68 feature points, see the instance document.)
    2012-10-16 16:12:43下载
    积分:1
  • HaarPSRC=Vehicle-detection
    运用harr特征+SRC(稀疏表示)分类实现的一种车辆检测方法,文件中提供了训练和测试车辆图片。由于时间原因,所用haar特征没有优化,维度过高,导致滑窗框图过慢,本代码只输出效果统计数据,以供大家参考学习稀疏表示在车辆检测中的应用。(Using harr feature+SRC (sparse representation) classification to achieve a vehicle detection method, the paper provides a training and test vehicle picture. Due to time reasons, the use of haar feature is not optimized, high dimension, resulting in sliding sash figure is too slow, the effect of the code only output statistics for your reference learning sparse representation in the vehicle detection.)
    2013-07-31 11:21:35下载
    积分:1
  • h264
    h264实现监控,不是动态的,是通过读取每一帧图像(h264 yuv420 to rgb)
    2013-10-27 00:19:11下载
    积分:1
  • demo_MLS-My
    用matlab对点云数据进行曲面分析,对三维点云配准算法有很大的改进作用。(Using matlab for point cloud data for surface analysis, the three-dimensional point cloud registration algorithm has greatly improved effect.)
    2013-06-03 18:18:56下载
    积分:1
  • optics
    说明:  光学现象模拟,包括反射,折射,牛顿环,杨氏双缝干涉等。转自某blog(optical phenomena simulation, including reflection, refraction, Newton Central, Young's double slit interference. Transfers from a blog)
    2006-04-28 18:02:10下载
    积分:1
  • JPDA
    对多目标航迹跟踪进行关联和融合,采用JPDA(联合概率数据关联算法)对目标跟踪(And the multi-target track tracking is combined and merged)
    2016-11-23 17:30:38下载
    积分:1
  • 06026250
    Adaptive Perona–Malik Model Based on the Variable Exponent for Image DenoisingThis paper introduces a class of adaptivePerona–Malik (PM) diffusion, which combines the PM
    2013-09-26 15:38:33下载
    积分:1
  • xa_context
    Chunk does not have valid dummy end block.
    2015-10-09 15:35:54下载
    积分:1
  • image registration by sift and surf
    sift和surf特征点提取,然后进行配准,通过ransac进行提纯(Sift and surf feature points are extracted, then registered and purified by RANSAC)
    2021-04-16 15:18:53下载
    积分:1
  • 云信白板whiteboard
    【实例简介】 云信开源的电子白板,有web、android、ios、qml
    2021-09-02 00:31:11下载
    积分:1
  • 696516资源总数
  • 106611会员总数
  • 19今日下载