-
大小: 134KB文件类型: .zip金币: 1下载: 0 次发布日期: 2021-06-07
- 语言: Matlab
- 标签: jpeg PhilSallee matlab
资源简介
This distribution contains routines for manipulating files formatted
according to the Joint Photographic Experts Group (JPEG) standard.
Matlab's built-in IMREAD and IMWRITE functions provide basic
conversion between JPEG files and image arrays. The routines in this
package provide additional functionality for directly accessing the
contents of JPEG files from Matlab, including the Discrete Cosine
Transform (DCT) coefficients, quantization tables, Huffman coding
tables, color space information, and comment markers. It is assumed
that the user of this software has a good understanding of both the
JPEG compression standard and Matlab data structures.
This software is based in part on the work of the Independent JPEG
Group (IJG), as it makes use of IJG's free JPEG code library. If the
MEX file binaries provided in this distribution are not the ones you
need for your system, you will need to download IJG's code library and
install it on your system before compiling the source code. See
"Installing" for more details.
----
Phil Sallee 9/2003
代码片段和文件信息
% BDCT Blocked discrete cosine transform
%
% B = BDCT(A) computes DCT2 transform of A in 8x8 blocks. B is
% the same size as A and contains the cosine transform coefficients for
% each block. This transform can be inverted using IBDCT.
%
% B = BDCT(AN) computes DCT2 transform of A in blocks of size NxN.
% Phil Sallee 9/03
function b = bdct(an)
if (nargin < 2)
n = 8;
end
% generate the matrix for the full 2D DCT transform (both directions)
dctm = bdctmtx(n);
% reshape image into blocks multiply and reshape back
[vrc] = im2vec(an);
b = vec2im(dctm*v0nrc);
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 65536 2003-10-30 18:44 jpeg_read.dll
----------- --------- ---------- ----- ----
65536 1
- 上一篇:matlab蔡氏电路相图
- 下一篇:有效地亚像素配准方法matlab
相关资源
- 有效地亚像素配准方法matlab
- matlab蔡氏电路相图
- 基带波形 matlab实现
- 运输问题表上作业法matlab完整描述
- SSIM 全参考图像质量评价 matlab代码
- 33节点潮流计算matlab
- 流形学习算法MATLAB代码
- MATLAB与编程英文Chapman之习题解答
- matlab 使用递归方法列出或查找指定目
- 罗盘赌算法Matlab实现
- Bresenham画直线MATLAB实现
- matlab光点识别
- matlab环境下光伏电池典型模型
- 倒立摆 matlab仿真程序
- MatLab解数学方程组
- Gabor小波变换
- 用MATLAB实现彩色图像的灰度化处理
- 数值积分的龙贝格算法MATLAB程序
- MATLAB 贪吃蛇
- Matlab_Active-set算法和
- levinson_durbin算法matlab程序
- 一些用matlab编写的经典遗传算法算例
- matlab矩阵中心化的详细方法
- matlab加椒盐噪声和滤噪的方法
- matlab中将运算结果保存为excel或txt文件
- matlab求方差和标准差的函数用法
- Windows64位系统安装matlab找不到编译器
- canny算子源码(matlab)
- BP神经网络数字识别matlab2014a
- 16qam调制识别matlab
评论
共有 条评论