An apparatus for intraoral imaging has an illumination source that directs light to an object. An imaging apparatus forms an image at an image sensor array from reflected light from the object, the imaging apparatus having an optical stop along an optical axis. A phase modulator is disposed at or near the optical stop. An image processor conditions data from the image sensor array and provides processed image data of the object.