Conceptually, a one-dimensional DCT can be thought of as taking the Fourier transform and retaining only the real (cosine) part. The two-dimensional DCT can be obtained by performing a one-dimensional DCT on the columns and then, a one-dimensional DCT on the rows. The transformed output from the two-dimensional DCT is ordered so that the mean value (the DC coefficient) is in the upper left corner of the 8 x 8 coefficient block, and the higher frequency coefficients progress by distance from the DC coefficient. Higher vertical frequencies are represented by higher row numbers, and higher horizontal frequencies are represented by higher column numbers.