#include <normalis.h>
Public Member Functions | |
DENORM () | |
DENORM (float x, float scaling, ROW *src) | |
DENORM (float x, float scaling, double line_m, double line_c, inT16 seg_count, DENORM_SEG *seg_pts, BOOL8 using_row, ROW *src) | |
DENORM (const DENORM &) | |
DENORM & | operator= (const DENORM &) |
~DENORM () | |
void | SetupBLNormalize (const BLOCK *block, const ROW *row, float x_height, const TBOX &word_box, int num_segs, const DENORM_SEG *segs) |
void | SetupNormalization (const BLOCK *block, const ROW *row, const FCOORD *rotation, const DENORM *predecessor, const DENORM_SEG *segs, int num_segs, float x_origin, float y_origin, float x_scale, float y_scale, float final_xshift, float final_yshift) |
void | LocalNormTransform (const TPOINT &pt, TPOINT *transformed) const |
void | LocalNormTransform (const FCOORD &pt, FCOORD *transformed) const |
void | NormTransform (const TPOINT &pt, TPOINT *transformed) const |
void | NormTransform (const FCOORD &pt, FCOORD *transformed) const |
void | LocalDenormTransform (const TPOINT &pt, TPOINT *original) const |
void | LocalDenormTransform (const FCOORD &pt, FCOORD *original) const |
void | DenormTransform (const TPOINT &pt, TPOINT *original) const |
void | DenormTransform (const FCOORD &pt, FCOORD *original) const |
void | LocalNormBlob (TBLOB *blob) const |
bool | XHeightRange (int unichar_id, const UNICHARSET &unicharset, const TBOX &bbox, inT16 *min_xht, inT16 *max_xht) const |
Pix * | pix () const |
void | set_pix (Pix *pix) |
bool | inverse () const |
void | set_inverse (bool value) |
const DENORM * | RootDenorm () const |
const DENORM * | predecessor () const |
float | x_scale () const |
float | y_scale () const |
const ROW * | row () const |
void | set_row (ROW *row) |
const BLOCK * | block () const |
void | set_block (const BLOCK *block) |
DENORM::DENORM | ( | ) |
DENORM::DENORM | ( | float | x, | |
float | scaling, | |||
ROW * | src | |||
) |
DENORM::DENORM | ( | float | x, | |
float | scaling, | |||
double | line_m, | |||
double | line_c, | |||
inT16 | seg_count, | |||
DENORM_SEG * | seg_pts, | |||
BOOL8 | using_row, | |||
ROW * | src | |||
) |
DENORM::DENORM | ( | const DENORM & | src | ) |
DENORM::~DENORM | ( | ) |
const BLOCK* DENORM::block | ( | ) | const [inline] |
bool DENORM::inverse | ( | ) | const [inline] |
void DENORM::LocalNormBlob | ( | TBLOB * | blob | ) | const |
Pix* DENORM::pix | ( | ) | const [inline] |
const DENORM* DENORM::predecessor | ( | ) | const [inline] |
const DENORM* DENORM::RootDenorm | ( | ) | const [inline] |
const ROW* DENORM::row | ( | ) | const [inline] |
void DENORM::set_block | ( | const BLOCK * | block | ) | [inline] |
void DENORM::set_inverse | ( | bool | value | ) | [inline] |
void DENORM::set_pix | ( | Pix * | pix | ) | [inline] |
void DENORM::set_row | ( | ROW * | row | ) | [inline] |
void DENORM::SetupBLNormalize | ( | const BLOCK * | block, | |
const ROW * | row, | |||
float | x_height, | |||
const TBOX & | word_box, | |||
int | num_segs, | |||
const DENORM_SEG * | segs | |||
) |
void DENORM::SetupNormalization | ( | const BLOCK * | block, | |
const ROW * | row, | |||
const FCOORD * | rotation, | |||
const DENORM * | predecessor, | |||
const DENORM_SEG * | segs, | |||
int | num_segs, | |||
float | x_origin, | |||
float | y_origin, | |||
float | x_scale, | |||
float | y_scale, | |||
float | final_xshift, | |||
float | final_yshift | |||
) |
float DENORM::x_scale | ( | ) | const [inline] |
bool DENORM::XHeightRange | ( | int | unichar_id, | |
const UNICHARSET & | unicharset, | |||
const TBOX & | bbox, | |||
inT16 * | min_xht, | |||
inT16 * | max_xht | |||
) | const |
float DENORM::y_scale | ( | ) | const [inline] |