Is it possible to extract data from an external plot?

3 ビュー (過去 30 日間)
Abner Ojeda
Abner Ojeda 2021 年 3 月 3 日
回答済み: Ananya Tewari 2021 年 3 月 25 日
Hi!
My question is simple, I have a motor performance curve (I'll add the fig for reference), which was obtained from the motor datasheet, I don't have more data or information, just the image. Is it possible to extract the data from this curve and create a matrix or some kind of variable with MATALB?
Thanks to all for your help!

回答 (1 件)

Ananya Tewari
Ananya Tewari 2021 年 3 月 25 日
The curve provided above contains specific colors, using image analysis to create a plot can help getting the desired answer. Following is one of the possible ways of doing it:
  • Read the image to MATLAB workspace using imread()
  • Extract the individual channels of the image using imsplit()
  • Using Image Viewer from Toolstrip under Apps, find the shift in the coordinate system and transform the coordinates of the channels accordingly.
Refer to this answer for more informaion on extracting coordinates from an image.

カテゴリ

Help Center および File ExchangeImage Filtering and Enhancement についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by