Thread Subject: extracting text from image

Subject: extracting text from image

From: Amara

Date: 13 Dec, 2008 11:55:35

Message: 1 of 2

hello
i have a jpg image of a graph. i want to extract coordinate values at
specific points from this image can anybody plz tel me how would i
extract text/values.
these values are written at top of the points.
waiting for a quik response
thanks

Subject: extracting text from image

From: Dave Brackett

Date: 14 Dec, 2008 16:17:01

Message: 2 of 2

Amara <Amara.Jabeen@gmail.com> wrote in message <c0d80407-4d3b-4213-9c7f-eeee8aca2d47@a29g2000pra.googlegroups.com>...
> hello
> i have a jpg image of a graph. i want to extract coordinate values at
> specific points from this image can anybody plz tel me how would i
> extract text/values.
> these values are written at top of the points.
> waiting for a quik response
> thanks

If you only want a few points from the graph you could load the jpg image into a GUI axes and then create a transparent axes over the top of the image. You could then click with the mouse on the transparent axes at the points you wish to 'extract' from the jpg.

To extract text, you may want to use optical character recognition (OCR) - some code for this is on the file exchange, although it seems like it would be slight overkill. Again, it depends on the amount of text.

If you need many data points to be extracted you may want to go down the route of image processing techniques for the whole graph.

Personally I would go for using a transparent axes over the top, but I don't know your intentions very well so it may not be suitable.

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
extract text fr... Sprinceana 8 Sep, 2009 16:53:55
rssFeed for this Thread
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com