Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • This is nearly working. But the writing is not smooth as I increase ThreshConstant which I had to do to remove unwanted pixels. Also there are breaks in the writing. Thanks for getting me started. Commented Nov 13, 2013 at 19:19
  • You ask to get two distinct color, im2bw is the easiest way to achieve it. Maybe, you'll need pre-processing on your image to smooth thing and maybe get an uniform illumination on your image. If you look to top-left, the image is more shinny then the bottom-right. That can change the threshold a bit. Commented Nov 13, 2013 at 19:28