>> t = 0:pi/6:4*pi; >> [x,y,z] = cylinder(4+cos(t),30); >> surf(x,y,z),title('default axis'); >> axis square,title('axis…
SURF 源代码
探索SURF技术的精髓,掌握高效图像处理与特征提取的关键。SURF(加速稳健特征)算法以其出色的旋转、尺度不变性及抗噪能力,在计算机视觉、机器人导航、增强现实等领域展现出卓越性能。无论是进行目标识别还是场景重建,SURF都是不可或缺的技术工具。本页面汇集了11个精选资源,从基础理…
clear clc x=-2:0.01:2; [x,y]=meshgrid(x,x); %x和y都是401x401的矩阵 r=sqrt(x.^2+x.^2)+eps; z=sinc(r); subplot(2,1,1); mesh(z); su…
clear clc x=-2:0.01:2; [x,y]=meshgrid(x,x); %x和y都是401x401的矩阵 r=sqrt(x.^2+x.^2)+eps; z=sinc(r); subplot(2,1,1); mesh(z); su…
x=-8:0.5:8; [xx,yy]=meshgrid(x); r=sqrt(xx^2+yy^2)+eps; z=sin(r)/r; Z=sin(r)/r; Z=sin(r)./r; surf(Z); theAxes=axis; fmat=m…
[x,y]=meshgrid(-8:0.5:8); z=sin(sqrt(x.^2+y.^2))./sqrt(x.^2+y.^2+eps); subplot(2,2,1); mesh(x,y,z); title('mesh(x,y,z)') subp…
[x,y,z]=sphere(20); subplot(1,2,1); surf(x,y,z);axis equal; light('Posi',[0,1,1]); shading interp; hold on; plot3(0,1,1,'p')…
[x,y,z]=sphere(20); colormap(copper); subplot(1,3,1); surf(x,y,z); axis equal subplot(1,3,2); surf(x,y,z);shading flat; axi…
[x,y]=meshgrid(-5:0.1:5); z=cos(x).*cos(y).*exp(-sqrt(x.^2+y.^2)/4); surf(x,y,z);shading interp; pause %程序暂停 i…
PSF = fspecial('gaussian',13,1); OTF = psf2otf(PSF,[31 31]); % PSF转换成OTF subplot(1,2,1); surf(PSF); title('PSF'); axis squa…
subplot(211) surf(peaks); title('无创建的光源'); %无光源或者可以讲每个点上的光亮一样 subplot(212) h = surf(peaks); set(h,'FaceLighting','phong','Fa…