tesseract  v4.0.0-17-g361f3264
Open Source OCR Engine
KDNODE Struct Reference

#include <kdtree.h>

Collaboration diagram for KDNODE:

Public Attributes

float * Key
 
void * Data
 
float BranchPoint
 
float LeftBranch
 
float RightBranch
 
struct KDNODELeft
 
struct KDNODERight
 

Detailed Description

NOTE: All circular parameters of all keys must be in the range

Min <= Param < Max

where Min and Max are specified in the KeyDesc parameter passed to MakeKDTree. All KD routines assume that this is true and will not operate correctly if circular parameters outside the specified range are used.

Member Data Documentation

◆ BranchPoint

float KDNODE::BranchPoint

needed to make deletes work efficiently

◆ Data

void* KDNODE::Data

data that corresponds to key

◆ Key

float* KDNODE::Key

search key

◆ Left

struct KDNODE* KDNODE::Left

ptrs for KD tree structure

◆ LeftBranch

float KDNODE::LeftBranch

used to optimize search pruning

◆ Right

struct KDNODE* KDNODE::Right

◆ RightBranch

float KDNODE::RightBranch

used to optimize search pruning


The documentation for this struct was generated from the following file: