Generate data from a image plot with colour code as reference.
Show older comments
Hello, I am a naive user of Matlab, Please find the image attached. The image represents a Cp profile over a body. I would like to generate the data from this image. The grey line is my area of interest. My desire output is to generate Cp value (taken from the colour bar)at very point of that line with reference to y-axis.

3 Comments
jonas
on 25 Oct 2018
It's possible. If the line is specified as user input, then extracting the color along the line is quite simple, althogh you will get some annoying artifacts due to the gray lines. Matching the colors to the colorbar should be fairly straight-forward.
With that said, it will require some work and it may be worth trying to get the source data instead. If the image is from a paper, I'd try contacting the author.
Kushal Kumar
on 25 Oct 2018
Edited: Kushal Kumar
on 25 Oct 2018
jonas
on 25 Oct 2018
Okay, I'll just make an answer explaining how I'd approach this.
Accepted Answer
More Answers (0)
Categories
Find more on Blue in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!