1. A method of reconstructing an image of a sample through use of multiple measured spectra obtained by measuring respective regions of the sample, the method comprising acquiring an image through utilization of an intensity distribution in the regions of at least one peak in each of the measured spectra and a classifier, wherein the acquiring of the image through the utilization of the intensity distribution in the regions of the at least one peak and the classifier comprises acquiring the image through utilization of the classifier hierarchically for distribution information on each peak.