Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - encoding decoding image matlab
Search - encoding decoding image matlab - 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

有两个vc工程文件,分别是lzc编码和解码。算法主要可以对灰度图像进行压缩和解压缩,效果比jpeg要好。其实这就是jpeg2000的原型。-two vc engineering documents were lzc encoding and decoding. This algorithm can be gray image compression, the effect is better than jpeg. This is actually the prototype JPEG2000.
Update : 2025-02-19 Size : 37kb Publisher : 骆平

这是利用matlab所写的ezw影像压缩法,但是我有改过一些步骤,比传统ezw更快。-This is written in the use of Matlab ezw image compression method, but I have to turn over some steps, ezw faster than traditional.
Update : 2025-02-19 Size : 4kb Publisher : 侯靖邦

分层树分割算法的Matlab实现,除编码和解码外,还附有熵编码程序,供研究图像处理的朋友参考使用。-hierarchical tree segmentation algorithm Matlab, in addition to encoding and decoding, but also with entropy coding procedures, Image processing research for a friend use and reference.
Update : 2025-02-19 Size : 14kb Publisher : 刘晓倩

图像压缩的Huffman编码与解码,matlab源代码-Image compression Huffman encoding and decoding, matlab source code
Update : 2025-02-19 Size : 27kb Publisher : 吴坚

用matlab 和 c联合编程实现JPEG图像压缩,包括量化,霍夫曼编码,解码-Using matlab and c joint programming to achieve JPEG image compression, including quantization, Huffman encoding, decoding
Update : 2025-02-19 Size : 686kb Publisher : liujuan

实现了图像的哈夫曼编码和解码,对图像编码的学习很有帮助-Achieved image Huffman encoding and decoding of image coding learning helpful
Update : 2025-02-19 Size : 1kb Publisher : wuqiang

DL : 0
Quadtree decomposition [Encoding] and Decoding of RGB Image
Update : 2025-02-19 Size : 131kb Publisher : moon

一个分形压缩的程序: 1、因为本程序时间长,FX中先选择图片的大小 2、编码与解码 3、做误差图和只方图 4:画出每次迭代的解码图象 5、本程序来自本网站,修改了部分,解释说明更清楚。 6、增加了部分功能,希望对大家有所帮助,互相学习…… -A fractal compression process: 1, because this process a long time, FX in the first select the size of picture 2, encoding and decoding 3, so the error map and the only side Figure 4: Draw the image of each iteration of the decoder 5, This procedure from this site, modify the part, more clearly explained. 6, an increase of some functions, I hope all of you to help and learn from each other ... ...
Update : 2025-02-19 Size : 3kb Publisher : 刘清

此程序采用huffman编解码,BPSK调制解调,实现图像的有效传输-huffman encoding and decoding, for image transmission
Update : 2025-02-19 Size : 23kb Publisher : zxr

This a JPEG encoding & decoding program of still image. It does not use level shifting. Discrete Cosine transform (DCT) is performed both by classical & Chen s Flowgraph methods. Predefined JPEG quantization array & zigzag order are used here. RUN - LEVEL coding is used instead of Huffman coding. Compression ratio is compared for each DCT method. Effect of coarse and fine quantization is also examined. The execution time of 2 DCT methods is also checked. In addition, most energatic DCT coefficients are also applied to examine the effect in MatLab 7.4.0 R2007a. Input is 9 gray scale pictures & output is 9*9=81 pictures to compare. Blocking effect is obvious. -This is a JPEG encoding & decoding program of still image. It does not use level shifting. Discrete Cosine transform (DCT) is performed both by classical & Chen s Flowgraph methods. Predefined JPEG quantization array & zigzag order are used here. RUN - LEVEL coding is used instead of Huffman coding. Compression ratio is compared for each DCT method. Effect of coarse and fine quantization is also examined. The execution time of 2 DCT methods is also checked. In addition, most energatic DCT coefficients are also applied to examine the effect in MatLab 7.4.0 R2007a. Input is 9 gray scale pictures & output is 9*9=81 pictures to compare. Blocking effect is obvious.
Update : 2025-02-19 Size : 1kb Publisher : Ho Joon Lee

This a JPEG encoding & decoding program of still image. It does not use level shifting. Discrete Cosine transform (DCT) is performed both by classical & Chen s Flowgraph methods. Predefined JPEG quantization array & zigzag order are used here. RUN - LEVEL coding is used instead of Huffman coding. Compression ratio is compared for each DCT method. Effect of coarse and fine quantization is also examined. The execution time of 2 DCT methods is also checked. In addition, most energatic DCT coefficients are also applied to examine the effect in MatLab 7.4.0 R2007a. Input is 9 gray scale pictures & output is 9*9=81 pictures to compare. Blocking effect is obvious. -This is a JPEG encoding & decoding program of still image. It does not use level shifting. Discrete Cosine transform (DCT) is performed both by classical & Chen s Flowgraph methods. Predefined JPEG quantization array & zigzag order are used here. RUN - LEVEL coding is used instead of Huffman coding. Compression ratio is compared for each DCT method. Effect of coarse and fine quantization is also examined. The execution time of 2 DCT methods is also checked. In addition, most energatic DCT coefficients are also applied to examine the effect in MatLab 7.4.0 R2007a. Input is 9 gray scale pictures & output is 9*9=81 pictures to compare. Blocking effect is obvious.
Update : 2025-02-19 Size : 3kb Publisher : Ho Joon Lee

This a JPEG encoding & decoding program of still image. It does not use level shifting. Discrete Cosine transform (DCT) is performed both by classical & Chen s Flowgraph methods. Predefined JPEG quantization array & zigzag order are used here. RUN - LEVEL coding is used instead of Huffman coding. Compression ratio is compared for each DCT method. Effect of coarse and fine quantization is also examined. The execution time of 2 DCT methods is also checked. In addition, most energatic DCT coefficients are also applied to examine the effect in MatLab 7.4.0 R2007a. Input is 9 gray scale pictures & output is 9*9=81 pictures to compare. Blocking effect is obvious. -This is a JPEG encoding & decoding program of still image. It does not use level shifting. Discrete Cosine transform (DCT) is performed both by classical & Chen s Flowgraph methods. Predefined JPEG quantization array & zigzag order are used here. RUN - LEVEL coding is used instead of Huffman coding. Compression ratio is compared for each DCT method. Effect of coarse and fine quantization is also examined. The execution time of 2 DCT methods is also checked. In addition, most energatic DCT coefficients are also applied to examine the effect in MatLab 7.4.0 R2007a. Input is 9 gray scale pictures & output is 9*9=81 pictures to compare. Blocking effect is obvious.
Update : 2025-02-19 Size : 125kb Publisher : Ho Joon Lee

This a JPEG encoding & decoding program of still image. It does not use level shifting. Discrete Cosine transform (DCT) is performed both by classical & Chen s Flowgraph methods. Predefined JPEG quantization array & zigzag order are used here. RUN - LEVEL coding is used instead of Huffman coding. Compression ratio is compared for each DCT method. Effect of coarse and fine quantization is also examined. The execution time of 2 DCT methods is also checked. In addition, most energatic DCT coefficients are also applied to examine the effect in MatLab 7.4.0 R2007a. Input is 9 gray scale pictures & output is 9*9=81 pictures to compare. Blocking effect is obvious. -This is a JPEG encoding & decoding program of still image. It does not use level shifting. Discrete Cosine transform (DCT) is performed both by classical & Chen s Flowgraph methods. Predefined JPEG quantization array & zigzag order are used here. RUN - LEVEL coding is used instead of Huffman coding. Compression ratio is compared for each DCT method. Effect of coarse and fine quantization is also examined. The execution time of 2 DCT methods is also checked. In addition, most energatic DCT coefficients are also applied to examine the effect in MatLab 7.4.0 R2007a. Input is 9 gray scale pictures & output is 9*9=81 pictures to compare. Blocking effect is obvious.
Update : 2025-02-19 Size : 185kb Publisher : Ho Joon Lee

DL : 0
This a JPEG encoding & decoding program of still image. It does not use level shifting. Discrete Cosine transform (DCT) is performed both by classical & Chen s Flowgraph methods. Predefined JPEG quantization array & zigzag order are used here. RUN - LEVEL coding is used instead of Huffman coding. Compression ratio is compared for each DCT method. Effect of coarse and fine quantization is also examined. The execution time of 2 DCT methods is also checked. In addition, most energatic DCT coefficients are also applied to examine the effect in MatLab 7.4.0 R2007a. Input is 9 gray scale pictures & output is 9*9=81 pictures to compare. Blocking effect is obvious. -This is a JPEG encoding & decoding program of still image. It does not use level shifting. Discrete Cosine transform (DCT) is performed both by classical & Chen s Flowgraph methods. Predefined JPEG quantization array & zigzag order are used here. RUN - LEVEL coding is used instead of Huffman coding. Compression ratio is compared for each DCT method. Effect of coarse and fine quantization is also examined. The execution time of 2 DCT methods is also checked. In addition, most energatic DCT coefficients are also applied to examine the effect in MatLab 7.4.0 R2007a. Input is 9 gray scale pictures & output is 9*9=81 pictures to compare. Blocking effect is obvious.
Update : 2025-02-19 Size : 93kb Publisher : Ho Joon Lee

这个程序是用来实现香农-法诺编码解码的matlab程序,它可以有效地进行二值和彩色图像的压缩和解压-This procedure is used to achieve the Shannon- Fano encoding and decoding of the matlab program that can be effectively carried out two values and color image compression and decompression
Update : 2025-02-19 Size : 2kb Publisher : 叶徕风

信号编码与译码中的二值图像游程编码算法的Matlab实现,谢谢~-Signal encoding and decoding the binary image run-length coding algorithm Matlab implementation, thank you ~
Update : 2025-02-19 Size : 32kb Publisher : patrick

EZW 算法实现 包括对图像的编码和解码-EZW algorithm, including encoding and decoding of image
Update : 2025-02-19 Size : 32kb Publisher : 李强

) 使用分块的主成分分析方法(PCA)对人脸图像进行压缩编码。针对PCA方法计算量大的缺点,首先把问题转化成奇异值分解(SVD)问题,然后设计了特征空间的更新算法,通过递推,简化每一步计算的计算量,达到了实时编码的要求。 4) 在Windows平台下基于Video for Windows(VFW)接口开发了人脸视频图像编码和解码的实验系统,该系统实现了图像采集、图像显示、编码、解码等功能。-) The use of sub-blocks of principal component analysis (PCA) on the human face image coding. PCA method for large defects, first of all the issues into a singular value decomposition (SVD) problem, and then design a feature space of the update algorithm, recursive, simplifying the calculation of the amount calculated at each step to achieve real-time encoding requirements. 4) In the Windows platform based on Video for Windows (VFW) interfaces, the human face image coding and decoding video experimental system, the system achieved image acquisition, image display, encoding, decoding functions.
Update : 2025-02-19 Size : 1kb Publisher : 周参

小波SPIHT图像压缩算法提供matlab源代码,实现图像压缩和具有较小的失真,包括编码和解码两个部分 -Wavelet spiht provide image compression algorithm matlab source code,Achieve image compression and has a smaller distortion,Including encoding and decoding of two parts
Update : 2025-02-19 Size : 37kb Publisher : cinderella
« 12 »
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.