I am looking a way to segment an image that has curved text lines. I need to segment the image in a way that I can access and manipulate each of the lines individually. I don't want to deskew the lines yet, but have already performed gaussian smoothing on the whole image to remove the noise. I am pretty new to image processing and any help would be appreciated. Here is the input file image that I am using:
Asked
Active
Viewed 40 times
1
-
Is it my understanding that you want to segment out the text from the background? I'm not sure I understand your problem statement. – rayryeng Nov 13 '15 at 01:21
-
Yes. That is what I want to do.. But handle each line individually.. The attached image is input one and gaussian smoothing is performed on it. I tried using bounding box on it but the results that I get are not what I expected.. Instead it was bounding each and every word in the text taking each of them as different connected component.. – learner Nov 13 '15 at 06:06
-
Have a look at this post for insight: http://stackoverflow.com/questions/29550785/algorithm-to-group-sets-of-points-together-that-follow-a-direction - It's a different problem, but it's definitely a start in the right direction with where you'll want to head. Basically, take each character and represent them by their centre location, then use the algorithm that's written in that post to group things together that follow a warped line. Good luck! – rayryeng Nov 13 '15 at 06:09
-
thank you so much.. I would try that.. – learner Nov 13 '15 at 22:42