tesseract v5.3.3.20231005
tesseract::CHISTRUCT Struct Reference

Public Member Functions

 CHISTRUCT (uint16_t degreesOfFreedom, double alpha)
 

Public Attributes

uint16_t DegreesOfFreedom = 0
 
double Alpha = 0.0
 
double ChiSquared = 0.0
 

Detailed Description

Definition at line 1289 of file cluster.cpp.

Constructor & Destructor Documentation

◆ CHISTRUCT()

tesseract::CHISTRUCT::CHISTRUCT ( uint16_t  degreesOfFreedom,
double  alpha 
)
inline

This constructor allocates a new data structure which is used to hold a chi-squared value along with its associated number of degrees of freedom and alpha value.

Parameters
degreesOfFreedomdegrees of freedom for new chi value
alphaconfidence level for new chi value

Definition at line 1296 of file cluster.cpp.

1296 : DegreesOfFreedom(degreesOfFreedom), Alpha(alpha) {
1297 }
uint16_t DegreesOfFreedom
Definition: cluster.cpp:1298

Member Data Documentation

◆ Alpha

double tesseract::CHISTRUCT::Alpha = 0.0

Definition at line 1299 of file cluster.cpp.

◆ ChiSquared

double tesseract::CHISTRUCT::ChiSquared = 0.0

Definition at line 1300 of file cluster.cpp.

◆ DegreesOfFreedom

uint16_t tesseract::CHISTRUCT::DegreesOfFreedom = 0

Definition at line 1298 of file cluster.cpp.


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