kmr.m

来自「图像对齐(inage registration)工具箱」· M 代码 · 共 16 行

M
16
字号
function [M]=kmr(img,p)

% M is a matrix of complex moments up to the p-th order of the image img
% img - image matrix
% \mu{pq} = M(p+1,q+1)
w=cm(img,2*p);       [n1,n2]=size(img);for r=1:p+1;
for s=1:p+2-r;
M(r,s)=km(r-1,s-1,w);
end;
end;

⌨️ 快捷键说明

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