文件名称:jpegprotected
- 所属分类:
- 图形图像处理(光照,映射..)
- 资源属性:
- [Matlab] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 185kb
- 下载次数:
- 0次
- 提 供 者:
- neethu******
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
clc
img = imread( lena.bmp )
JPEG compression
jpegcompression(img, lena_compressed.mat )
JPEG decompression
Irec = jpegrestoration( lena_compressed.mat )
System performances
[CR,BPP,PSNR,MSE,SNR] = systemperformances(img,Irec, lena_compressed.mat )
Plotting
figure,subplot(1,2,1),imshow(img),title( Original image ),...
subplot(1,2,2),imshow(Irec),title( Compressed image )
disp( Compression ratio: )
disp(CR)
disp( Bits per pixel: )
disp(BPP)
disp( Peak signal to noise ratio: )
disp(PSNR)
disp( Mean squared error: )
disp(MSE)
disp( Signal to noise ratio )
disp(SNR) -clc
img = imread( lena.bmp )
JPEG compression
jpegcompression(img, lena_compressed.mat )
JPEG decompression
Irec = jpegrestoration( lena_compressed.mat )
System performances
[CR,BPP,PSNR,MSE,SNR] = systemperformances(img,Irec, lena_compressed.mat )
Plotting
figure,subplot(1,2,1),imshow(img),title( Original image ),...
subplot(1,2,2),imshow(Irec),title( Compressed image )
disp( Compression ratio: )
disp(CR)
disp( Bits per pixel: )
disp(BPP)
disp( Peak signal to noise ratio: )
disp(PSNR)
disp( Mean squared error: )
disp(MSE)
disp( Signal to noise ratio )
disp(SNR)
img = imread( lena.bmp )
JPEG compression
jpegcompression(img, lena_compressed.mat )
JPEG decompression
Irec = jpegrestoration( lena_compressed.mat )
System performances
[CR,BPP,PSNR,MSE,SNR] = systemperformances(img,Irec, lena_compressed.mat )
Plotting
figure,subplot(1,2,1),imshow(img),title( Original image ),...
subplot(1,2,2),imshow(Irec),title( Compressed image )
disp( Compression ratio: )
disp(CR)
disp( Bits per pixel: )
disp(BPP)
disp( Peak signal to noise ratio: )
disp(PSNR)
disp( Mean squared error: )
disp(MSE)
disp( Signal to noise ratio )
disp(SNR) -clc
img = imread( lena.bmp )
JPEG compression
jpegcompression(img, lena_compressed.mat )
JPEG decompression
Irec = jpegrestoration( lena_compressed.mat )
System performances
[CR,BPP,PSNR,MSE,SNR] = systemperformances(img,Irec, lena_compressed.mat )
Plotting
figure,subplot(1,2,1),imshow(img),title( Original image ),...
subplot(1,2,2),imshow(Irec),title( Compressed image )
disp( Compression ratio: )
disp(CR)
disp( Bits per pixel: )
disp(BPP)
disp( Peak signal to noise ratio: )
disp(PSNR)
disp( Mean squared error: )
disp(MSE)
disp( Signal to noise ratio )
disp(SNR)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
jpegprotected\1.jpg
.............\colorconversion.p
.............\jpegcompression.p
.............\jpegrestoration.p
.............\lena_compressed.mat
.............\systemperformances.m
.............\test_main.m
.............\untitled.fig
jpegprotected
.............\colorconversion.p
.............\jpegcompression.p
.............\jpegrestoration.p
.............\lena_compressed.mat
.............\systemperformances.m
.............\test_main.m
.............\untitled.fig
jpegprotected