The k-space is an extension of the concept of Fourier space that is well known in imaging. In MR imaging the k-space is a temporary memory of the spatial frequency information in two or three dimensions of an object; the k-space is defined by the space covered by the phase and frequency encoding data.
The relation between K-space data and image data is the Fourier Transformation. The data acquisition matrix contains raw image data before the image processing. In 2dimensional Fourier transformation imaging, a line of data corresponds to the digitized MRI signal at a particular phase encoding level. The position in k-space is directly related to the gradient across the object being imaged. By changing the gradient over time, the k-space data are sampled in a trajectory through Fourier space at each point until it is filled.