Plotting a 2D plot from the image
9 views (last 30 days)
Show older comments
Hello there, I need help regarding how to extract the 2d data and plot it from a image. The data file was excel worksheet and was plotted using matlab. Now suppose if I intend to plot a 2 dimensional line plot for example Distance vs intensity along the line shown, how do I do that. Please not that I am not looking for slice, I am just looking for a line plot to check the intensity fluctuation with distance.
Thank you

3 Comments
Answers (2)
Image Analyst
on 8 May 2018
Load your workbook data into a 2-D array. Then you can use improfile() to get the intensity profile along any poly-line you want.
See Also
Categories
Find more on Image Processing Toolbox 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!