Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - Arithmatic
Search - Arithmatic - List

% Matlab implementation of SPIHT (without Arithmatic coding stage)
%
% By Jing Tian, scuteejtian@hotmail.com

fprintf('-----------   Welcome to SPIHT Matlab Demo!   ----------------\n');

fprintf('-----------   Load Image   ----------------\n');
infilename = 'lena512.bmp';
outfilename = 'lena512_reconstruct.bmp';

Orig_I = double(imread(infilename));

rate = 1;

OrigSize = size(Orig_I, 1);
max_bits = floor(rate * OrigSize^2);
OutSize = OrigSize;
image_spiht = zeros(size(Orig_I));
[nRow, nColumn] = size(Orig_I);

fprintf('done!\n');
fprintf('-----------   Wavelet Decomposition   ----------------\n');
n = size(Orig_I,1);
n_log = log2(n);
level = n_log;
% wavelet decomposition level can be defined by users manually.
type = 'bior4.4';
[Lo_D,Hi_D,Lo_R,Hi_R] = wfilters(type);

[I_W, S] = func_DWT(Orig_I, level, Lo_D, Hi_D);

fprintf('done!\n');

fprintf('-----------   Encoding   ----------------\n');
img_enc = func_SPIHT_Enc(I_W, max_bits, nRow*nColumn, level);  

fprintf('done!\n');
fprintf('-----------   Decoding   ----------------\n');
img_dec = func_SPIHT_Dec(img_enc);

fprintf('done!\n');
fprintf('-----------   Wavelet Reconstruction   ----------------\n');
img_spiht = func_InvDWT(img_dec, S, Lo_R, Hi_R, level);

fprintf('done!\n');
fprintf('-----------   PSNR analysis   ----------------\n');

imwrite(img_spiht, gray(256), outfilename, 'bmp');

Q = 255;
MSE = sum(sum((img_spiht-Orig_I).^2))/nRow / nColumn;
fprintf('The psnr performance is %.2f dB\n', 10*log10(Q*Q/MSE));


Update : 2008-07-07 Size : 227.42kb Publisher : jasonchang

DL : 0
汇编程序- 6174算法 很详细的,便于大家学习 -Assembler-the 6174 arithmatic is depicted in detail, so it is convenient for your study.
Update : 2008-10-13 Size : 1.14kb Publisher : 阿韦

无损熵编码,包含HUFFMAN,ARITHMATIC,LZW等无损编码。-this program can do lossless coding,include HUFFMAN ,ARITHMATIC,LZW lossless coding.
Update : 2008-10-13 Size : 27.84kb Publisher : 东海

source code for arithmatic coding
Update : 2008-10-13 Size : 40.46kb Publisher : 刘联

The programe is emluator the memory arithmatic---FIFO LRU ...in the operate system.-emluator the memory arithm atic --- FIFO LRU operate ... in the system.
Update : 2008-10-13 Size : 1.65kb Publisher : yt

MATLAB implementation of SPIHT (without Arithmatic coding stage). % Performance evaluation : this toolbox VS. SPIHT % Test image: lena512.raw % bpp SPIHT(dB) This code(dB) % 0.1000 29.8107 29.3202 % 0.2000 32.7202 32.2514 % 0.3000 34.5479 34.0331 % 0.4000 35.8422 35.4857 % 0.5000 36.8623 36.5939 % 0.6000 37.6650 37.3759 % 0.7000 38.2581 38.0491 % 0.8000 38.9390 38.7058 % 0.9000 39.5218 39.3437 -MATLAB implementation of SPIHT (without A rithmatic coding stage). Performance evalua% tion : this toolbox VS. SPIHT%% Test image : lena512.raw%% bpp SPIHT (dB) This code (dB)% 0. 1000 29.8107 32.7202 0.2000 29.3202% 32.2514% 0.3000 0.4000 34.5479 34.0331% 35.8422 35.485 7% 0.5000 0.6000 36.8623 36.5939% 37.6650 37.3 759% 38.0491% 0.7000 0.8000 38.2581 38.9390 38 .7058 0.9000 39.5218 39.3437%
Update : 2008-10-13 Size : 178.09kb Publisher : jason..

编程常用算法,基本常用的acm各种算法,喜爱acm的好友快下吧!
Update : 2008-10-13 Size : 31.61kb Publisher : once

学习直线算法DDA与Bresenham算法的源程序
Update : 2008-10-13 Size : 28.08kb Publisher : pritry

source code for arithmatic coding
Update : 2025-02-19 Size : 40kb Publisher : 刘联

无损熵编码,包含HUFFMAN,ARITHMATIC,LZW等无损编码。-this program can do lossless coding,include HUFFMAN ,ARITHMATIC,LZW lossless coding.
Update : 2025-02-19 Size : 28kb Publisher :

德国大学用编码实验指导书,包括huffman,算术编码等-lanb guide from german university, in source coding area, including huffman, arithmatic coding, etc...
Update : 2025-02-19 Size : 170kb Publisher : bin

this is a source code for data compression using Arithmatic coding
Update : 2025-02-19 Size : 21kb Publisher : kratika

provides matlab code for arithmatic encoding&decoding
Update : 2025-02-19 Size : 8kb Publisher : katore vishal

provides matlab code for arithmatic coding fopr images
Update : 2025-02-19 Size : 6kb Publisher : katore vishal

provides matlab code for arithmatic coding fopr images
Update : 2025-02-19 Size : 1kb Publisher : katore vishal

In computing, an arithmetic logic unit (ALU) is a digital circuit that performs arithmatic and logical operations. The ALU is a fundamental building block of the central processing unit of a computer, and even the simplest microprocessors contain one for purposes such as maintaining timers. The processors found inside modern CPUs and GPUs have inside them very powerful and very complex ALUs a single component may contain a number of ALUs.-In computing, an arithmetic logic unit (ALU) is a digital circuit that performs arithmatic and logical operations. The ALU is a fundamental building block of the central processing unit of a computer, and even the simplest microprocessors contain one for purposes such as maintaining timers. The processors found inside modern CPUs and GPUs have inside them very powerful and very complex ALUs a single component may contain a number of ALUs.
Update : 2025-02-19 Size : 1kb Publisher : gopan

DL : 0
SPIHT matlab code (without Arithmatic coding stage) Description MATLAB implementation of SPIHT (without Arithmatic coding stage) Ref. Amir Said and William A. Pearlman, "A New Fast and Efficient Image Codec Based on Set Partitioning in Hierarchical Trees," IEEE Transactions on Circuits and Systems for Video Technology, vol. 6, pp. 243-250, June 1996. --------------------------- By Jing Tian, scuteejtian@hotmail.com Acknowledgements This submission has inspired the following: 3D-SPIHT MATLAB release MATLAB 7.0.1 (R14SP1) -SPIHT matlab code (without Arithmatic coding stage) Description MATLAB implementation of SPIHT (without Arithmatic coding stage) Ref. Amir Said and William A. Pearlman, "A New Fast and Efficient Image Codec Based on Set Partitioning in Hierarchical Trees," IEEE Transactions on Circuits and Systems for Video Technology, vol. 6, pp. 243-250, June 1996. --------------------------- By Jing Tian, scuteejtian@hotmail.com Acknowledgements This submission has inspired the following: 3D-SPIHT MATLAB release MATLAB 7.0.1 (R14SP1)
Update : 2025-02-19 Size : 2.33mb Publisher : van

Context Adaptive Binary Arithmatic Coding Low computation
Update : 2025-02-19 Size : 60kb Publisher : SaidaReddy

ARITHMATIC OPERATION
Update : 2025-02-19 Size : 42kb Publisher : devanathan

arithmatic 编码,是图像压缩的主要算法之一,是一种无损数据压缩方法,也是一种熵编码的方法。-arithmatic coding is one of the main image compression algorithm and a lossless data compression method, but also a method of entropy coding.
Update : 2025-02-19 Size : 11kb Publisher : zzl
« 12 3 4 »
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.