Determining which are the text and graphic regions in an image

穿精又带淫゛_ 提交于 2019-12-21 02:52:13

问题


I dont know whether should I post this question here or not? But if someone knows it, please answer?

What are the algorithms for determining which region in an image is text and which one is graphic? Means how to separate such regions? (figure or diagram)


回答1:


Most OCR software, e.g., Ocropus, support layout analysis, which is what you need.

Mao, Rosenfeld & Kanungo (2003) Document structure analysis algorithms: a literature survey provides a fairly recent survey of layout analysis algorithms.




回答2:


first step would probably be to isolate the sharper contrast between text and image. This can be done by taking the derivative of the image. This will show the change in color and the high values would most likely then be compared to textual shapes



来源:https://stackoverflow.com/questions/2903176/determining-which-are-the-text-and-graphic-regions-in-an-image

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!