EDIT: I've managed to solve the problem by using "Get Coordinates" on a couple of points and then figuring out the affine mapping by using the values they're supposed to be at, and applying that mapping (both x and y components) to the peaks in order to find the wavelengths and peak intensities.
I've got an image here that I'd like to process:
Unfortunately, I don't have the corresponding data set with me (mostly my fault), so what I'd like to know is if there's some way to extract the peaks (primarily the top 4) automatically (i.e. no clicking "Get Coordinates" and figuring out how to map them to an actual plot)? I've tried ImageData
, but I'm not exactly sure what to do with it since I'm not familiar with image manipulation (Mathematica or otherwise), and most of the documentation deals with manipulating image properties, not extracting points. I'm getting kind of desperate and any help or hints would be greatly appreciated!
Note: I've already seen (3831), but I don't see how I could use it since my picture has lines and not points...