Restriction on echo intervals is to be reduced in the Dixons method without sacrificing separation performance and image quality. An image is reconstructed from echo signals measured at three or more different echo times. First and second peak frequency distributions in which aliasing (folding) due to echo time intervals is removed are calculated from the obtained images, and the first and second peak frequency distributions are used to obtain an offset frequency distribution. Note that these first peak frequency distribution and second peak frequency distribution are a distribution of peak frequencies obtained on the assumption that all of the pixels are the first substance and a distribution of peak frequencies obtained on the assumption that all of the pixels are the second substance, respectively. The offset frequency distribution and the obtained images are used to separate an image of the first substance from an image of the second substance.