Go up to LINE SIMPLIFICATION
DOUGLAS PUECKER HEURISTIC
- Given L=(p1,...,pn) and eps>0, find
a decimated eps-approximation.
- ALGORITHM:
- If (p1,pn) is admissible, done.
- Else, find pi of maximum distance.
- Recursively, solve for (p1,pi) and (pi,pn).
- Simple and widely used.
- Heuristic because no guarantees.
- Implementation:
naively, Theta(n2).
- Hershberger and Snoeyink:
- O(nlogn) if use path hulls.
- O(nlog* n) if use bead hulls.
- Binary Line Generalization (BLG) Trees
- from van Oosterom and van den Bos
- store the Douglas-Puecker construction in a binary tree.
- Each node i stores the distortion epsi.
- Can generate any eps-approximation
by traversal of tree (do not go below node
with distortion less than eps)
Chee Yap