Character Segmentation from the Image [1 line]

Today, I will talk about how to segment character from the image by using MATLAB. At this time, I will show about the concept and the result first, next time I will show the code to implement this. In this entry, I will create automate segmentation step by step. 1. Read the grayscale image.

                               

 

2. Clean the image by using median filter: http://en.wikipedia.org/wiki/Median_filter There are a lot of method to reduce noise from the image but in this picture I found that median filter is the best way to reduce the noise from the image.

3. Now, we can extract foreground image from the background.

 

4. We will see that there are noise stay in the image so, we have to clean the image again by using median filter.

 

5. Find the projection in the vertical and horizontal to see the space between each character which we have to use this to separate each character.

 

Horizontal Histogram

 

Vertical Histogram

6. We have to match the boundary of each character by concave down and concave up of the histogram. [In horizontal, we have only 1 pair because we have only 1 line of characters.]

7. Finally, we cut the selected zone from the image to display a character.

 

8. Do these for all characters.

 

So, we will know the basic steps to segment the characters and the next time I will show and explain about the code to implement it. Hope this will guide you an idea.

 

 

Categories:   Image Processing
Actions:   E-mail | del.icio.us | Permalink | Comments (4) | RSS


Comments

January 21. 2010 16:26

TSAdvanced

great article indeed, but i have a little concern of posting someone's license plate on the Internet. (I know this is educational.)

TSAdvanced

January 21. 2010 16:27

TSAdvanced

Another way of doing the Segmentation ive used is using MATLAB's 'regionprops()' cmd.

TSAdvanced

January 21. 2010 18:40

darkkung

Thank you very much for your comments TSAdvanced. Wow, Segmentation in MATLAB is very fantastic[from command you given].At first, I hesitate to post this topic but my purpose is want to show the simple concept to segment the image that you may apply to other languages. Actually, write in MATLAB is very simple one 555. So, the code I may change to other languages instead.

darkkung

January 28. 2010 09:46

winladen

So good! i just read this today. Love'it! i'm waiting for the next article coming. The implementation'd be great for all of us to learn. I wonder that what will be the next thing after getting those character images, for example, mapping to the characters like text-recognition or something? I'd love to know its applications too. Thanks!

winladen

Add comment




biuquote
  • Comment
  • Preview
Loading



 

Tag Cloud