资源简介
离散余弦变换利用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
相关资源
- 基于matlab的路面裂缝检测识别系统设
- 基于MATLAB图像处理的汽车牌照识别系
- 基于matlab的神经网络dropout层
- 基于matlab的svr代码
- 使用matlab 实现DTW算法
- 基于粒子群算法的优化模型matlab程序
- 遗传算法完整MATLAB程序
- MATLAB灰色关联度代码
-
simuli
nk计数器、累加器.zip - 仿真了两径瑞利衰落信道模型和多径
- matlab读取并显示遥感img图像,包含单
- 快速随机搜索树RRT算法
-
MATLAB模糊控制及simuli
nk仿真 - psot工具箱及使用说明.zip
- 基于matlab的最小生成树prim算法
- matlab拟合程序
- GPS捕获跟踪定时同步的matlab代码
- 龙贝格算法MATLAB程序
- Matlab2017a许可证
- 基于聚类的路标检测K-meansMATLAB(RGB)
- dijkstra算法的MATLAB实现258163
- matlab程序.rar
- H-a-A-Wishart分类.zip
- Bayesian_estimate .m
- MATLAB GUI语音信号特征提取
- 遗传算法函数优化matlab代码
- WSN仿真-MATLAB基于COMPOW协议下的网络连
- 维纳滤波Matlab实现
- 动物图像多分类识别MATLAB可运行
- 龙格库塔原理详解及解微分方程组的
评论
共有 条评论