?? fnd_stp.m
字號:
function [ST] = fnd_stP(BW)
sz = size(BW);
r = 0;c = 0;
sign = 0;
for i = 1 : sz(1)
for j = 1 : sz(2)
if BW(i,j) == 1
r = i;c = j;
sign = 1;
break;
end
end
if sign == 1,break,end
end
if (r==0) | (c==0)
error('There is no white point in "BW".');
else
ST = [r,c];
end
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -