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
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.
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.