An imaging apparatus includes a diffraction grating configured to produce an interference pattern by diffracting diverging light from a light source, an absorption grating configured to block part of the interference pattern, a detector configured to detect light transmitted through the absorption grating, and a moving unit configured to move the diffraction grating and the absorption grating. The moving unit causes relative movement of the interference pattern and the absorption grating by moving the diffraction grating and the absorption grating such that the diffraction grating and the absorption grating are not moved relative to each other.