Visvalingam–Whyatt algorithm
The Visvalingam–Whyatt algorithm, or simply the Visvalingam algorithm, is an algorithm that decimates a curve composed of line segments to a similar curve with fewer points, primarily for usage in cartographic generalisation.[src]
The Visvalingam–Whyatt algorithm, or simply the Visvalingam algorithm, is an algorithm that decimates a curve composed of line segments to a similar curve with fewer points, primarily for usage in cartographic generalisation.[src] Given a chain of 2d points \left\{ p_i \right\} = \left\{ \begin{bmatrix} x_i \\ y_i \end{bmatrix} \right\} , the importance of each interior point is computed by finding the area of the triangle formed by it and its immediate neighbors.[src] This can be done quickly using a matrix determinant.[src] Alternatively, the equivalent formula below can be used A_i = \frac{1}{2} \left| x_{i-1} y_{i} + x_i y_{i+1} + x_{i+1} y_{i-1} - x_{i-1} y_{i+1} - x_i y_{i-1} - x_{i+1} y_i \right| The minimum importance point p_i is located and marked for removal (note that A_{i-1} and A_{i+1} will need to be recomputed).[src] This process is repeated until either the desired number of points is reached, or the contribution of the least important point is large enough to not neglect.[src]
6 sentences · 6 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Visvalingam–Whyatt algorithm." encyclopegia.org, 2024, https://encyclopegia.org/wiki/visvalingam-whyatt-algorithm. Accessed 30 November 2026.
Chicago
"Visvalingam–Whyatt algorithm." encyclopegia.org. Accessed November 30, 2026. https://encyclopegia.org/wiki/visvalingam-whyatt-algorithm.
APA
encyclopegia.org. (2024). Visvalingam–Whyatt algorithm. Retrieved November 30, 2026, from https://encyclopegia.org/wiki/visvalingam-whyatt-algorithm
Accessed November 30, 2026 · CC BY-SA 4.0 · citation page · JSON