The method for magnetic resonance imaging described in the present disclosure may include generating an inversion recovery image by scanning an object using an inversion recovery sequence. The method may also include generating a real part image corresponding to the inversion recovery image by processing the inversion recovery image. The method may also include obtaining a signal line of a reference image without inversion recovery, the reference image corresponding to the real part image. The method may also include determining a phase-corrected signal line of the reference image by performing a phase correction on the signal line of the reference image. The method may also include determining a polarity of the real part image based on the phase-corrected signal line of the reference image.