~vcs-imports/tesseract-ocr/trunk

« back to all changes in this revision

Viewing changes to ccstruct/blobs.h

  • Committer: theraysmith at gmail
  • Date: 2013-11-08 20:30:56 UTC
  • Revision ID: svn-v4:d0cd1f9f-072b-0410-8dd7-cf729c803f20:trunk:904
Refactorerd control functions to enable parallel blob classification

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
----------------------------------------------------------------------*/
32
32
#include "clst.h"
33
33
#include "normalis.h"
 
34
#include "publictypes.h"
34
35
#include "rect.h"
35
36
#include "vecfuncs.h"
36
37
 
316
317
  // Baseline normalizes the blobs in-place, recording the normalization in the
317
318
  // DENORMs in the blobs.
318
319
  void BLNormalize(const BLOCK* block, const ROW* row, Pix* pix, bool inverse,
319
 
                   float x_height, bool numeric_mode, DENORM* word_denorm);
 
320
                   float x_height, bool numeric_mode,
 
321
                   tesseract::OcrEngineMode hint,
 
322
                   const TBOX* norm_box,
 
323
                   DENORM* word_denorm);
320
324
  // Copies the data and the blobs, but leaves next untouched.
321
325
  void CopyFrom(const TWERD& src);
322
326
  // Deletes owned data.