91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 172KB
    文件類型: .m
    金幣: 1
    下載: 0 次
    發布日期: 2021-06-04
  • 語言: Matlab
  • 標簽:

資源簡介

對后續開發fast新代碼有很好的借鑒作用,對MATLAB應用也是一個很好的推廣作用,希望可以幫助到需要的人,謝謝。

資源截圖

代碼片段和文件信息

%FAST_CORNER_DETECT_9?perform?an?9?point?FAST?corner?detection.
%????corners?=?FAST_CORNER_DETECT_9(image?threshold)?performs?the?detection?on?the?image
%????and?returns?the?X?coordinates?in?corners(:1)?and?the?Y?coordinares?in?corners(:2).

function?coords?=?fast_corner_detect_9(im?threshold)
sz?=?size(im);
xsize=sz(2);
ysize=sz(1);
cs?=?zeros(5000?2);
nc?=?0;
for?x?=?4?:?xsize?-?3
for?y?=?4?:?ysize?-3
cb?=?im(yx)?+?threshold;
c_b=?im(yx)?-?threshold;
????????????if?im(y+0x+3)?>?cb
????????????????if?im(y+-3x+1)?>?cb
????????????????????if?im(y+2x+2)?>?cb
????????????????????????if?im(y+-2x+-2)?>?cb
????????????????????????????if?im(y+-1x+3)?>?cb
????????????????????????????????if?im(y+1x+3)?>?cb
????????????????????????????????????if?im(y+-2x+2)?>?cb
????????????????????????????????????????if?im(y+-3x+0)?>?cb
????????????????????????????????????????????if?im(y+-3x+-1)?>?cb
????????????????????????????????????????????elseif?im(y+-3x+-1)?????????????????????????????????????????????????continue;
????????????????????????????????????????????else
????????????????????????????????????????????????if?im(y+3x+0)?>?cb
????????????????????????????????????????????????????if?im(y+3x+1)?>?cb
????????????????????????????????????????????????????else
????????????????????????????????????????????????????????continue;
????????????????????????????????????????????????????end
????????????????????????????????????????????????else
????????????????????????????????????????????????????continue;
????????????????????????????????????????????????end
????????????????????????????????????????????end
????????????????????????????????????????elseif?im(y+-3x+0)?????????????????????????????????????????????continue;
????????????????????????????????????????else
????????????????????????????????????????????if?im(y+3x+-1)?>?cb
????????????????????????????????????????????????if?im(y+3x+0)?>?cb
????????????????????????????????????????????????????if?im(y+3x+1)?>?cb
????????????????????????????????????????????????????else
????????????????????????????????????????????????????????continue;
????????????????????????????????????????????????????end
????????????????????????????????????????????????else
????????????????????????????????????????????????????continue;
????????????????????????????????????????????????end
????????????????????????????????????????????else
????????????????????????????????????????????????continue;
????????????????????????????????????????????end
????????????????????????????????????????end
????????????????????????????????????elseif?im(y+-2x+2)?????????????????????????????????????????continue;
????????????????????????????????????else
????????????????????????????????????????if?im(y+3x+-1)?>?cb
????????????????????????????????????????????if?im(y+1x+-3)?>?cb
???????????????????????????????????????

評論

共有 條評論