how to find peaks in jpeg image
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
hi i am new in matlab, and i want to extract peaks from a spectrum peg image and store the peak in vector
this is a spectrum image jpeg file ,so how i can extract peaks from it
please help me .
0 comentarios
Respuestas (2)
Shoaibur Rahman
el 28 de En. de 2015
You can try with Mablab's findpeaks function, or see the attached code in file exchange:
1 comentario
Image Analyst
el 28 de En. de 2015
Won't work, at least not right away. He said he does not have the data but has an image that is a scan of a printout. First, from that image, he needs to get the 1-D signal data, then he can use findpeaks().
Image Analyst
el 24 de En. de 2015
Try this:
But you'll have to decide how many elements you want the signal divided up into, say 500 or 1000 elements. And once you do that you can't get any wavenumbers because all we know is that the first element is around 2180. We have no idea what the last element in the array would have for a wavenumber because it's not shown on the plot.
4 comentarios
Image Analyst
el 28 de En. de 2015
Editada: Image Analyst
el 28 de En. de 2015
Do we need to assume that the axes can be tilted, or can we assume that they are aligned with the image rows and columns? What about the color of the plotted line? Black, blue, or any possible color, except pure white?
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!