Outlier removal. (a) Residual error curve of one scan line, (b) before the outlier removal and (c) after the outlier removal.