Home
last modified time | relevance | path

Searched refs:size_stats (Results 1 – 2 of 2) sorted by relevance

/external/tesseract/textord/
Dtordmain.cpp428 STATS size_stats (0, MAX_NEAREST_DIST); in filter_noise_blobs() local
441 size_stats.add (src_it.data ()->bounding_box ().height (), 1); in filter_noise_blobs()
443 min_y = floor (size_stats.ile (textord_blob_size_smallile / 100.0)); in filter_noise_blobs()
444 max_y = ceil (size_stats.ile (textord_blob_size_bigile / 100.0)); in filter_noise_blobs()
445 max_x = ceil (size_stats.ile (0.5) * textord_width_limit); in filter_noise_blobs()
454 return size_stats.ile (textord_initialx_ile); in filter_noise_blobs()
478 STATS size_stats (0, MAX_NEAREST_DIST); in filter_noise_blobs2() local
494 size_stats.add (src_it.data ()->bounding_box ().height (), 1); in filter_noise_blobs2()
496 initial_x = size_stats.ile (textord_initialx_ile); in filter_noise_blobs2()
512 size_stats.clear (); in filter_noise_blobs2()
[all …]
Dcolpartition.cpp553 STATS size_stats(0, bounding_box_.height() + 1); in ComputeLimits() local
559 size_stats.add(box.height(), 1); in ComputeLimits()
563 median_size_ = static_cast<int>(size_stats.median() + 0.5); in ComputeLimits()