Generate data from a image plot with colour code as reference.
이전 댓글 표시
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
jonas
2018년 10월 25일
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
2018년 10월 25일
편집: Kushal Kumar
2018년 10월 25일
jonas
2018년 10월 25일
Okay, I'll just make an answer explaining how I'd approach this.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Blue에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!