资源简介
代码计算出图像的角点并给出具体的角点坐标

代码片段和文件信息
function [coutmarked_img]=corner(varargin)
% CORNER Find corners in intensity image.
%
% CORNER works by the following step:
% 1. Apply the Canny edge detector to the gray level image and obtain a
% binary edge-map.
% 2. Extract the edge contours from the edge-map fill the gaps in the
% contours.
% 3. Compute curvature at a low scale for each contour to retain all
% true corners.
% 4. All of the curvature local maxima are considered as corner
% candidates then rounded corners and false corners due to boundary
% noise and details were eliminated.
% 5. End points of line mode curve were added as corner if they are not
% close to the above detected corners.
%
% Syntax :
% [coutmarked_img]=corner(ICT_anglesigHLEndpiontGap_size)
%
% Input :
% I - the input image it could be gray color or binary image. If I is
% empty([]) input image can be get from a open file dialog box.
% C - denotes the minimum ratio of major axis to minor axis of an ellipse
% whose vertex could be detected as a corner by proposed detector.
% The default value is 1.5.
% T_angle - denotes the maximum obtuse angle that a corner can have when
% it is detected as a true corner default value is 162.
% Sig - denotes the standard deviation of the Gaussian filter when
% computeing curvature. The default sig is 3.
% HL - high and low threshold of Canny edge detector. The default value
% is 0.35 and 0.
% Endpoint - a flag to control whether add the end points of a curve
% as corner 1 means Yes and 0 means No. The default value is 1.
% Gap_size - a paremeter use to fill the gaps in the contours the gap
% not more than gap_size were filled in this stage. The default
% Gap_size is 1 pixels.
%
% Output :
% cout - a position pair list of detected corners in the input image.
% marked_image - image with detected corner marked.
%
% Examples
% -------
% I = imread(‘alumgrns.tif‘);
% cout = corner(I[][][]0.2);
%
% [cout marked_image] = corner;
%
% cout = corner([]1.6155);
%
%
% Composed by He Xiaochen
% HKU EEE Dept. ITSR Apr. 2005
%
% Algorithm is derived from :
% X.C. He and N.H.C. Yung Curvature Scale Space Corner Detector with
% Adaptive Threshold and Dynamic Region of Support Proceedings of the
% 17th International Conference on Pattern Recognition 2:791-794 August 2004.
% Improved algorithm is included in :
% X.C. He and N.H.C. Yung 揅orner detector based on global and local curvature properties?
% Optical Engineering 47(5) pp: 057008 2008.
%
[ICT_anglesigHLEndpointGap_size] = parse_inputs(varargin{:});
if size(I3)==3
I=rgb2gray(I); % Transfo
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 2139 2000-01-22 12:00 Corner\a.gif
文件 1707 2000-01-22 12:00 Corner\b.gif
文件 1745 2000-01-22 12:00 Corner\c.gif
文件 13964 2009-05-20 10:18 Corner\corner.m
文件 1426 2000-01-22 12:00 Corner\d.gif
文件 1759 2000-01-22 12:00 Corner\e.gif
文件 1879 2000-01-22 12:00 Corner\f.gif
文件 1916 2000-01-22 12:00 Corner\g.gif
文件 19024 2005-05-10 16:46 Corner\gui_corner.fig
文件 8565 2005-05-10 16:54 Corner\gui_corner.m
文件 2182 2006-01-17 17:45 Corner\h.gif
文件 66568 2003-10-17 05:43 Corner\house.bmp
文件 2885995 2010-04-02 20:32 Corner\JOE057008.pdf
文件 3966 2010-04-03 09:06 Corner\edge.jpg
文件 3762 2010-04-03 09:06 Corner\corner.jpg
..A.SH. 32768 2010-04-02 13:43 Corner\Thumbs.db
文件 2435 2010-04-02 13:43 Corner\未命名.GIF
文件 16665 2000-11-07 11:35 Corner\HEAD14.TIF
目录 0 2010-04-02 13:25 Corner
----------- --------- ---------- ----- ----
3068465 19
相关资源
- 遥感图像几何校正模型探讨
- 图像的小波包分解
- 图像二维小波变换的实现源代码
- 图像二值化
- [免费]图像识别c 源码
- 三维重建(旋转)由已知对应图像点
- jcrop v0.9.12
- 冈萨雷斯 数字图像处理 源代码(m文
- qt图像处理
- 基于OpenCV的数字识别468815
- 使用opencv去掉二值化图像中黑色面积
- Delphi实现图像拖动,无延时。
- 很好的一个小波变换图像压缩程序
- 血液图像处理—细胞识别
- 三维地形的仿真显示实现了对地图的
- DICOM图像读取以及窗宽,窗位调整
- 图像缩放(MFC)有详细的实现过程
- 基于Gabor滤波器的图像纹理特征提取
- 图像的小波变换/图像的融合、复原、
- VC数字图像处理课程设计
- 关于角点检测算法HarrisForstner经典算子
- 图像描述代码下载(里面是有代码的
- 利用小波变换对图像进行分解与重构
- Macromedia Fireworks V8.0 简体中文版
- jpeg图像压缩实例代码
- 图像处理作业C 源代码
- 基于纹理的图像检索源代码
- 创龙C66x平台GigE工业相机图像采集案例
- 游戏音频图像提取工具GARbro
- 超级场景清理器(SPCleaner)v1.0免费版
评论
共有 条评论