[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…
SURF 源代码
探索SURF技术的精髓,掌握高效图像处理与特征提取的关键。SURF(加速稳健特征)算法以其出色的旋转、尺度不变性及抗噪能力,在计算机视觉、机器人导航、增强现实等领域展现出卓越性能。无论是进行目标识别还是场景重建,SURF都是不可或缺的技术工具。本页面汇集了11个精选资源,从基础理…
[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…
function x = fvq_gain(nbr,dim); x = zeros(nbr,dim); for n = 1:nbr, for d = 1:dim, x(n,d) = (d*n^d)…
%---------------------------------------------------------------------------- % exa030903, for example 3.9.3 % to obtain the DT…
subplot(121) surf(peaks); title('旋转前图形'); subplot(122) h=surf(peaks); rotate(h,[1 0 1],180) title('旋转后图形');
Z = peaks; surf(Z) %绘制网格表面图 axis tight set(gca,'nextplot','replacechildren'); …
[X,Y] = meshgrid(-2:0.25:2,-1:0.2:1); Z = X.* exp(-X.^2 - Y.^2); [U,V,W] = surfnorm(X,Y,Z); %返回三维表面图的法线 quiver3(X,Y,Z,U,V,W,0.…
t = 0:pi/10:2*pi; [X,Y,Z] = cylinder(2+cos(t),100); %半径为2+cos(t) surf(X,Y,Z) axis square title '圆柱形图示…