Extracting the screen of a calculator from an image

1 view (last 30 days)
Hi,
I have the following images:
Now I am trying to do a program to extract the calculator screen only from the whole image. The above two are just sample images. I thought of using bwboundaries() function but can't implement it. Can anybody help with a generalized algorithm???
  2 Comments
Image Analyst
Image Analyst on 3 May 2013
Edited: Image Analyst on 3 May 2013
For bwboundaries() you need a binary image, so first you'd have to have already segmented out the display. I thought you solved this a month ago when you were posting on it. No? Are you starting all over, from scratch?
Soumyadip
Soumyadip on 3 May 2013
Actually I had exams, so could not devote much time to this. Yeah, I converted the image to binary but how to segment the display? That's the whole objective of this question. The B matrix in B = bwboundaries(BW) returns the row and column coordinates of all the boundary pixels. How to understand which one means the screen boundaries? It would also help if you suggest any other method to extract the screen..
Thanks in advance

Sign in to comment.

Answers (0)

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!