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

#include <pithsync.h>

Collaboration diagram for FPCUTPT:

Public Member Functions

 FPCUTPT ()=default
 
void setup (FPCUTPT cutpts[], int16_t array_origin, STATS *projection, int16_t zero_count, int16_t pitch, int16_t x, int16_t offset)
 
void assign (FPCUTPT cutpts[], int16_t array_origin, int16_t x, bool faking, bool mid_cut, int16_t offset, STATS *projection, float projection_scale, int16_t zero_count, int16_t pitch, int16_t pitch_error)
 
void assign_cheap (FPCUTPT cutpts[], int16_t array_origin, int16_t x, BOOL8 faking, BOOL8 mid_cut, int16_t offset, STATS *projection, float projection_scale, int16_t zero_count, int16_t pitch, int16_t pitch_error)
 
int32_t position ()
 
double cost_function ()
 
double squares ()
 
double sum ()
 
FPCUTPTprevious ()
 
int16_t cheap_cuts () const
 
int16_t index () const
 

Public Attributes

bool faked
 
bool terminal
 
int16_t fake_count
 

Private Attributes

int16_t region_index
 
int16_t mid_cuts
 
int32_t xpos
 
uint32_t back_balance
 
uint32_t fwd_balance
 
FPCUTPTpred
 
double mean_sum
 
double sq_sum
 
double cost
 

Constructor & Destructor Documentation

◆ FPCUTPT()

FPCUTPT::FPCUTPT ( )
default

Member Function Documentation

◆ assign()

void FPCUTPT::assign ( FPCUTPT  cutpts[],
int16_t  array_origin,
int16_t  x,
bool  faking,
bool  mid_cut,
int16_t  offset,
STATS projection,
float  projection_scale,
int16_t  zero_count,
int16_t  pitch,
int16_t  pitch_error 
)

◆ assign_cheap()

void FPCUTPT::assign_cheap ( FPCUTPT  cutpts[],
int16_t  array_origin,
int16_t  x,
BOOL8  faking,
BOOL8  mid_cut,
int16_t  offset,
STATS projection,
float  projection_scale,
int16_t  zero_count,
int16_t  pitch,
int16_t  pitch_error 
)

◆ cheap_cuts()

int16_t FPCUTPT::cheap_cuts ( ) const
inline

◆ cost_function()

double FPCUTPT::cost_function ( )
inline

◆ index()

int16_t FPCUTPT::index ( ) const
inline

◆ position()

int32_t FPCUTPT::position ( )
inline

◆ previous()

FPCUTPT* FPCUTPT::previous ( )
inline

◆ setup()

void FPCUTPT::setup ( FPCUTPT  cutpts[],
int16_t  array_origin,
STATS projection,
int16_t  zero_count,
int16_t  pitch,
int16_t  x,
int16_t  offset 
)

◆ squares()

double FPCUTPT::squares ( )
inline

◆ sum()

double FPCUTPT::sum ( )
inline

Member Data Documentation

◆ back_balance

uint32_t FPCUTPT::back_balance
private

◆ cost

double FPCUTPT::cost
private

◆ fake_count

int16_t FPCUTPT::fake_count

◆ faked

bool FPCUTPT::faked

◆ fwd_balance

uint32_t FPCUTPT::fwd_balance
private

◆ mean_sum

double FPCUTPT::mean_sum
private

◆ mid_cuts

int16_t FPCUTPT::mid_cuts
private

◆ pred

FPCUTPT* FPCUTPT::pred
private

◆ region_index

int16_t FPCUTPT::region_index
private

◆ sq_sum

double FPCUTPT::sq_sum
private

◆ terminal

bool FPCUTPT::terminal

◆ xpos

int32_t FPCUTPT::xpos
private

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