MCPcopy Create free account
hub / github.com/creatale/node-dv / ComputeEdgeOffsets

Method ComputeEdgeOffsets

deps/tesseract/ccstruct/stepblob.cpp:409–411  ·  view source on GitHub ↗

Adds sub-pixel resolution EdgeOffsets for the outlines using greyscale if the supplied pix is 8-bit or the binary edges if NULL.

Source from the content-addressed store, hash-verified

407// Adds sub-pixel resolution EdgeOffsets for the outlines using greyscale
408// if the supplied pix is 8-bit or the binary edges if NULL.
409void C_BLOB::ComputeEdgeOffsets(int threshold, Pix* pix) {
410 ComputeEdgeOffsetsOutlineList(threshold, pix, &outlines);
411}
412
413// Estimates and returns the baseline position based on the shape of the
414// outlines.

Callers 1

Calls 1

Tested by

no test coverage detected