Lines Matching refs:EquationDetect

90 inline bool IsLeftIndented(const EquationDetect::IndentType type) {  in IsLeftIndented()
91 return type == EquationDetect::LEFT_INDENT || type == EquationDetect::BOTH_INDENT; in IsLeftIndented()
94 inline bool IsRightIndented(const EquationDetect::IndentType type) { in IsRightIndented()
95 return type == EquationDetect::RIGHT_INDENT || type == EquationDetect::BOTH_INDENT; in IsRightIndented()
98 EquationDetect::EquationDetect(const char *equ_datapath, const char *equ_name) { in EquationDetect() function in tesseract::EquationDetect
117 EquationDetect::~EquationDetect() { in ~EquationDetect()
121 void EquationDetect::SetLangTesseract(Tesseract *lang_tesseract) { in SetLangTesseract()
125 void EquationDetect::SetResolution(const int resolution) { in SetResolution()
129 int EquationDetect::LabelSpecialText(TO_BLOCK *to_block) { in LabelSpecialText()
148 void EquationDetect::IdentifySpecialText(BLOBNBOX *blobnbox, const int height_th) { in IdentifySpecialText()
218 BlobSpecialTextType EquationDetect::EstimateTypeForUnichar(const UNICHARSET &unicharset, in EstimateTypeForUnichar()
250 void EquationDetect::IdentifySpecialText() { in IdentifySpecialText()
297 void EquationDetect::IdentifyBlobsToSkip(ColPartition *part) { in IdentifyBlobsToSkip()
343 int EquationDetect::FindEquationParts(ColPartitionGrid *part_grid, ColPartitionSet **best_columns) { in FindEquationParts()
408 void EquationDetect::MergePartsByLocation() { in MergePartsByLocation()
447 void EquationDetect::SearchByOverlap(ColPartition *seed, in SearchByOverlap()
492 void EquationDetect::InsertPartAfterAbsorb(ColPartition *part) { in InsertPartAfterAbsorb()
518 void EquationDetect::IdentifySeedParts() { in IdentifySeedParts()
586 float EquationDetect::ComputeForegroundDensity(const TBOX &tbox) { in ComputeForegroundDensity()
599 bool EquationDetect::CheckSeedFgDensity(const float density_th, ColPartition *part) { in CheckSeedFgDensity()
620 void EquationDetect::SplitCPHor(ColPartition *part, std::vector<ColPartition *> *parts_splitted) { in SplitCPHor()
670 void EquationDetect::SplitCPHorLite(ColPartition *part, std::vector<TBOX> *splitted_boxes) { in SplitCPHorLite()
708 bool EquationDetect::CheckForSeed2(const std::vector<int> &indented_texts_left, in CheckForSeed2()
727 int EquationDetect::CountAlignment(const std::vector<int> &sorted_vec, const int val) const { in CountAlignment()
753 void EquationDetect::IdentifyInlineParts() { in IdentifyInlineParts()
761 void EquationDetect::ComputeCPsSuperBBox() { in ComputeCPsSuperBBox()
772 void EquationDetect::IdentifyInlinePartsHorizontal() { in IdentifyInlinePartsHorizontal()
829 int EquationDetect::EstimateTextPartLineSpacing() { in EstimateTextPartLineSpacing()
869 void EquationDetect::IdentifyInlinePartsVertical(const bool top_to_bottom, in IdentifyInlinePartsVertical()
897 bool EquationDetect::IsInline(const bool search_bottom, const int textparts_linespacing, in IsInline()
942 bool EquationDetect::CheckSeedBlobsCount(ColPartition *part) { in CheckSeedBlobsCount()
959 bool EquationDetect::CheckSeedDensity(const float math_density_high, const float math_density_low, in CheckSeedDensity()
976 EquationDetect::IndentType EquationDetect::IsIndented(ColPartition *part) { in IsIndented()
1038 bool EquationDetect::ExpandSeed(ColPartition *seed) { in ExpandSeed()
1080 void EquationDetect::ExpandSeedHorizontal(const bool search_left, ColPartition *seed, in ExpandSeedHorizontal()
1132 void EquationDetect::ExpandSeedVertical(const bool search_bottom, ColPartition *seed, in ExpandSeedVertical()
1213 bool EquationDetect::IsNearSmallNeighbor(const TBOX &seed_box, const TBOX &part_box) const { in IsNearSmallNeighbor()
1231 bool EquationDetect::CheckSeedNeighborDensity(const ColPartition *part) const { in CheckSeedNeighborDensity()
1248 void EquationDetect::ProcessMathBlockSatelliteParts() { in ProcessMathBlockSatelliteParts()
1295 bool EquationDetect::IsMathBlockSatellite(ColPartition *part, in IsMathBlockSatellite()
1349 ColPartition *EquationDetect::SearchNNVertical(const bool search_bottom, const ColPartition *part) { in SearchNNVertical()
1383 bool EquationDetect::IsNearMathNeighbor(const int y_gap, const ColPartition *neighbor) const { in IsNearMathNeighbor()
1391 void EquationDetect::GetOutputTiffName(const char *name, std::string &image_name) const { in GetOutputTiffName()
1398 void EquationDetect::PaintSpecialTexts(const std::string &outfile) const { in PaintSpecialTexts()
1415 void EquationDetect::PaintColParts(const std::string &outfile) const { in PaintColParts()
1437 void EquationDetect::PrintSpecialBlobsDensity(const ColPartition *part) const { in PrintSpecialBlobsDensity()