invmoments.m

来自「to find stastical moments」· M 代码 · 共 8 行

M
8
字号
%compute invariant moments of image
function phi =invmoments(F)
if (ndims(F) ~= 2) | issparse(F) | ~isreal(F) | ~(isnumeric(F) | islogical(F));
    error(['F must be a 2D,real,nonsparse,numeric or logical matrix.']);
end
F=double(F);
phi =compute_phi(compute_eta(compute_m(F)));

⌨️ 快捷键说明

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