tesseract  v4.0.0-17-g361f3264
Open Source OCR Engine
tesseract::SimpleClusterer Class Reference
Collaboration diagram for tesseract::SimpleClusterer:

Public Member Functions

 SimpleClusterer (int max_cluster_width)
 
void Add (int value)
 
int size () const
 
void GetClusters (GenericVector< Cluster > *clusters)
 

Private Attributes

int max_cluster_width_
 
GenericVectorEqEq< int > values_
 

Constructor & Destructor Documentation

◆ SimpleClusterer()

tesseract::SimpleClusterer::SimpleClusterer ( int  max_cluster_width)
inlineexplicit

Member Function Documentation

◆ Add()

void tesseract::SimpleClusterer::Add ( int  value)
inline

◆ GetClusters()

void tesseract::SimpleClusterer::GetClusters ( GenericVector< Cluster > *  clusters)

◆ size()

int tesseract::SimpleClusterer::size ( ) const
inline

Member Data Documentation

◆ max_cluster_width_

int tesseract::SimpleClusterer::max_cluster_width_
private

◆ values_

GenericVectorEqEq<int> tesseract::SimpleClusterer::values_
private

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