MCPcopy Create free account
hub / github.com/creatale/node-dv / InitBuckets

Function InitBuckets

deps/tesseract/classify/cluster.cpp:2289–2296  ·  view source on GitHub ↗

* This routine sets the bucket counts in the specified histogram * to zero. * @param Buckets histogram data structure to init * @return none * @note Exceptions: none * @note History: Thu Aug 3 14:31:14 1989, DSJ, Created. */

Source from the content-addressed store, hash-verified

2287 * @note History: Thu Aug 3 14:31:14 1989, DSJ, Created.
2288 */
2289void InitBuckets(BUCKETS *Buckets) {
2290 int i;
2291
2292 for (i = 0; i < Buckets->NumberOfBuckets; i++) {
2293 Buckets->Count[i] = 0;
2294 }
2295
2296} // InitBuckets
2297
2298/**
2299 * This routine is used to search a list of structures which

Callers 1

GetBucketsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected