📄 showcorners.m
字号:
%SHOWCORNERS Overlay corner features on image%% [X,Y] = SHOWCORNERS(c, n)% SHOWCORNERS(c, n)%% Returns the coordinates of the N strongest corners in the corner% image C.% The second form overlays a white square at the location of the N % strongest corners. %% SEE ALSO: iharris%% Copyright (c) Peter Corke, 1999 Machine Vision Toolbox for Matlabfunction [x,y] = showcorners(cp, n) if nargin == 1, n = 10; end [nrows,ncols] = size(cp); [z,i] = sort(cp(:)); i = head(i, n); c=floor(i/nrows)+1; r=rem(i,nrows)+1; if nargout == 2, x = c; y = r; else hold on plot(c, r, 'sw') hold off end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -