1. A computer-implemented method for compensating for motion of a subject during a magnetic resonance imaging (MRI) scan of the subject, comprising: receiving k-space data from the MRI scan of the subject, wherein the k-space data comprises frequency domain data acquired from the MRI scan used to generate a graphical image of the subject, wherein the frequency domain representation includes a plurality of data elements, and wherein the plurality of data elements includes a first set of data elements acquired at a first point in time during the MRI scan and a second set of data elements acquired at a second point in time during the MRI scan; generating a first graphical image from the first set of data elements; generating a second graphical image from the second set of data elements; determining an offset in pixels by which to translate the second graphical image from the first graphical image to compensate for the motion; modifying the k-space data based on the determined offset to compensate for the motion to a sub-pixel offset, relative to the determined offset; and generating a motion-compensated graphical image of the subject from the modified k-space data.