201111MATLAB(475004)【】:MATLAB,,MATLAB。MATLAB,、、,。【】:;;1、。,,MATLAB,[1,2]。MATLAB(MatrixLaborato-ry),,(),,MATLAB[3]。MATLAB,、、,、,。(DigitalImageProcessing)、、、、[1,2]。,:⑴,,,,。⑵,。,、、、、、、、。⑶、,。,,。,MATLAB。2、,,。,,、;。,,,[4]。。,,。,,,。MATLAB:functionexam1()I=imread('…\lena.bmp');subplot(1,2,1);imshow(I)colormap(gray);title('')[a,b]=wavedec2(I,2,'sym4');len=length(a);fori=1:lenif(a(i)300)a(i)=2*a(i);elsea(i)=0.5*a(i);endendnx=waverec2(a,b,'sym4');subplot(1,2,2);image(nx);title('')1,MATLAB,。,MATLAB,。:(11001075).62011113、。512×512,8b,256KB。,,,,。,、。,,。,MATLAB512×512256×256。:Functionexam2()I=imread('…\lena.bmp');I=double(I)/255;[m,n]=size(I);figure(1)imshow(I)title(sprintf(':%4d*%4d',size(I)));A=[];B=[];fori=1:2:n-1A=[A,(I(:,i)+I(:,i+1))/2];endfori=1:2:m-1B=[B;(A(i,:)+A(i+1,:))/2];endfigure(2)imshow(B)title(sprintf(':%4d*%4d',size(B)));2,MATLAB,,,256KB64KB。4、,、。[5,6]。。0、0.03,,。MATLAB:I=imread('…\lena.bmp');J=imnoise(I,'gaussian',0,0.03);subplot(2,2,1),imshow(I),title('');subplot(2,2,2),imshow(J),title('');K=zeros(512,512);fori=1:100J=imnoise(I,'gaussian',0,0.03);J1=im2double(J);K=K+J1;endK=K/100;subplot(2,2,3),imshow(K,M),title('');3。,,,。MATLAB,。5、,。MATLAB,、,MATLAB,,。:[1].()[M].:,2009.8[2].[M].:,2009.3[3].MATLAB[M].:,2009.6[4],.[M].:,2000.[5]Yun-HaiXiao,Hui-NaSong.AnInexactAlternatingDirectionsAlgorithmforConstrainedTotalVariationRegularizedCompres-siveSensingProblems[J].JournalofMathematicalImagingandVi-sion.DOI:10.1007/s10851-011-0314-y[6]Yun-HaiXiao,Qiu-YuWang.Non-smoothequationsbasedmethodfor?1-normproblemswithapplicationstocompressedsensing[J].NonlinearAnalysis:Theory,Methods&Applications.Vol-ume74,Issue11,July2011,pages3570-3577.7