资源简介
离散余弦变换利用DCT变换对灰度图像进行压缩,求出压缩比;对比不同压缩比的图,可以直接运行,有很高的参考价值

代码片段和文件信息
function varargout = Huff06(xC ArgLevel ArgSpeed)
% Huff06 Huffman encoder/decoder with (or without) recursive splitting
% Vectors of integers are Huffman encoded
% these vectors are collected in a cell array xC.
% If first argument is a cell array the function do encoding
% else decoding is done.
%
% [y Res] = Huff06(xC Level Speed); % encoding
% y = Huff06(xC); % encoding
% xC = Huff06(y); % decoding
% ------------------------------------------------------------------
% Arguments:
% y a column vector of non-negative integers (bytes) representing
% the code 0 <= y(i) <= 255.
% Res a matrix that sum up the results size is (NumOfX+1)x4
% one line for each of the input sequences the columns are
% Res(:1) - number of elements in the sequence
% Res(:2) - zero-order entropy of the sequence
% Res(:3) - bits needed to code the sequence
% Res(:4) - bit rate for the sequence Res(:3)/Res(:1)
% Then the last line is total (which include bits needed to store NumOfX)
% xC a cell array of column vectors of integers representing the
% symbol sequences. (should not be to large integers)
% If only one sequence is to be coded we must make the cell array
% like: xC=cell(21); xC{1}=x; % where x is the sequence
% Level How many levels of splitting that is allowed legal values 1-8
% If Level=1 no further splitting of the sequences will be done
% and there will be no recursive splitting.
% Speed For complete coding set Speed to 0. Set Speed to 1 to cheat
% during encoding y will then be a sequence of zeros only
% but it will be of correct length and the other output
% arguments will be correct.
% ------------------------------------------------------------------
% SOME NOTES ON THE FUNCTION
% huff06 depends on other functions for Huffman code and the functions in this file
% HuffLen - find length of codewords (HL)
% HuffTabLen - find bits needed to store Huffman table information (HL)
% HuffCode - find huffman codewords
% HuffTree - find huffman tree
%----------------------------------------------------------------------
% Copyright (c) 1999-2000. Karl Skretting. All rights reserved.
% Hogskolen in Stavanger (Stavanger University) Signal Processing Group
% Mail: karl.skretting@tn.his.no Homepage: http://www.ux.his.no/~karlsk/
%
% HISTORY:
% Ver. 1.0 13.06.2000 KS: Function made based on huff04
% Ver. 1.1 20.06.2000 KS: Handle some more exceptions
% Ver. 1.2 21.06.2000 KS: Handle also negative values
% Ver. 1.3 23.06.2000 KS: Use logarithms for some sequences (line 114)
% Ver. 1.4 31.07.2000 KS: If a sequence has many zeros Run + Value coding
% is done. (from line 255 and som
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 394603 2020-03-08 22:47 利用DCT变换对灰度图像进行压缩,求出压缩比;对比不同压缩比的图像\1.fig
文件 305433 2020-03-08 22:47 利用DCT变换对灰度图像进行压缩,求出压缩比;对比不同压缩比的图像\2.fig
文件 24949 2020-03-08 22:47 利用DCT变换对灰度图像进行压缩,求出压缩比;对比不同压缩比的图像\Huff06.m
文件 2242 2020-03-08 22:47 利用DCT变换对灰度图像进行压缩,求出压缩比;对比不同压缩比的图像\HuffCode.m
文件 3880 2020-03-08 22:47 利用DCT变换对灰度图像进行压缩,求出压缩比;对比不同压缩比的图像\HuffLen.m
文件 4283 2020-03-08 22:47 利用DCT变换对灰度图像进行压缩,求出压缩比;对比不同压缩比的图像\HuffTabLen.m
文件 2514 2020-03-08 22:47 利用DCT变换对灰度图像进行压缩,求出压缩比;对比不同压缩比的图像\HuffTree.m
文件 388 2020-03-08 22:47 利用DCT变换对灰度图像进行压缩,求出压缩比;对比不同压缩比的图像\ilianghua.m
文件 398 2020-03-08 22:47 利用DCT变换对灰度图像进行压缩,求出压缩比;对比不同压缩比的图像\lianghua.asv
文件 394 2020-03-08 22:47 利用DCT变换对灰度图像进行压缩,求出压缩比;对比不同压缩比的图像\lianghua.m
文件 1381 2020-03-08 22:47 利用DCT变换对灰度图像进行压缩,求出压缩比;对比不同压缩比的图像\mydct1.m
文件 1424 2020-03-08 22:47 利用DCT变换对灰度图像进行压缩,求出压缩比;对比不同压缩比的图像\mydct2.m
目录 0 2020-03-11 19:45 利用DCT变换对灰度图像进行压缩,求出压缩比;对比不同压缩比的图像
----------- --------- ---------- ----- ----
741889 13
相关资源
- 串行级联cpm系统MATLAB仿真
- matlab_OFDM调制解调(来自剑桥大学)
- Matlab路面裂缝识别69319
- 高灵敏度GPS接收机MATLAB仿真,附捕获
- 基于MATLAB的质点弹道计算与外弹道优
- 阵列天线的matlab仿真
- MATLAB 经典程序源代码大全
- MATLAB小波软阈值去噪代码33473
- 天线阵的波束形成在MATLAB仿真程序及
- 非线性SVM算法-matlab实现
- 《MATLAB 智能算法超级学习手册》-程序
- 组合导航matlab程序
- 读取txt文件内容matlab代码实现
- Matlab实现基于相关的模板匹配程序
- matlab优化工具箱讲解
- 基于MATLAB的快速傅里叶变换
- 光纤传输中的分布傅立叶算法matlab实
- 基于matlab的图像处理源程序
- matlab 椭圆拟合程序
- 算术编码解码matlab源代码
- optical_flow 光流法 matlab 实现程序
- 引导图像滤波器 Matlab实现
- 分形几何中一些经典图形的Matlab画法
- OFDM系统MATLAB仿真代码
- SVM工具箱(matlab中运行)
- 图像小波变换MatLab源代码
- LU分解的MATLAB实现
- 冈萨雷斯数字图像处理matlab版(第三
- 替代数据法的matlab程序
- 用matlab实现的多站定位系统性能仿真
评论
共有 条评论