Abstract A large field of view of an optical system is needed for many applications, and optical systems with high magnification often suffer from a limited field of view due to the limited size of the camera sensor. This study proposes a novel technique for engineering the field of view of an optical system without compromising the magnification. In the proposed method, an object response pattern is recorded on a camera by introducing a coded phase mask (CPM) in the imaging system.