A digital scanning apparatus is provided that includes imaging and focusing sensors and a processor to analyze the image data captured by the imaging and focusing sensors and adjust the focus of the scanning apparatus in real time during a scanning operation. The individual pixels of the imaging sensor are all in the same image plane with respect to the optical path of the digital scanning apparatus. The individual pixels of the focusing sensor are each in a different image plane with respect to the optical path, and one pixel of the focusing sensor is on the same image plane as the image sensor. The processor analyzes image data from the imaging sensor and the focusing sensor and determines a distance and direction to adjust the relative position of an objective lens and a stage of the digital scanning apparatus to achieve optimal focus during the scanning operation.
展开▼