tesseract v5.3.3.20231005
blobbox.h File Reference
#include "elst.h"
#include "elst2.h"
#include "errcode.h"
#include "ocrblock.h"
#include "params.h"
#include "pdblock.h"
#include "points.h"
#include "quspline.h"
#include "rect.h"
#include "scrollview.h"
#include "statistc.h"
#include "stepblob.h"
#include "tprintf.h"
#include "werd.h"
#include <cinttypes>
#include <cmath>
#include <cstdint>

Go to the source code of this file.

Classes

class  tesseract::BLOBNBOX
 
class  tesseract::TO_ROW
 
class  tesseract::TO_BLOCK
 

Namespaces

namespace  tesseract
 

Enumerations

enum  tesseract::PITCH_TYPE {
  tesseract::PITCH_DUNNO , tesseract::PITCH_DEF_FIXED , tesseract::PITCH_MAYBE_FIXED , tesseract::PITCH_DEF_PROP ,
  tesseract::PITCH_MAYBE_PROP , tesseract::PITCH_CORR_FIXED , tesseract::PITCH_CORR_PROP
}
 
enum  tesseract::TabType {
  tesseract::TT_NONE , tesseract::TT_DELETED , tesseract::TT_MAYBE_RAGGED , tesseract::TT_MAYBE_ALIGNED ,
  tesseract::TT_CONFIRMED , tesseract::TT_VLINE
}
 
enum  tesseract::BlobRegionType {
  tesseract::BRT_NOISE , tesseract::BRT_HLINE , tesseract::BRT_VLINE , tesseract::BRT_RECTIMAGE ,
  tesseract::BRT_POLYIMAGE , tesseract::BRT_UNKNOWN , tesseract::BRT_VERT_TEXT , tesseract::BRT_TEXT ,
  tesseract::BRT_COUNT
}
 
enum  tesseract::BlobNeighbourDir {
  tesseract::BND_LEFT , tesseract::BND_BELOW , tesseract::BND_RIGHT , tesseract::BND_ABOVE ,
  tesseract::BND_COUNT
}
 
enum  tesseract::BlobSpecialTextType {
  tesseract::BSTT_NONE , tesseract::BSTT_ITALIC , tesseract::BSTT_DIGIT , tesseract::BSTT_MATH ,
  tesseract::BSTT_UNCLEAR , tesseract::BSTT_SKIP , tesseract::BSTT_COUNT
}
 
enum  tesseract::BlobTextFlowType {
  tesseract::BTFT_NONE , tesseract::BTFT_NONTEXT , tesseract::BTFT_NEIGHBOURS , tesseract::BTFT_CHAIN ,
  tesseract::BTFT_STRONG_CHAIN , tesseract::BTFT_TEXT_ON_IMAGE , tesseract::BTFT_LEADER , tesseract::BTFT_COUNT
}
 

Functions

BlobNeighbourDir tesseract::DirOtherWay (BlobNeighbourDir dir)
 
bool tesseract::DominatesInMerge (BlobTextFlowType type1, BlobTextFlowType type2)
 
void tesseract::find_cblob_limits (C_BLOB *blob, float leftx, float rightx, FCOORD rotation, float &ymin, float &ymax)
 
void tesseract::find_cblob_vlimits (C_BLOB *blob, float leftx, float rightx, float &ymin, float &ymax)
 
void tesseract::find_cblob_hlimits (C_BLOB *blob, float bottomy, float topy, float &xmin, float &xmax)
 
C_BLOB * tesseract::crotate_cblob (C_BLOB *blob, FCOORD rotation)
 
TBOX tesseract::box_next (BLOBNBOX_IT *it)
 
TBOX tesseract::box_next_pre_chopped (BLOBNBOX_IT *it)
 
void tesseract::vertical_cblob_projection (C_BLOB *blob, STATS *stats)
 
void tesseract::vertical_coutline_projection (C_OUTLINE *outline, STATS *stats)
 
void tesseract::plot_blob_list (ScrollView *win, BLOBNBOX_LIST *list, ScrollView::Color body_colour, ScrollView::Color child_colour)