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


Date : 2008-07-07 Size : 227.42kb User : jasonchang

图像压缩的GUI程序,可以直接调用,直接读入图片对其压缩-image compression GUI program can directly call directly read into its compressed images
Date : Size : 64kb User : 天空

图像压缩的几个MATLAB算法:分块编码、高斯金字塔、离散余弦变换、单值分解。-Image Compression Algorithm several MATLAB : Block Coding, Gaussian pyramid, discrete cosine transform, singular value decomposition.
Date : Size : 10kb User : 陈量

图像压缩,用matlab实现的,不知道是否受欢迎,望大家共同讨论学习-image compression using Matlab to achieve, and do not know whether the popular, we hope to discuss study
Date : Size : 1021kb User : 孙力

最新的用matlab实现的SPIHT算法,实现对图像的高性能压缩。-Matlab using the latest achievement of SPIHT, the realization of high-performance image compression.
Date : Size : 14kb User : whz

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

Normalized Cut Image Segmentation Code
Date : Size : 2kb User :

EZW的matlab程序 基于小波变换对图像进行压缩编码的研究-EZW the matlab procedure based on wavelet transform image coding research
Date : Size : 32kb User : zhengzheng

MATLAB图像压缩JPEG编解码算法,多种参数对比,代码详细实现JPEG编解码标准算法-MATLAB codec JPEG image compression algorithm, multi-parameter comparison, the code in detail to achieve the standard JPEG codec algorithm
Date : Size : 56kb User : 胡易

这是一个基于matlab的图像匹配算法,通过先后两帧中相同的部位,在前一帧中搜索协方差最大的匹配点。-This is a matlab-based image matching algorithm has the same two parts, a former search the largest covariance matching points.
Date : Size : 240kb User : 杨襄

matlab 用PCA方法对图像进行压缩、还原-PCA method using matlab image compression, restore
Date : Size : 1.45mb User : chq

用matlab软件实现图像的编码和解码,并对解压后的图像是否失真进行测试,采用的算法是huffman算法,经调试无误后上传-Matlab software used to encode and decode images and extract the image to test whether the distortion using the algorithm is huffman algorithm, after the upload through debugging correct
Date : Size : 4kb User : 李添翼

图像处理中压缩编码部分的霍夫曼编码应用实例:MATLAB版源代码-Image Processing coding part of the Huffman code application examples: MATLAB version of the source code
Date : Size : 1kb User : 刘兰芳

在Matlab中实现基于旋转尺度不变特征提取特征点的方法。-Matlab implementation of the rotation based on scale-invariant feature extraction method of feature points.
Date : Size : 2.51mb User : quanshuiwusheng

this the code for image compression using neural network.-this is the code for image compression using neural network.
Date : Size : 1.25mb User : satya

matlab图像处理的一个实例,二值化,灰度图均衡化,滤波,提取边缘。自己毕业设计的一点心得和大家一起分享。-matlab image processing of an example of binary, grayscale equalization, filtering, edge extraction. Design their own school experiences and that we share.
Date : Size : 3.47mb User : furan

利用matlab实现图像的jpeg压缩的源代码,经过测试可以使用-Matlab image using the jpeg compression of the source code can be tested using
Date : Size : 84kb User : 邓俊

LGB图像压缩代码--使用LGB算法训练码本,多次训练直到收敛到一定程度。可以输出量化结果和量化信噪比-LGB image ya suo--the use of the code, many training until convergence to a certain extent. Output can be quantified and quantitative results SNR
Date : Size : 4kb User : nobbe

对原始灰度图像 Lena_gray.bmp进行图像压缩实验 1.对此图进行 8×8 DCT 变换后,分别只保留 DC系数,以及保留前 4、8、16 个变换系数(DC+AC) ,然后再分别进行 IDCT 变换,比较结果。 2.可以使用 Matlab - Image Processing Toolbox 中的函数实现。-gray image of the original image compression Lena_gray.bmp an experiment. This diagram 8 8 DCT, the only difference reservations DC coefficient, and the preservation of the former 4, 8 or 16 DCT coefficients (DC+ AC), and then separately IDCT transformation, the results of the comparison. 2. Using Matlab-Image Processing Toolbox to achieve the function.
Date : Size : 3kb User : 嘟嘟

本人自己编写的SPIHT程序,已经通过编译,适合图像的压缩。-I have written the huffman procedures are compile for image compression.
Date : Size : 986kb User : 唐宁
« 12 3 4 5 6 7 8 9 10 ... 16 »
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.