tesseract v5.3.3.20231005
|
#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 std::vector< std::vector< int > > &x_coords, const std::vector< std::vector< 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 |
Image | pix () const |
void | set_pix (Image 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.
tesseract::DENORM::DENORM | ( | ) |
Definition at line 39 of file normalis.cpp.
tesseract::DENORM::DENORM | ( | const DENORM & | src | ) |
Definition at line 43 of file normalis.cpp.
tesseract::DENORM::~DENORM | ( | ) |
Definition at line 70 of file normalis.cpp.
|
inline |
Definition at line 265 of file normalis.h.
void tesseract::DENORM::DenormTransform | ( | const DENORM * | last_denorm, |
const FCOORD & | pt, | ||
FCOORD * | original | ||
) | const |
Definition at line 408 of file normalis.cpp.
void tesseract::DENORM::DenormTransform | ( | const DENORM * | last_denorm, |
const TPOINT & | pt, | ||
TPOINT * | original | ||
) | const |
Definition at line 401 of file normalis.cpp.
|
inline |
Definition at line 243 of file normalis.h.
Definition at line 370 of file normalis.cpp.
Definition at line 362 of file normalis.cpp.
void tesseract::DENORM::LocalNormBlob | ( | TBLOB * | blob | ) | const |
Definition at line 421 of file normalis.cpp.
Definition at line 317 of file normalis.cpp.
Definition at line 310 of file normalis.cpp.
void tesseract::DENORM::NormTransform | ( | const DENORM * | first_norm, |
const FCOORD & | pt, | ||
FCOORD * | transformed | ||
) | const |
Definition at line 347 of file normalis.cpp.
void tesseract::DENORM::NormTransform | ( | const DENORM * | first_norm, |
const TPOINT & | pt, | ||
TPOINT * | transformed | ||
) | const |
Definition at line 340 of file normalis.cpp.
Definition at line 50 of file normalis.cpp.
|
inline |
Definition at line 237 of file normalis.h.
|
inline |
Definition at line 255 of file normalis.h.
void tesseract::DENORM::Print | ( | ) | const |
Definition at line 515 of file normalis.cpp.
|
inline |
Definition at line 249 of file normalis.h.
|
inline |
Definition at line 268 of file normalis.h.
|
inline |
Definition at line 246 of file normalis.h.
|
inline |
Definition at line 240 of file normalis.h.
void tesseract::DENORM::SetupNonLinear | ( | const DENORM * | predecessor, |
const TBOX & | box, | ||
float | target_width, | ||
float | target_height, | ||
float | final_xshift, | ||
float | final_yshift, | ||
const std::vector< std::vector< int > > & | x_coords, | ||
const std::vector< std::vector< int > > & | y_coords | ||
) |
Definition at line 273 of file normalis.cpp.
void tesseract::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 99 of file normalis.cpp.
|
inline |
Definition at line 259 of file normalis.h.
void tesseract::DENORM::XHeightRange | ( | int | unichar_id, |
const UNICHARSET & | unicharset, | ||
const TBOX & | bbox, | ||
float * | min_xht, | ||
float * | max_xht, | ||
float * | yshift | ||
) | const |
Definition at line 439 of file normalis.cpp.
|
inline |
Definition at line 262 of file normalis.h.