⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 perform_arithmetic_coding.m

📁 This document is intended to serve as an introduction to Wavelet processing through a set of Matlab
💻 M
字号:
function [y,nbr_bits] = perform_arithmetic_coding(x,dir,options)

% perform_arithmetic_coding - perform adaptive arithmetic coding
%
% 	[y,nbr_bits] = perform_arithmetic_coding(x, dir, options);
%
%   options.coder_type tells the type of arithmetic coder used :
%       coder_type=1: LetItWave Mex arithmetic coder.
%       coder_type=2: Escape-code based Mex arithmetic coder.
%       coder_type=3: Matlab slow arithmetic coder,
%           Based on the code of (c) Karl Skretting.
%       coder_type=4: Another slow arithmetic coder.
%       coder_type=5: *Not a real coder*, just using shannon bound to estimate.
%       coder_type=6: Matlab built-in fixed coder arithenco. You must provide the
%           probability distribution in options.histo.
%       coder_type=7: arithmetic coder using generalized laplacian
%           paremterized density estimation.
%       coder_type=8: Fast mex version of a fixed arithmetic coder (adapted
%           from Numerical Recipes). You must provide the
%           probability distribution in options.histo.
%
%   Set options.known_size=n if you know at decode time the length of the
%   signal.
%
%   Copyright (c) 2006 Gabriel Peyr

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -