#include "intfx.h"#include "intmatcher.h"#include "const.h"#include "helpers.h"#include "ccutil.h"#include "statistc.h"#include "trainingsample.h"Defines | |
| #define | ATAN_TABLE_SIZE 64 |
Functions | |
| int | SaveFeature () |
| uinT8 | BinaryAnglePlusPi (inT32 Y, inT32 X) |
| uinT8 | MySqrt2 () |
| void | ClipRadius () |
| void | InitIntegerFX () |
| FCOORD | FeatureDirection (uinT8 theta) |
| TrainingSample * | GetIntFeatures (tesseract::NormalizationMode mode, TBLOB *blob, const DENORM &denorm) |
| int | ExtractIntFeat (TBLOB *Blob, const DENORM &denorm, INT_FEATURE_ARRAY BLFeat, INT_FEATURE_ARRAY CNFeat, INT_FX_RESULT_STRUCT *Results, inT32 *FeatureOutlineArray) |
| int | SaveFeature (INT_FEATURE_ARRAY FeatureArray, uinT16 FeatureNum, inT16 X, inT16 Y, uinT8 Theta) |
| uinT16 | MySqrt (inT32 X, inT32 Y) |
| uinT8 | MySqrt2 (uinT16 N, uinT32 I, uinT8 *Exp) |
| void | ClipRadius (uinT8 *RxInv, uinT8 *RxExp, uinT8 *RyInv, uinT8 *RyExp) |
Variables | |
| int | classify_radius_gyr_min_man = 255 |
| int | classify_radius_gyr_min_exp = 0 |
| int | classify_radius_gyr_max_man = 158 |
| int | classify_radius_gyr_max_exp = 8 |
| tesseract::CCUtilMutex | atan_table_mutex |
| #define ATAN_TABLE_SIZE 64 |
---------------------------------------------------------------------------- Global Data Definitions and Declarations ----------------------------------------------------------------------------
| void ClipRadius | ( | ) |
| int ExtractIntFeat | ( | TBLOB * | Blob, | |
| const DENORM & | denorm, | |||
| INT_FEATURE_ARRAY | BLFeat, | |||
| INT_FEATURE_ARRAY | CNFeat, | |||
| INT_FX_RESULT_STRUCT * | Results, | |||
| inT32 * | FeatureOutlineArray | |||
| ) |
| TrainingSample* GetIntFeatures | ( | tesseract::NormalizationMode | mode, | |
| TBLOB * | blob, | |||
| const DENORM & | denorm | |||
| ) |
| void InitIntegerFX | ( | ) |
---------------------------------------------------------------------------- Public Code ----------------------------------------------------------------------------
| uinT8 MySqrt2 | ( | ) |
| int SaveFeature | ( | INT_FEATURE_ARRAY | FeatureArray, | |
| uinT16 | FeatureNum, | |||
| inT16 | X, | |||
| inT16 | Y, | |||
| uinT8 | Theta | |||
| ) |
| int SaveFeature | ( | ) |
---------------------------------------------------------------------------- Private Function Prototypes ----------------------------------------------------------------------------
| int classify_radius_gyr_max_exp = 8 |
"Maximum Radius of Gyration Exponent 0-255: "
| int classify_radius_gyr_max_man = 158 |
"Maximum Radius of Gyration Mantissa 0-255: "
| int classify_radius_gyr_min_exp = 0 |
"Minimum Radius of Gyration Exponent 0-255: "
| int classify_radius_gyr_min_man = 255 |
"Minimum Radius of Gyration Mantissa 0-255: "
1.6.3