Speeding Up the Douglas-Peucker Line-Simplification Algorithm

John E. Hershberger, Jack Scott Snoeyink · 1992

We analyze the line simplification algorithm reported by Douglas and Peucker and show that its worst case is quadratic in n, the number of input points. Then we give a algorithm, based on path hulls, that uses the geometric structure of the problem to attain a worst-case running time proportional to n log 2 n, which is the best case of the Douglas algorithm. We give complete C code and compare the two algorithms theoretically, by operation counts, and practically, by machine timings.

Read the paper · More papers on PaperTik