How can in find minimum gradient path with respect to the reference point in a text image?
2 views (last 30 days)
I have a signature image. I managed to find the starting point of the image. Now i want to trace all the points of the signature in a connected manner and find the distance of each point from the refernce point. Firstly i have skeletonize the image and performed the operations using 3*3 window it is take lots of time and the results are also not perfect. please suggest the methods how can i do this in matlab. I thought of applying minimum gradient but not able to figure out how can i apply this. I have attatched the signature image along with the question.
Matt J on 5 Jul 2019
Edited: Matt J on 5 Jul 2019
You can use bwskel or bwmorph('thin',...) to do the skeletonization. If you are already using this, I don't know why it would be slow, but on the other hand, I don't know what you consider fast. Also, bwmorph supports gpuArrays, so if you have the Parallel Computing Toolbox, that could be used to gain extra speed.