tesseract
3.05.02
|
#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 52 of file normalis.h.
DENORM::DENORM | ( | ) |
Definition at line 37 of file normalis.cpp.
DENORM::DENORM | ( | const DENORM & | src | ) |
Definition at line 41 of file normalis.cpp.
DENORM::~DENORM | ( | ) |
Definition at line 66 of file normalis.cpp.
|
inline |
Definition at line 275 of file normalis.h.
void DENORM::DenormTransform | ( | const DENORM * | last_denorm, |
const TPOINT & | pt, | ||
TPOINT * | original | ||
) | const |
Definition at line 389 of file normalis.cpp.
void DENORM::DenormTransform | ( | const DENORM * | last_denorm, |
const FCOORD & | pt, | ||
FCOORD * | original | ||
) | const |
Definition at line 397 of file normalis.cpp.
|
inline |
Definition at line 254 of file normalis.h.
Definition at line 359 of file normalis.cpp.
Definition at line 366 of file normalis.cpp.
void DENORM::LocalNormBlob | ( | TBLOB * | blob | ) | const |
Definition at line 411 of file normalis.cpp.
Definition at line 305 of file normalis.cpp.
Definition at line 312 of file normalis.cpp.
void DENORM::NormTransform | ( | const DENORM * | first_norm, |
const TPOINT & | pt, | ||
TPOINT * | transformed | ||
) | const |
Definition at line 334 of file normalis.cpp.
void DENORM::NormTransform | ( | const DENORM * | first_norm, |
const FCOORD & | pt, | ||
FCOORD * | transformed | ||
) | const |
Definition at line 342 of file normalis.cpp.
Definition at line 47 of file normalis.cpp.
|
inline |
Definition at line 248 of file normalis.h.
|
inline |
Definition at line 265 of file normalis.h.
void DENORM::Print | ( | ) | const |
Definition at line 505 of file normalis.cpp.
|
inline |
Definition at line 260 of file normalis.h.
|
inline |
Definition at line 278 of file normalis.h.
|
inline |
Definition at line 257 of file normalis.h.
|
inline |
Definition at line 251 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 267 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 95 of file normalis.cpp.
|
inline |
Definition at line 269 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 428 of file normalis.cpp.
|
inline |
Definition at line 272 of file normalis.h.