资源简介
代码计算出图像的角点并给出具体的角点坐标
代码片段和文件信息
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
相关资源
- 数字图像处理本科讲义ppt
- 分水岭图像分割算法C++程序源代码
- TI imgLib图像库源代码
- 图像分类SVM
- 朱志刚译《中文-数字图像处理》美
- Qt编程_数字图像处理
- 数字图像处理标准测试图像
- SURF算法及源码详解
- 数字图像处理复习资料
- 基于形态学的图像分割 图片版
- 纹理合成的图像修复程序
- 基于猫脸映射的图像加密-VS
- 基于logistics映射的图像加密-VS
- 非局部低秩去噪
- opencv 将两幅等宽图像拼接在一起
- lenaboatbabooncamerahouse标准灰度图像库
- 京都大学_图像处理课件
- 摄影测量学图像内定向程序
- 图像分类代码
- 高清超详细SIFT源代码分析
- 数字图像处理 南京邮电大学
- 图像传感器 ov5640 数据手册
- X-CT图像重建的计算机仿真程序开发
- css角点检测
- 基于概率密度分布一致约束的最小最
- CrackForest数据集
- 百度_Google_Sogou三种图像搜索引擎功能
- 使用Visual Studio+OpenCV进行的Susan算子边
- 基于马尔科夫随机场的SAR图像处理
- 基于粒子群优算法的最大熵多阈值图
评论
共有 条评论