What is the best approach to enhance blacked out areas to make the text inside them readable. ??
2 ビュー (過去 30 日間)
古いコメントを表示
I am trying to enhance old hand drawn maps which were digitized by scanning and this process has caused some blacked out areas in the image making the text inside them very hard to read.
Here's a sample image :
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/148177/image.png)
I tried Adapthist and couple of other histogram based approach but nothing gives me desired result. I could probably lighten the darker shades of grey and make it look a bit better using adapthist but it doesn't really help with the text.
Can i enhance this and get an end result which has only black and white where the lines,text(basically all the information) turns into black(0) and the shades of grey and whiter regions turn into white (255 or 1), Is this even possible ?? If not how close can i even get to it or what is the best solution to get as close as possible to the desired result. Any help is appreciated, Thank you very much !!
I tried hard coding the pixel intensities to the desired level and got to a result like this :
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/148180/image.png)
It doesn't look that great but i would be happy enough if i could get rid of all those shades that look like noise and get a crisper text and lines. Thank You!
2 件のコメント
Steven Lord
2015 年 8 月 18 日
It sounds like you're asking more of an algorithm or technique question, not one directly related to MATLAB. On those types of image analysis and image processing algorithms, MATLAB Answers isn't the best place to ask. There's a tag in Stack Overflow dedicated to image processing questions; perhaps ask there with that tag for an algorithm. Then once you have your algorithm, if you have difficulty implementing that algorithm in MATLAB return here for help with that implementation.
Alternately, I remember seeing ImageAnalyst post a link to this bibliography frequently in the newsgroup; perhaps some of the papers or techniques it cites can be of use for your application.
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Image Filtering and Enhancement についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!