1. A magnetic resonance imaging system comprising: static magnetic field generating means for generating a static magnetic field; transmit means for transmitting a radio frequency electromagnetic field to a measurement object placed in the static magnetic field; receive means for receiving a magnetic resonance signal from the measurement object; and data processing means for generating spectroscopic imaging data of the measurement object by using the magnetic resonance signal received by the receive means, wherein the data processing means comprises edge-preserving filter processing means for spectroscopic imaging, and the edge-preserving filter processing means for spectroscopic imaging executes processing comprising the steps of: calculating spectral similarity in spatial neighborhoods (spatially neighboring voxels) at each voxel in spectroscopic imaging data; calculating a spectral weight according to the similarity; and conducting weighted smoothing for compounding spectra of spatial neighborhoods (spatially neighboring voxels) according to spectral weights.