Optical inspection 3D measurements scanning