资源简介
虹膜识别+源代码+matlab+霍夫变换+hough变换2

代码片段和文件信息
% ADDCIRCLE
%
% A circle generator for adding (drawing) weights into a Hough accumulator
% array.(添加一个圆到hough累加阵列中)
%
% Usage: h = addcircle(h c radius weight)
%
% Arguments:
% h - 2D accumulator array.
% c - [xy] coords of centre of circle.
% radius - radius of the circle
% weight - optional weight of values to be added to the
% accumulator array (defaults to 1)
%
% Returns: h - Updated accumulator array.
% Peter Kovesi
% Department of Computer Science & Software Engineering
% The University of Western Australia
% April 2002
function h = addcircle(h c radius weight)
[hr hc] = size(h);
if nargin == 3
weight = 1;
end
% c and radius must be integers
if any(c-fix(c))
error(‘Circle centre must be in integer coordinates‘);
end
if radius-fix(radius)
error(‘Radius must be an integer‘);
end
x = 0:fix(radius/sqrt(2));
costheta = sqrt(1 - (x.^2 / radius^2));
y = round(radius*costheta);
% Now fill in the 8-way symmetric points on a circle given coords
% [px py] of a point on the circle.
px = c(2) + [x y y x -x -y -y -x];
py = c(1) + [y x -x -y -y -x x y];
% Cull points that are outside limits
validx = px>=1 & px<=hr;
validy = py>=1 & py<=hc;
valid = find(validx & validy);
px = px(valid);
py = py(valid);
ind = px+(py-1)*hr;
h(ind) = h(ind) + weight;
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 308278 2004-11-08 22:29 0033_006.bmp
文件 261919 2008-12-19 19:54 0023_006.bmp-houghpara.mat
文件 251373 2008-12-19 10:03 0025_001.bmp-houghpara.mat
文件 250228 2008-12-19 19:53 0025_006.bmp-houghpara.mat
文件 240812 2008-12-19 10:04 0025_002.bmp-houghpara.mat
文件 240603 2008-12-19 20:55 0033_006.bmp-houghpara.mat
文件 41058 2008-12-16 19:45 testP.jpg
文件 5407 2008-12-20 11:31 normaliseiris.m
文件 3885 2008-12-19 19:42 createiristemplate.m
文件 3809 2008-12-12 21:06 hough.txt
文件 3699 2008-12-09 16:58 nonmaxsup.m
文件 3684 2008-12-19 10:03 segmentiris.m
文件 3340 2008-12-09 19:39 hysthresh.m
文件 2817 2008-12-19 16:00 writeoriginal.m
文件 2618 2008-12-17 15:56 gaborconvolve.m
文件 2499 2008-12-19 09:59 findcircle.m
文件 2490 2008-12-17 10:42 encode.m
文件 2350 2008-12-19 16:57 Unti
文件 2180 2008-12-09 21:45 canny.m
文件 1780 2008-12-09 19:45 gethammingdistance.m
文件 1709 2008-12-20 09:57 final2.m
文件 1691 2008-12-09 19:59 circlecoords.m
文件 1622 2008-12-09 16:56 shiftbits.m
文件 1503 2008-12-09 20:13 addcircle.m
文件 1432 2003-11-30 13:44 README.txt
文件 1420 2008-12-19 15:40 findline.m
文件 1202 2009-02-25 10:09 说明.txt
文件 979 2008-12-09 19:40 houghcircle.m
文件 864 2008-12-09 20:00 adjgamma.m
文件 847 2008-12-09 19:27 linecoords.m
............此处省略7个文件信息
相关资源
- matlab_OFDM调制解调(来自剑桥大学)
- Matlab路面裂缝识别69319
- 高灵敏度GPS接收机MATLAB仿真,附捕获
- 基于MATLAB的质点弹道计算与外弹道优
- 阵列天线的matlab仿真
- MATLAB 经典程序源代码大全
- MATLAB小波软阈值去噪代码33473
- 天线阵的波束形成在MATLAB仿真程序及
- 非线性SVM算法-matlab实现
- 《MATLAB 智能算法超级学习手册》-程序
- 组合导航matlab程序
- 读取txt文件内容matlab代码实现
- Matlab实现基于相关的模板匹配程序
- matlab优化工具箱讲解
- 基于MATLAB的快速傅里叶变换
- 光纤传输中的分布傅立叶算法matlab实
- 基于matlab的图像处理源程序
- matlab 椭圆拟合程序
- 算术编码解码matlab源代码
- optical_flow 光流法 matlab 实现程序
- 引导图像滤波器 Matlab实现
- 分形几何中一些经典图形的Matlab画法
- OFDM系统MATLAB仿真代码
- SVM工具箱(matlab中运行)
- 图像小波变换MatLab源代码
- LU分解的MATLAB实现
- 冈萨雷斯数字图像处理matlab版(第三
- 替代数据法的matlab程序
- 用matlab实现的多站定位系统性能仿真
- 通过不同方法进行粗糙集属性约简m
评论
共有 条评论