I = imread('LENA256.bmp'); fun = inline('std2(x)*ones(size(x))'); I1 = blkproc(I,[ 3 3 ],[2 2],fun); I2 = blkproc(I,[ 3 3 ],fun); I3 = blkproc(I,[ 5 5 ],fun); imview(I), imview(I1,[]) , imview(I2
http://www.codebf.com/read/36958/1064830
I= imread('LENA256.bmp'); [x,y,z] = sphere; warp(x,y,z,I);
http://www.codebf.com/read/36958/1064837
I=imread('LENA256.bmp'); imshow(I); imhist(I)
http://www.codebf.com/read/36958/1064839
I = imread('snowflakes.png'); imview(I) se = strel('disk',5); I_opened = imopen(I,se); imview(I_opened,[])
http://www.codebf.com/read/36958/1064850
I = imread('pout.tif'); imshow(I) se = strel('disk',3); J = imsubtract(imadd(I,imtophat(I,se)), imbothat(I,se)); figure, imshow(J)
http://www.codebf.com/read/36958/1064853
I = imread('rice.png'); imshow(I) se = strel('disk',12); J = imtophat(I,se); figure, imshow(J)
http://www.codebf.com/read/36958/1064863
I = zeros(100,100); I(25:75, 25:75) = 1; theta = 0:180; [R,xp] = radon(I,theta); imagesc(theta,xp,R); title('R_{\theta} (X\prime)'); xlabel('\theta (degrees)'); ylabel('X\prime'); set(gca,'XTic
http://www.codebf.com/read/36958/1064889
I = zeros(100,100); I(25:75, 25:75) = 1; imshow(I) [R,xp] = radon(I,[0 45]); figure; plot(xp,R(:,1)); title('R_{0^o} (x\prime)') figure; plot(xp,R(:,2)); title('R_{45^o} (x\prime)')
http://www.codebf.com/read/36958/1064890
I = imread('cameraman.tif'); I = im2double(I); T = dctmtx(8); %产生DCT变换矩阵 B = blkproc(I,[8 8],'P1*x*P2',T,T'); %计算二维DCT mask = [1 1 1 1 0 0 0 0 1 1 1 0 0 0 0 0
http://www.codebf.com/read/36958/1064891
I = fitsread('solarspectra.fts');%读取原始图像 I = mat2gray(I);%将原始图像转换成灰度图,以适合于edge函数 BW = edge(I);%提取边缘,形成二值图像 imshow(I), figure, imshow(BW)
http://www.codebf.com/read/36958/1064895
虫虫下载站 半导体技术网 电子研发网 源码地带 电源技术网 单片机技术网 医疗电子技术 嵌入式系统与单片机