Searched refs:BlobNeighbourDir (Results 1 – 7 of 7) sorted by relevance
/dports/graphics/tesseract/tesseract-5.0.0/src/ccstruct/ |
H A D | blobbox.h | 89 enum BlobNeighbourDir { BND_LEFT, BND_BELOW, BND_RIGHT, BND_ABOVE, BND_COUNT }; enum 102 inline BlobNeighbourDir DirOtherWay(BlobNeighbourDir dir) { in DirOtherWay() 103 return static_cast<BlobNeighbourDir>(dir ^ 2); in DirOtherWay() 385 BLOBNBOX *neighbour(BlobNeighbourDir n) const { in ELISTIZEH() 388 bool good_stroke_neighbour(BlobNeighbourDir n) const { in ELISTIZEH() 391 void set_neighbour(BlobNeighbourDir n, BLOBNBOX *neighbour, bool good) { in ELISTIZEH()
|
H A D | blobbox.cpp | 229 auto bnd = static_cast<BlobNeighbourDir>(dir); in GoodTextBlob() 241 auto bnd = static_cast<BlobNeighbourDir>(dir); in NoisyNeighbours()
|
/dports/graphics/tesseract/tesseract-5.0.0/src/textord/ |
H A D | strokewidth.cpp | 771 BlobNeighbourDir dir = nbox.top() > bbox->top() ? BND_ABOVE : BND_BELOW; in AccumulateOverlaps() 777 BlobNeighbourDir dir = nbox.left() > bbox->left() ? BND_RIGHT : BND_LEFT; in AccumulateOverlaps() 876 auto bnd = static_cast<BlobNeighbourDir>(dir); in SetNeighbours() 893 int StrokeWidth::FindGoodNeighbour(BlobNeighbourDir dir, bool leaders, BLOBNBOX *blob) { in FindGoodNeighbour() 1067 auto bnd = static_cast<BlobNeighbourDir>(dir); in ListNeighbours() 1079 auto bnd = static_cast<BlobNeighbourDir>(dir); in List2ndNeighbours() 1091 auto bnd = static_cast<BlobNeighbourDir>(dir); in List3rdNeighbours() 1399 static BLOBNBOX *MutualUnusedVNeighbour(const BLOBNBOX *blob, BlobNeighbourDir dir) { in MutualUnusedVNeighbour() 1445 static BLOBNBOX *MutualUnusedHNeighbour(const BLOBNBOX *blob, BlobNeighbourDir dir) { in MutualUnusedHNeighbour()
|
H A D | colpartitiongrid.h | 215 BlobRegionType SmoothInOneDirection(BlobNeighbourDir direction,
|
H A D | strokewidth.h | 177 int FindGoodNeighbour(BlobNeighbourDir dir, bool leaders, BLOBNBOX *blob);
|
H A D | imagefind.cpp | 946 static int ExpandImageDir(BlobNeighbourDir dir, const TBOX &im_box, const TBOX &limit_box, in ExpandImageDir() 981 BlobNeighbourDir best_dir = BND_LEFT; in MaximalImageBoundingBox() 984 auto bnd = static_cast<BlobNeighbourDir>(dir); in MaximalImageBoundingBox()
|
H A D | colpartitiongrid.cpp | 1461 auto dir = static_cast<BlobNeighbourDir>(d); in SmoothRegionType() 1512 static void ComputeSearchBoxAndScaling(BlobNeighbourDir direction, in ComputeSearchBoxAndScaling() 1566 BlobNeighbourDir direction, Image nontext_map, const TBOX &im_box, in SmoothInOneDirection()
|