⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 compute_ball_tf.m

📁 张量投票在matlab环境下的仿真。球型张量及棒型张量的仿真
💻 M
字号:
function T = compute_ball_tf(N,n,sigma,c,p)

% compute_ball_tf - compute the voting kernel of a ball tensor.
%
%   T = compute_ball_tf(N,n,sigma,c,p);
%
%   'N' is the total size of the image (supposed to lie in [0,1]x[0,1]).
%
%       The equation for the decay of the field is
%           DF(s,k) = exp(-(s^2+c*k^2)/sigma^2)
%       where 's' is the length of the circle that joins
%       the two points, and 'k' is its curvature.
%
%   Optional:
%   'sigma' control the scale of the voting field.
%   'c' control the ratio between distance and curvature.
%       The higher 'c' is, the narrower the field will be.
%   'n' is the size of the kernel (should be odd).
%
%   'p' is the number of orientation samples needed to compute the field.
%       (the higher the slower the computation).
%
%   See also compute_stick_tf.
%
%   Copyright (c) 2004 Gabriel Peyr

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -