Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

Removing connections between an image containing digits

Asked by Soumyadip

Soumyadip (view profile)

on 19 May 2013

Hi,

I have been working on a project to extract the digits from a calculator screen. The full image is

Now I successfully extracted only the screen from the above full image and after some image processing operations, I could generate the following image

However, in the above image of the digits, some of them are overlapping. So it is becoming difficult to individually segregate each digit. Can anyone suggest how to remove the connections between the digits? Will any of the utilities in the function bwmorph() help?

Soumyadip

Soumyadip (view profile)

1 Answer

Answer by Image Analyst

Image Analyst (view profile)

on 19 May 2013

I might have already suggested this in your earlier series of questions, but did you try watershed segmentation, like in Steve's demo:

http://blogs.mathworks.com/steve/2006/06/02/cell-segmentation/

1 Comment

Soumyadip

Soumyadip (view profile)

on 19 May 2013

Ok, I am trying to implement watershed segmentation in my code. Meanwhile, I was thinking of applying the 'thin' utility in the bwmorph function. There is a 'bridge' utility in bwmorph to form bridges between pixels, but I need just the opposite. Can you suggest anything regarding that?

Image Analyst

Image Analyst (view profile)

Contact us