extracting values from an image with color legend
Show older comments
howdy folks,
I want to extract numerical values from this figure. each circle is a fuel rod, that has a "power peaking factor" I would like to obtain a numerical value for that.

Accepted Answer
More Answers (2)
Adam Danz
on 20 May 2024
0 votes
One way to see the color value is to add the color data to the data tip. When you click on or hover over one of the points, you can see the color data in addition to the other data tip information.
Here are three demos where that is implemented.
1 Comment
Adam Danz
on 21 May 2024
Based on the other answers, I think I may have misinterpretted the question. My answer offers a solution for MATLAB figures. The other answers, which seem more relevant, offer solution for working with flat images.
Image Analyst
on 21 May 2024
Edited: Image Analyst
on 21 May 2024
0 votes
See my thermal image demo in my File Exchange. I do essentially this but for a thermal image with a colorbar.
It's a generic, general purpose demo that lets you locate the color bar interactively, then converts the RGB image into an image where the pixel value is the actual underlying pixel value corresponding to the colors.
Categories
Find more on Color and Styling 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!