资源简介
用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
相关资源
- 基于harris算法的角点检测matlab原代码
- Harris角点检测matlab实现
- 基于角点检测的图像匹配
- harris角点检测并精确到亚像素级
- Matlab棋盘格角点检测算法
- fast角点检测算法for matlab
- 基于MATLAB的Harris角点检测并精确到亚
- FAST角点检测算法MATLAB程序
- 亚像素harris角点检测
- harris角点检测代码
- 基于角点匹配的susan角点检测算法
- Harris角点检测拼接包含ransac灰度图像
- 利用matlab实现图像的角点检测
- 利用DOG算子实现图像特征提取中的角
- css算法 角点检测 matlab
- forstner角点检测
- SUSAN 角点检测 matlab代码
- ACSS角点检测程序
- MATLAB实现Harris角点检测与图像配准
- susancorners
- RANSAC-match 可以在harris角点检测和ncc粗
- corner 角点检测的程序
- match_version_1.3 该程序主要功能是实现
- imageMosaic 基于Harris角点检测的图像拼
- harris-match harris角点检测
- harris角点检测 matlab版本
评论
共有 条评论