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

📄 runs.c

📁 NIST Handwriting OCR Testbed
💻 C
字号:
/*# proc: ramp_int_runs - takes a list of integers, thresholds them into# proc:                 binary values and assigns incrementally accumulated# proc:                 run length vales into a new list.*/#include <stdio.h>ramp_int_runs(bins, rlist, blen, thresh)int *bins, **rlist;int blen, thresh;{   int i, count;   calloc_int(rlist, blen, "ramp_int_runs : rlist");   count = 0;   for(i = 0; i < blen; i++){      if(bins[i] > thresh)         (*rlist)[i] = ++count;      else         count = 0;   }}

⌨️ 快捷键说明

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