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

📄 steer.m

📁 加州大学伯克利分校的一个车俩识别程序, 用matlab实现
💻 M
字号:
function [G2,H2] = steer(theta,basis)%[G2,H2] = steer(theta,basis)%% returns the filter response steered at a particular%% angle theta over the whole image plane.  theta can%% be either a matrix the same size as the image or a%% scalar value.  in the case of a scalar value then%% we return the response at that angle everywhere%%%% charless fowlkes, 2000  if (size(theta) == 1)     theta = theta*ones(size(basis.Ga));  end;  ct = cos(theta);  st = sin(theta);  G2 = ct.*ct.*basis.Ga - 2.*ct.*st.*basis.Gb + st.*st.*basis.Gc;  H2 = ct.*ct.*ct.*basis.Ha - 3.*ct.*ct.*st.*basis.Hb ...         + 3.*ct.*st.*st.*basis.Hc - st.*st.*st.*basis.Hd;  

⌨️ 快捷键说明

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