1. A method for detecting and repairing a ring artifact in a multi-spectral magnetic resonance image, comprising: calculating a spatial gradient of a magnetic induction field; kernel searching the spatial gradient; masking the image, based on the kernel search, to identify voxels affected by a ring artifact; and applying a filter to smooth intensities of the voxels identified by the image mask.