#include "intfx.h"
#include <cmath>
#include "allheaders.h"
#include "ccutil.h"
#include "classify.h"
#include "helpers.h"
#include "intmatcher.h"
#include "linlsq.h"
#include "normalis.h"
#include "statistc.h"
#include "trainingsample.h"
Go to the source code of this file.
◆ _USE_MATH_DEFINES
#define _USE_MATH_DEFINES |
Include Files and Type Defines
Definition at line 21 of file intfx.cpp.
◆ FeatureDirection()
FCOORD FeatureDirection |
( |
uint8_t |
theta | ) |
|
Definition at line 66 of file intfx.cpp.
66 {
67 return FCOORD(cos_table[theta], sin_table[theta]);
68}
◆ InitIntegerFX()
Public Code
Definition at line 49 of file intfx.cpp.
49 {
50
52 static bool atan_table_init = false;
53 atan_table_mutex.
Lock();
54 if (!atan_table_init) {
58 }
59 atan_table_init = true;
60 }
62}
#define INT_CHAR_NORM_RANGE