#include <intfeaturespace.h>
◆ IntFeatureSpace()
tesseract::IntFeatureSpace::IntFeatureSpace |
( |
| ) |
|
◆ Index()
◆ IndexAndSortFeatures()
void tesseract::IntFeatureSpace::IndexAndSortFeatures |
( |
const INT_FEATURE_STRUCT * |
features, |
|
|
int |
num_features, |
|
|
GenericVector< int > * |
sorted_features |
|
) |
| const |
◆ IndexFeatures()
◆ Init()
void tesseract::IntFeatureSpace::Init |
( |
uint8_t |
xbuckets, |
|
|
uint8_t |
ybuckets, |
|
|
uint8_t |
thetabuckets |
|
) |
| |
◆ PositionFromBuckets()
INT_FEATURE_STRUCT tesseract::IntFeatureSpace::PositionFromBuckets |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
theta |
|
) |
| const |
|
protected |
◆ PositionFromIndex()
◆ Serialize()
bool tesseract::IntFeatureSpace::Serialize |
( |
FILE * |
fp | ) |
const |
◆ Size()
int tesseract::IntFeatureSpace::Size |
( |
| ) |
const |
|
inline |
◆ ThetaBucket()
int tesseract::IntFeatureSpace::ThetaBucket |
( |
int |
theta | ) |
const |
|
inlineprotected |
◆ XBucket()
int tesseract::IntFeatureSpace::XBucket |
( |
int |
x | ) |
const |
|
inlineprotected |
◆ XYToFeatureIndex()
int tesseract::IntFeatureSpace::XYToFeatureIndex |
( |
int |
x, |
|
|
int |
y |
|
) |
| const |
◆ YBucket()
int tesseract::IntFeatureSpace::YBucket |
( |
int |
y | ) |
const |
|
inlineprotected |
◆ theta_buckets_
uint8_t tesseract::IntFeatureSpace::theta_buckets_ |
|
protected |
◆ x_buckets_
uint8_t tesseract::IntFeatureSpace::x_buckets_ |
|
protected |
◆ y_buckets_
uint8_t tesseract::IntFeatureSpace::y_buckets_ |
|
protected |
The documentation for this class was generated from the following files:
- /home/stephane/src/tesseract/src/classify/intfeaturespace.h
- /home/stephane/src/tesseract/src/classify/intfeaturespace.cpp