登录
首页 » matlab » JPEGCompression

JPEGCompression

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

  • bcolor_treat
    利用matlab从某张图片中提取或删除某种颜色的背景。(extract/delete certain color from a picture)
    2019-05-09 09:44:52下载
    积分:1
  • TemplateTran
    用VC编写的一个图像处理的程序:它可以实现图像的增强,包括:图像的平滑、中值滤波、梯度锐化、拉普拉斯锐化和伪彩色编码(VC prepared by an image processing procedures : it can enhance the images, including : image smoothing, Median filtering, sharpening gradient, Laplacian sharpening and pseudo-color coding)
    2007-04-12 10:15:19下载
    积分:1
  • Interpolation
    利用低通滤波器对图像进行插值放大:按放大的倍数对原图像进行插零,插零后的图片与低通滤波函数进行卷积,原先插入的零的位置自动替换为适当的插值,如此图像就已经插值放大了,图像质量还不错。(Double the number of pixels of each row and column by adding a zero value pixel between each pixel of the image.Then operate with two kinds of low-pass filters to get the enlarged image.)
    2010-02-17 05:00:44下载
    积分:1
  • VZ_HELP
    说明:  全数字摄影测量系统 VirtuoZo 具有以下特点:
    2011-03-26 12:41:11下载
    积分:1
  • fast-corner_detect_matlab
    快速角点检测,对学习角点检测同学应该有帮助。(Fast corner detection, detect students learning corners should help.)
    2012-06-13 11:31:51下载
    积分:1
  • 图像处理程序
    说明:  图像处理程序,基于K均值聚类的图像分割——灰度图像,基于中位数算法的运动目标检测(Image processing program, image segmentation based on k-means clustering -- gray image, moving target detection based on median algorithm)
    2020-06-20 14:00:02下载
    积分:1
  • matlab.doc
    数字音频水印的嵌入,提取,然后进行攻击性实验,检验其鲁棒性(Digital audio watermark embedding and extraction, and then attack experiment to test its robustness)
    2021-04-15 17:48:54下载
    积分:1
  • LineTrans
    说明:  该程序实现的功能是:图像反色,线形变换,对于图像处理初学者非常实用。(The realization of the program)
    2008-11-11 16:35:10下载
    积分:1
  • halcon检测胶圈闭合
    说明:  halcon检测封闭胶圈,halcon12版本(Halcon detection of closed aprons)
    2020-07-02 06:20:01下载
    积分:1
  • color-image-into-color1-s2
    color image watermarking with color
    2013-08-13 19:33:04下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载