tesseract v5.3.3.20231005
tesseract::CLUSTER Struct Reference

#include <cluster.h>

Public Member Functions

 CLUSTER (size_t n)
 
 ~CLUSTER ()
 

Public Attributes

bool Clustered: 1
 
bool Prototype: 1
 
unsigned SampleCount: 30
 
CLUSTERLeft
 
CLUSTERRight
 
int32_t CharID
 
std::vector< float > Mean
 

Detailed Description

Definition at line 34 of file cluster.h.

Constructor & Destructor Documentation

◆ CLUSTER()

tesseract::CLUSTER::CLUSTER ( size_t  n)
inline

Definition at line 35 of file cluster.h.

35 : Mean(n) {
36 }
std::vector< float > Mean
Definition: cluster.h:49

◆ ~CLUSTER()

tesseract::CLUSTER::~CLUSTER ( )
inline

Definition at line 38 of file cluster.h.

38 {
39 delete Left;
40 delete Right;
41 }
CLUSTER * Right
Definition: cluster.h:47
CLUSTER * Left
Definition: cluster.h:46

Member Data Documentation

◆ CharID

int32_t tesseract::CLUSTER::CharID

Definition at line 48 of file cluster.h.

◆ Clustered

bool tesseract::CLUSTER::Clustered

Definition at line 43 of file cluster.h.

◆ Left

CLUSTER* tesseract::CLUSTER::Left

Definition at line 46 of file cluster.h.

◆ Mean

std::vector<float> tesseract::CLUSTER::Mean

Definition at line 49 of file cluster.h.

◆ Prototype

bool tesseract::CLUSTER::Prototype

Definition at line 44 of file cluster.h.

◆ Right

CLUSTER* tesseract::CLUSTER::Right

Definition at line 47 of file cluster.h.

◆ SampleCount

unsigned tesseract::CLUSTER::SampleCount

Definition at line 45 of file cluster.h.


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