Plotting a 2D plot from the image
Mostrar comentarios más antiguos
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 comentarios
Rik
el 8 de Mayo de 2018
Do you have the original data, or the .fig file? Or is this image the only thing you have? If you have the data (or have the fig file), you can easily generate the profile. If all you have is this image, your options are severely limited, especially since jpg does not have lossless compression.
Avinash Srinivasa
el 8 de Mayo de 2018
Editada: Avinash Srinivasa
el 8 de Mayo de 2018
Avinash Srinivasa
el 8 de Mayo de 2018
Respuestas (2)
Image Analyst
el 8 de Mayo de 2018
1 voto
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.
1 comentario
Avinash Srinivasa
el 8 de Mayo de 2018
Avinash Srinivasa
el 8 de Mayo de 2018
Editada: Avinash Srinivasa
el 8 de Mayo de 2018
Categorías
Más información sobre Image Processing Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!