Confocal surface profiling utilizing chromatic aberration