Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
jpeg.asv
Package: JPEG-matlab.rar [view]
Upload User: mgf822
Upload Date: 2022-06-06
Package Size: 51k
Code Size: 0k
Category:
Compress-Decompress algrithms
Development Platform:
Matlab
- clear all;
- x=imread('H:lena.bmp');
- figure(1);
- subplot(121);
- imshow(x);
- Y=jpegencode(x,5);
- X=jpegdecode(Y);
- subplot(122);
- imshow(X);
- e=double(x)-double(X);
- [m,n]=size(e);
- erms=sqrt(sum(e(:).^2)/(m*n))
- ave=mean(x(:));
- x1=x.^2;
- cs1=sum(x1(:));
- x1=(x-X).^2;
- cd1=sum(x1(:));
- snr=10*log10(cs1/cd1)
- % figure(1);imshow(X);
- %
- % localmax=imread('H:max.bmp');
- % Last=X+localmax;
- % figure(2);imshow(Last);