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

function [h,s,v] = rgb2hsv(r,g,b)
%RGB2HSV Convert red-green-blue colors to hue-saturation-value.
%   H = RGB2HSV(M) converts an RGB color map to an HSV color map.
%   Each map is a matrix with any number of rows, exactly three columns,
%   and elements in the interval 0 to 1.  The columns of the input matrix,
%   M, represent intensity of red, blue and green, respectively.  The
%   columns of the resulting output matrix, H, represent hue, saturation
%   and color value, respectively.
%
%   HSV = RGB2HSV(RGB) converts the RGB image RGB (3-D array) to the
%   equivalent HSV image HSV (3-D array).


Date : 2008-12-16 Size : 1.48kb User : leohee

精通MATLAB图像处理代码matlab图像增强实例代码,包括使用图片素材-Proficient MATLAB image processing code matlab image enhancement examples of code, including the use of picture material
Date : Size : 3.18mb User : 林晨

精通MATLAB图像处理代码图像运算matlab实例代码,包括图片素材-Proficient in MATLAB image processing code image computing matlab code examples, including picture material
Date : Size : 343kb User : 林晨

精通MATLAB图像处理代码彩色图片处理,包括6个matlba代码实例,以及所用图片-Proficient MATLAB image processing code color image processing, including the six matlba code examples, and pictures with
Date : Size : 1.46mb User : 林晨

精通MATLAB图像处理代码,图像变换,包括10个matlab代码实例和所用图片素材-Proficient in MATLAB image processing code, image transformation, including 10 matlab code examples and Images
Date : Size : 210kb User : 林晨

用于MATLAB的彩色图像色彩空间转换的MEX文件-for MATLAB color image color space conversion MEX documents
Date : Size : 14kb User : 张新树

Rotates an image by the angle degrees in the % CCW direction. Degrees may be any number. % The function will put degrees in the range 0 % to 360 degrees and then into a range of -45 to 45 % degrees after performing elementary 90 degree rotations.-Rotates an image by the angle degrees in the % CCW direction. Degrees may be any number. % The function will put degrees in the range 0 % to 360 degrees and then into a range of-45 to 45 % degrees after performing elementary 90 degree rotations.
Date : Size : 3kb User :

matlab的源程序,能够显示出图像的灰度分布的直方图,好像用matlab的人不多阿-Matlab source, can display the image histogram of the distribution of gray, like using Matlab A few people
Date : Size : 1kb User : 张张

该文件是关于图像处理的ppt文件,不需要任何语言基础,适合所有的编程爱好者。-ppt file about image processing.useful for programmer regard of programing language
Date : Size : 2.39mb User : 周伟

有用的MATLAB图像处理程序,希望对您有帮助-useful MATLAB image-processing program, and I hope to have your help!
Date : Size : 6kb User : yang

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

DL : 0
霍夫曼coding程序,用此程序可以对任意图像进行霍夫曼编码。-Huffman coding procedures, this procedure can be used for any image Huffman coding.
Date : Size : 5kb User : 许成哲

802.11a的MT及TUL图像的MATLAB仿真源程序-802.11a MT and TUL image MATLAB source
Date : Size : 3kb User : 戴旭

本程序是对一幅图像进行变灰度、旋转、锐化、在图像上画圆或椭圆、直线等操作的程序。 说明:要实现相应功能的操作,需要在输入框内输入正确的表达式。举例如下: 画直线:x1=20,y1=15,x2=150,y2=100 画圆:x=100,y=100,r=20 画椭圆:x=100,y=100,r=20,a=16,b=9 旋转:x=30(度数),ax=100,ay=90 锐化:x=80-this procedure is a gray image change, rotation, sharpening the image on the Circle or ellipse, straight line operational procedures. Note : To realize the corresponding function, the operation needs input box to input the correct expression. For example : painting line : 20 = x1, y1 = 15, = 150 x2, y2 = 100 Circle : x = 100, y = 100, r = 20 paintings elliptical : x = 100, y = 100, r = 20, a = 16, b = 9 rotation : x = 30 (degree), the ax = 100, ay = 90 Sharpening : x = 80
Date : Size : 7kb User : 代丛军

摘要:在对粮虫图像处理过程中,介绍了Matlab图像处理工具箱中的函数,给出了图像处理与分析的技术实现, 边缘检测及轮廓提取, 通过形态学方法进行图像特征抽取与分析,达到了比较好的效果.-Abstract : In the right grain pest image processing, introduced the Matlab toolbox image processing functions, given image processing and analysis technology, edge detection and contour extraction, through morphological methods for image analysis and feature extraction, reached a relatively good results.
Date : Size : 347kb User : 蓝婧

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

用MATLAB做图像的基本运算,包括灰度变换,窗口技术,平移,旋转,缩放等处理(matlab image process include gray level transformation)
Date : Size : 4kb User : victoryfeng

《visual c++matlab图像处理与识别实用案例精选》这本书中附带的matlab/c++的源码("Visual c++matlab image processing and recognition practical cases selected" this book is attached to the source code of matlab/c++.)
Date : Size : 8.34mb User : tnauuuu

MATLAB图像处理学习实例程序 学习手册,由于的。(MATLAB Image Processing Learning Example Program)
Date : Size : 1.97mb User : 得到4
« 1 2 3 45 6 7 8 9 10 ... 50 »
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.