xxxx18一60岁hd中国/日韩女同互慰一区二区/西西人体扒开双腿无遮挡/日韩欧美黄色一级片 - 色护士精品影院www

  • 大小: 2KB
    文件類型: .m
    金幣: 1
    下載: 0 次
    發布日期: 2021-06-01
  • 語言: Matlab
  • 標簽: 角點檢測??

資源簡介

用matlab實現角點檢測源代碼,注釋明確,方便初學者學習

資源截圖

代碼片段和文件信息


frame=imreade(‘feiji‘);

I?=double(frame);
%****************************
imshow(frame);
k?=?waitforbuttonpress;
point1?=?get(gca‘CurrentPoint‘);??%button?down?detected
rectregion?=?rbbox;??%%%return?figure?units
point2?=?get(gca‘CurrentPoint‘);%%%%button?up?detected
point1?=?point1(11:2);?%%%?extract?col/row?min?and?maxs
point2?=?point2(11:2);
lowerleft?=?min(point1?point2);
upperright?=?max(point1?point2);?
ymin?=?round(lowerleft(1));?%%%?arrondissement?aux?nombrs?les?plus?proches
ymax?=?round(upperright(1));
xmin?=?round(lowerleft(2));
xmax?=?round(upperright(2));
%***********************************
Aj=6;
cmin=xmin-Aj;?cmax=xmax+Aj;?rmin=ymin-Aj;?rmax=ymax+Aj;
min_N=12;max_N=16;
%%%%%%%%%%%%%%Intrest?Points?%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
sigma=2;?Thrshold=20;?r=6;?disp=1;
dx?=?[-1?0?1;?-1?0?1;?-1?0?1];?%?The?Mask?
????dy?=?dx‘;
????%%%%%%?
????Ix?=?conv2(I(cmin:cmaxrmin:rmax)?dx?‘same‘);???
????Iy?=?conv2(I(cmin:cmaxrmin:rmax)?dy?‘same‘);
????g?=?fspecial(‘gaussian‘max(1fix(6*sigma))?sigma);?%%%%%%?Gaussien?Filter
????
????%%%%%?
????Ix2?=?conv2(Ix.^2?g?‘same‘);??
????Iy2?=?conv2(Iy.^2

評論

共有 條評論