登录
首页 » matlab » JPEGCompression

JPEGCompression

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

  • 图片边缘检测滤镜,浮雕, 反选色去色黑白化多功能代码
    图片边缘检测滤镜,浮雕, 反选色去色黑白化多功能代码
    2019-11-14下载
    积分:1
  • DRR_registration
    通过将三维图像投影成2维ddr图像来实现2D-3D图像配准(By three-dimensional image projection into 2-D images ddr to achieve 2D-3D Image Registration)
    2008-01-17 18:34:03下载
    积分:1
  • RECTANGLE
    一种快速的多边形和矩形检测算法,可以广泛的应用于各种目标识别领域(A fast polygon and rectangle detection algorithm can be widely used in various areas of target identification)
    2009-02-24 15:45:17下载
    积分:1
  • CT
    说明:  图像频域处理 CT技术与图像的重建 通过一维投影复原二维图像 Matlab实现 (Frequency domain image processing and image reconstruction of CT one-dimensional projection by Matlab to achieve two-dimensional image restoration)
    2011-05-09 23:47:59下载
    积分:1
  • imageNcut
    说明:  本文为图像分割源代码,把一幅在MATLAB中读入的图像分割成任意块(This article image segmentation source code, put a read into the MATLAB image is divided into arbitrary blocks)
    2020-10-29 15:39:56下载
    积分:1
  • Canny_My_GPU
    canny边缘检测(自动设置Sigma的高斯平滑+Sobel(原始)+自适应直方图阈值)(canny edge detection (automatically set Sigma Gaussian smoothing+ Sobel (original)+ adaptive histogram threshold))
    2014-10-27 18:19:35下载
    积分:1
  • bysjtuxiang
    毕业设计的程序 用VC++6.0做的 主要是测试几个边缘检测算子的效果(Graduate programs designed to use VC++ 6.0 to do is to test several of the main edge detection operator effect)
    2008-02-28 12:23:34下载
    积分:1
  • encrypt-a-decrypt
    encryption and decryption of image using bit XOR..
    2013-08-14 18:17:31下载
    积分:1
  • 超像素分割 Matlab
    使用matlab对图像进行超像素分割,附带可执行程序。(Using MATLAB for ultra pixel segmentation of the image, accompanied by executable program.)
    2020-10-07 09:57:37下载
    积分:1
  • image_NSCT_fusion
    基于NSCT的几种图像融合算法,并对算法的性能作了比较,该代码有详细的说明。(Several image fusion algorithm based on NSCT, and compares the performance of the algorithm, the code is described in detail.)
    2015-04-22 23:01:09下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载