tesseract v5.3.3.20231005
blkocc.h File Reference
#include "elst.h"
#include "params.h"

Go to the source code of this file.

Classes

class  tesseract::REGION_OCC
 
class  tesseract::BAND
 

Namespaces

namespace  tesseract
 

Macros

#define RANGE_IN_BAND(band_max, band_min, range_max, range_min)    (((range_min) >= (band_min)) && ((range_max) < (band_max)))
 
#define RANGE_OVERLAPS_BAND(band_max, band_min, range_max, range_min)    (((range_max) >= (band_min)) && ((range_min) < (band_max)))
 
#define MAX_NUM_BANDS   5
 
#define UNDEFINED_BAND   99
 
#define NO_LOWER_LIMIT   -9999
 
#define NO_UPPER_LIMIT   9999
 
#define DOT_BAND   0
 
#define END_OF_WERD_CODE   255
 

Functions

 tesseract::double_VAR_H (textord_underline_threshold)
 
bool tesseract::test_underline (bool testing_on, C_BLOB *blob, int16_t baseline, int16_t xheight)
 

Macro Definition Documentation

◆ DOT_BAND

#define DOT_BAND   0

Definition at line 231 of file blkocc.h.

◆ END_OF_WERD_CODE

#define END_OF_WERD_CODE   255

Definition at line 235 of file blkocc.h.

◆ MAX_NUM_BANDS

#define MAX_NUM_BANDS   5

Definition at line 226 of file blkocc.h.

◆ NO_LOWER_LIMIT

#define NO_LOWER_LIMIT   -9999

Definition at line 228 of file blkocc.h.

◆ NO_UPPER_LIMIT

#define NO_UPPER_LIMIT   9999

Definition at line 229 of file blkocc.h.

◆ RANGE_IN_BAND

#define RANGE_IN_BAND (   band_max,
  band_min,
  range_max,
  range_min 
)     (((range_min) >= (band_min)) && ((range_max) < (band_max)))

Definition at line 64 of file blkocc.h.

◆ RANGE_OVERLAPS_BAND

#define RANGE_OVERLAPS_BAND (   band_max,
  band_min,
  range_max,
  range_min 
)     (((range_max) >= (band_min)) && ((range_min) < (band_max)))

Definition at line 83 of file blkocc.h.

◆ UNDEFINED_BAND

#define UNDEFINED_BAND   99

Definition at line 227 of file blkocc.h.