The present disclosure relates to an intraoral scanning
system configured to determine a three-dimensional surface model and a plurality of focus images. The intraoral scanning
system comprises: a
projector unit configured to emit light onto a dental object, wherein the emitted light comprises an
infrared wavelength and a
structured light, the
structured light comprising a first visible
wavelength; a first
image sensor unit comprising: a first
image sensor configured to acquire first reflected light from the dental object, wherein the first reflected light comprises the
infrared wavelength, and wherein the first
image sensor comprises a
pixel array, a
microlens array arranged in front of the
pixel array and configured to transmit the first reflected light to the
pixel array, wherein one or more microlenses of the
microlens array direct the first reflected light to one or more pixels of the pixel array; a second image sensor unit comprising: a second image sensor configured to acquire second reflected light from the dental object, wherein the second reflected light comprises the
structured light; a processor unit configured to: determine three-dimensional (3D) data of the dental
object based on the second reflected light, determine a three-dimensional (3D) surface model of the dental object by merging the 3D data, and determine a plurality of focus images at different focus depths into the dental object by selecting a set of pixels from the pixel array associated with each
microlens of the microlens array, and wherein the processor unit is configured to align a position of each focus image of the plurality of focus images to a position in the 3D surface model based on the 3D data.