An approach for performing hyperspectral imaging is introduced. The hyperspectral imaging is based on Fourier transform spectroscopy, where the interference is performed by wavefront division interference rather than amplitude division interference. A variable phase delay between two parts of the wavefront emanating from each point of an object is created by a spatial light modulator (SLM) to obtain variable interference patterns. The SLM is placed in the exit pupil of an imaging system, thus enabling conversion of a general imaging optical system into an imaging hyperspectral optical system. The physical basis of the new approach is introduced, and an optical apparatus is built.