Adds sub-pixel resolution EdgeOffsets for the outlines using greyscale if the supplied pix is 8-bit or the binary edges if NULL.
| 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. |
| 409 | void 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. |
no test coverage detected