ilog.m
来自「这是一个基于MATLAB的机器视觉工具箱,里面用很多非常有价值的的程序」· M 代码 · 共 18 行
M
18 行
%ILOG Laplacian of Gaussian kernel%% L = ilog(w, sigma)%% Return a Laplacian of Gaussian (LOG) kernel of width (2w+1) with% the specified sigma.%% SEE ALSO: zcross%% Copyright (c) Peter Corke, 1999 Machine Vision Toolbox for Matlab% Peter Corke 1996function il = ilog(w, sigma) [x,y] = meshgrid(-w:w, -w:w); il = -1/(2*pi*sigma^4) * (2 - (x.^2 + y.^2)/sigma^2) .* ... exp(-(x.^2+y.^2)/(2*sigma^2));
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?