tesseract
4.0.0-1-g2a2b
|
#include <normalis.h>
Public Member Functions | |
DENORM () | |
DENORM (const DENORM &) | |
DENORM & | operator= (const DENORM &) |
~DENORM () | |
void | SetupNormalization (const BLOCK *block, const FCOORD *rotation, const DENORM *predecessor, float x_origin, float y_origin, float x_scale, float y_scale, float final_xshift, float final_yshift) |
void | SetupNonLinear (const DENORM *predecessor, const TBOX &box, float target_width, float target_height, float final_xshift, float final_yshift, const GenericVector< GenericVector< int > > &x_coords, const GenericVector< GenericVector< int > > &y_coords) |
void | LocalNormTransform (const TPOINT &pt, TPOINT *transformed) const |
void | LocalNormTransform (const FCOORD &pt, FCOORD *transformed) const |
void | NormTransform (const DENORM *first_norm, const TPOINT &pt, TPOINT *transformed) const |
void | NormTransform (const DENORM *first_norm, 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 DENORM *last_denorm, const TPOINT &pt, TPOINT *original) const |
void | DenormTransform (const DENORM *last_denorm, const FCOORD &pt, FCOORD *original) const |
void | LocalNormBlob (TBLOB *blob) const |
void | XHeightRange (int unichar_id, const UNICHARSET &unicharset, const TBOX &bbox, float *min_xht, float *max_xht, float *yshift) const |
void | Print () 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 BLOCK * | block () const |
void | set_block (const BLOCK *block) |
Definition at line 50 of file normalis.h.
DENORM::DENORM | ( | ) |
Definition at line 38 of file normalis.cpp.
DENORM::DENORM | ( | const DENORM & | src | ) |
Definition at line 42 of file normalis.cpp.
DENORM::~DENORM | ( | ) |
Definition at line 67 of file normalis.cpp.
|
inline |
Definition at line 273 of file normalis.h.
void DENORM::DenormTransform | ( | const DENORM * | last_denorm, |
const TPOINT & | pt, | ||
TPOINT * | original | ||
) | const |
Definition at line 390 of file normalis.cpp.
void DENORM::DenormTransform | ( | const DENORM * | last_denorm, |
const FCOORD & | pt, | ||
FCOORD * | original | ||
) | const |
Definition at line 398 of file normalis.cpp.
|
inline |
Definition at line 252 of file normalis.h.
Definition at line 360 of file normalis.cpp.
Definition at line 367 of file normalis.cpp.
void DENORM::LocalNormBlob | ( | TBLOB * | blob | ) | const |
Definition at line 412 of file normalis.cpp.
Definition at line 306 of file normalis.cpp.
Definition at line 313 of file normalis.cpp.
void DENORM::NormTransform | ( | const DENORM * | first_norm, |
const TPOINT & | pt, | ||
TPOINT * | transformed | ||
) | const |
Definition at line 335 of file normalis.cpp.
void DENORM::NormTransform | ( | const DENORM * | first_norm, |
const FCOORD & | pt, | ||
FCOORD * | transformed | ||
) | const |
Definition at line 343 of file normalis.cpp.
Definition at line 48 of file normalis.cpp.
|
inline |
Definition at line 246 of file normalis.h.
|
inline |
Definition at line 263 of file normalis.h.
void DENORM::Print | ( | ) | const |
Definition at line 506 of file normalis.cpp.
|
inline |
Definition at line 258 of file normalis.h.
|
inline |
Definition at line 276 of file normalis.h.
|
inline |
Definition at line 255 of file normalis.h.
|
inline |
Definition at line 249 of file normalis.h.
void DENORM::SetupNonLinear | ( | const DENORM * | predecessor, |
const TBOX & | box, | ||
float | target_width, | ||
float | target_height, | ||
float | final_xshift, | ||
float | final_yshift, | ||
const GenericVector< GenericVector< int > > & | x_coords, | ||
const GenericVector< GenericVector< int > > & | y_coords | ||
) |
Definition at line 268 of file normalis.cpp.
void DENORM::SetupNormalization | ( | const BLOCK * | block, |
const FCOORD * | rotation, | ||
const DENORM * | predecessor, | ||
float | x_origin, | ||
float | y_origin, | ||
float | x_scale, | ||
float | y_scale, | ||
float | final_xshift, | ||
float | final_yshift | ||
) |
Definition at line 96 of file normalis.cpp.
|
inline |
Definition at line 267 of file normalis.h.
void DENORM::XHeightRange | ( | int | unichar_id, |
const UNICHARSET & | unicharset, | ||
const TBOX & | bbox, | ||
float * | min_xht, | ||
float * | max_xht, | ||
float * | yshift | ||
) | const |
Definition at line 429 of file normalis.cpp.
|
inline |
Definition at line 270 of file normalis.h.