mean_tst.c

来自「NIST Handwriting OCR Testbed」· C语言 代码 · 共 17 行

C
17
字号
/*# proc: within_mean_slope - heuristic used in constreader, tests both a# proc:                     distance within a factor of the given mean and# proc:                     a slope within a given tolerance.*/#include <defs.h>within_mean_slope(delta, slope, mean, mfactor, sthresh)float delta, slope, mean, mfactor, sthresh;{   if((delta > (mean * mfactor)) && (slope > sthresh))      return(FALSE);   else      return(TRUE);}

⌨️ 快捷键说明

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