tesseract  v4.0.0-17-g361f3264
Open Source OCR Engine
TO_BLOCK Class Reference

#include <blobbox.h>

Inheritance diagram for TO_BLOCK:
Collaboration diagram for TO_BLOCK:

Public Member Functions

 TO_BLOCK ()
 
 TO_BLOCK (BLOCK *src_block)
 
 ~TO_BLOCK ()
 
void clear ()
 
TO_ROW_LIST * get_rows ()
 
void rotate (const FCOORD &rotation)
 
void print_rows ()
 
void ReSetAndReFilterBlobs ()
 
void DeleteUnownedNoise ()
 
void ComputeEdgeOffsets (Pix *thresholds, Pix *grey)
 
void plot_noise_blobs (ScrollView *to_win)
 
void plot_graded_blobs (ScrollView *to_win)
 

Public Attributes

BLOBNBOX_LIST blobs
 
BLOBNBOX_LIST underlines
 
BLOBNBOX_LIST noise_blobs
 
BLOBNBOX_LIST small_blobs
 
BLOBNBOX_LIST large_blobs
 
BLOCKblock
 
PITCH_TYPE pitch_decision
 
float line_spacing
 
float line_size
 
float max_blob_size
 
float baseline_offset
 
float xheight
 
float fixed_pitch
 
float kern_size
 
float space_size
 
int32_t min_space
 
int32_t max_nonspace
 
float fp_space
 
float fp_nonsp
 
float pr_space
 
float pr_nonsp
 
TO_ROWkey_row
 

Private Attributes

TO_ROW_LIST row_list
 

Constructor & Destructor Documentation

◆ TO_BLOCK() [1/2]

TO_BLOCK::TO_BLOCK ( )
inline

◆ TO_BLOCK() [2/2]

TO_BLOCK::TO_BLOCK ( BLOCK src_block)

◆ ~TO_BLOCK()

TO_BLOCK::~TO_BLOCK ( )

Member Function Documentation

◆ clear()

void TO_BLOCK::clear ( )

◆ ComputeEdgeOffsets()

void TO_BLOCK::ComputeEdgeOffsets ( Pix *  thresholds,
Pix *  grey 
)

◆ DeleteUnownedNoise()

void TO_BLOCK::DeleteUnownedNoise ( )

◆ get_rows()

TO_ROW_LIST* TO_BLOCK::get_rows ( )
inline

◆ plot_graded_blobs()

void TO_BLOCK::plot_graded_blobs ( ScrollView to_win)

◆ plot_noise_blobs()

void TO_BLOCK::plot_noise_blobs ( ScrollView to_win)

◆ print_rows()

void TO_BLOCK::print_rows ( )
inline

◆ ReSetAndReFilterBlobs()

void TO_BLOCK::ReSetAndReFilterBlobs ( )

◆ rotate()

void TO_BLOCK::rotate ( const FCOORD rotation)
inline

Member Data Documentation

◆ baseline_offset

float TO_BLOCK::baseline_offset

◆ blobs

BLOBNBOX_LIST TO_BLOCK::blobs

◆ block

BLOCK* TO_BLOCK::block

◆ fixed_pitch

float TO_BLOCK::fixed_pitch

◆ fp_nonsp

float TO_BLOCK::fp_nonsp

◆ fp_space

float TO_BLOCK::fp_space

◆ kern_size

float TO_BLOCK::kern_size

◆ key_row

TO_ROW* TO_BLOCK::key_row

◆ large_blobs

BLOBNBOX_LIST TO_BLOCK::large_blobs

◆ line_size

float TO_BLOCK::line_size

◆ line_spacing

float TO_BLOCK::line_spacing

◆ max_blob_size

float TO_BLOCK::max_blob_size

◆ max_nonspace

int32_t TO_BLOCK::max_nonspace

◆ min_space

int32_t TO_BLOCK::min_space

◆ noise_blobs

BLOBNBOX_LIST TO_BLOCK::noise_blobs

◆ pitch_decision

PITCH_TYPE TO_BLOCK::pitch_decision

◆ pr_nonsp

float TO_BLOCK::pr_nonsp

◆ pr_space

float TO_BLOCK::pr_space

◆ row_list

TO_ROW_LIST TO_BLOCK::row_list
private

◆ small_blobs

BLOBNBOX_LIST TO_BLOCK::small_blobs

◆ space_size

float TO_BLOCK::space_size

◆ underlines

BLOBNBOX_LIST TO_BLOCK::underlines

◆ xheight

float TO_BLOCK::xheight

The documentation for this class was generated from the following files: