Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: extracting text from image
Date: Sun, 14 Dec 2008 16:17:01 +0000 (UTC)
Organization: Loughborough University
Lines: 17
Message-ID: <gi3bht$6sh$1@fred.mathworks.com>
References: <c0d80407-4d3b-4213-9c7f-eeee8aca2d47@a29g2000pra.googlegroups.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1229271421 7057 172.30.248.35 (14 Dec 2008 16:17:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sun, 14 Dec 2008 16:17:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1338633
Xref: news.mathworks.com comp.soft-sys.matlab:506900


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.