How can I extract number/letter part from this binary image ?

4 次查看(过去 30 天)
I tried erosion/dilation process but I failed :/
  2 个评论
Baptiste Ottino
Baptiste Ottino 2017-8-14
编辑:Baptiste Ottino 2017-8-14
Do you want to extract it as a string? It is a difficult task, and you want to take a look at the Tools in the following toolboxes:
  1. Statistics and Machine Learning Toolbox
  2. Neural Network Toolbox
I doubt someone will post exactly how to do it, because it is a small project in itself. Have fun!
Jahidul Islam Munna
Thanks for your comment.
No, I don't need to extract it as a string, I only need to show the letters/numbers portion of this binary image.
And I don't have any Neural Network or Machine Learning Knowledge. I wanted to do this using only image processing technique. I've applied erosion/dilation process but It didn't work well :/

请先登录,再进行评论。

回答(2 个)

Gareth Thomas
Gareth Thomas 2017-8-14
Have you tried OCR? Optical Character Recognition.
This comes with the Computer Vision System Toolbox.
  1 个评论
Jahidul Islam Munna
Thanks for your valuable comment.
But I don't need to recognize the characters. All I want to remove all objects/components except letter/number portion of this binary image.

请先登录,再进行评论。


mizuki
mizuki 2017-8-15
This example would help - this is part of OCR example, but what it does first (- Step 4) is extracting the area of letters by removing other areas.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by