ncmoment.m
来自「《Visual C++数字图像识别技术典型案例》之光学字符识别技术源码」· M 代码 · 共 23 行
M
23 行
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% %% %% Prof. Sclaroff's CS585 Image avd Video Processing %%%% Project ONE %%%% C H A R A C T E R R E C O G N I T I O N %%%% %%%% by Stanislav Rost %% %% ID: 31764117 %% %% %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%function result = ncmoment(j, k, matrix, width, height)% NORMCENTRALMOMENT.M%% function result = normcentralmoment(j, k, matrix, width, height)%% Returns (j,k)-th normalized central moment of 2D binary image "matrix"gamma = (j+k)/2 + 1;result = centralmoment(j, k, matrix, width, height)/... (centralmoment(0, 0, matrix, width, height)^gamma);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?