HOW TO GET X, Y CO-ORDINATE VALUE FROM A IMAGE FILE generated by Matlab program?

2 ビュー (過去 30 日間)
M.K.H. CHANDAN
M.K.H. CHANDAN 2015 年 8 月 12 日
回答済み: Walter Roberson 2015 年 8 月 12 日
I have following vectors x = 1 : 10 :100; y = 1 : 20 :200; I have plotted using plot(x,y) command and saved the output file (.fig file) in line.jpg I need a method which will take input as line.jpg and will return me x & y in vector as
x =
1 11 21 31 41 51 61 71 81 91
y =
1 21 41 61 81 101 121 141 161 181
  2 件のコメント
Walter Roberson
Walter Roberson 2015 年 8 月 12 日
Did you save the output as a .fig file or as a .jpg file?
If you are saving as an image file such as .jpg, would it be possible for you to switch to using .tiff or .png files? .jpg files make this task more difficult.
M.K.H. CHANDAN
M.K.H. CHANDAN 2015 年 8 月 12 日
yes, I can save it in .png or .tiff file. That is not a problem for me.

サインインしてコメントする。

回答 (1 件)

Walter Roberson
Walter Roberson 2015 年 8 月 12 日
Note: it is all much easier to do from a .fig file -- the .fig file has the actual data in it.

カテゴリ

Help Center および File ExchangeConvert Image Type についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by