The algorithm works as follows:
Focus variation requires an optics with very little depth of field. This can be realized if a microscopy like optics and a microscope objective is used. These objectives have a high numerical aperture which gives a small depth of field.
The use of this method is for optical surface metrology and coordinate-measuring machine. This means measuring form, waviness and roughness on samples.2 With optimized hardware and software components a lateral resolution of 500 nm (limitation of wavelength of light) and a vertical resolution of several nm can be reached.
Advantages:
Disadvantages:
The ISO committee is working on a new series of ISO standards, called the ISO 25178 series. The 6-part document describes the available methods for roughness measurement. Focus variation is one of the described methods.
Alicona. "Focus Variation – a Robust Technology for High Resolution Optical 3D Surface Metrology" (PDF). Retrieved 28 September 2017. http://www.sv-jme.eu/data/upload/2011/03/08_2010_175_Danzl_03.pdf ↩
Bermudez, Carlos. "Active illumination focus variation". Retrieved 22 October 2020. https://www.spiedigitallibrary.org/conference-proceedings-of-spie/11056/2525981/Active-illumination-focus-variation/10.1117/12.2525981.short?SSO=1 ↩