声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 835|回复: 1

[求助]有知道这个命令的吗

[复制链接]
发表于 2006-5-18 13:20 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?我要加入

x
igauss在角点提取中,他到底什么意思,怎么用<BR>我在Q61821331中等
回复
分享到:

使用道具 举报

发表于 2006-5-18 14:26 | 显示全部楼层

回复:(mlh_2002)[求助]有知道这个命令的吗

<P>你说的是不是这个函数?<BR><BR>%IGAUSS Gaussian smoothing kernel<BR>%<BR>% M = IGAUSS(W, SIGMA)<BR>%<BR>% Returns a W x W matrix with a unit amplitude Gaussian function of<BR>% standard deviation SIGMA.  The Gaussian is centered within the matrix.<BR>%<BR>% SEE ALS ilog conv2<BR>%<BR>% Copyright (c) Peter Corke, 1999  Machine Vision Toolbox for Matlab</P>
<P><BR>% pic 10/96</P>
<P>function m = igauss(w, sigma)</P>
<P> ww = 2*w + 1;</P>
<P> [x,y] = meshgrid(-w:w, -w:w);</P>
<P> m = 1/(2*pi) * exp( -(x.^2 + y.^2)/2/sigma^2);</P>
<P> m = m / sum(sum(m));</P>
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-9-25 17:20 , Processed in 0.065854 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表