Answer the question
In order to leave comments, you need to log in
How to determine the boundaries of a letter in a bitmap?
Hello! There is a letter written in a two-dimensional bool array (c ++), let's say 30 by 40. How to select only the boundaries of the letter in this bitmap, so that later you can walk along this line with the recording of the rotation angles for subsequent symbol recognition (chain code algorithm).
I tried to simply add neighbors to each filled bit (right, bottom, left, top), so it turned out something like that, but it still doesn’t work correctly at intersections. Maybe someone worked with this, I will be glad to help.
Answer the question
In order to leave comments, you need to log in
Maybe you should look towards OpenCV? Everything you need is already there.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question