From 339c33eac3e47480d003e7f9b83672fadaeda5a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Sch=C3=B6nberger?= Date: Wed, 15 Aug 2012 08:50:31 +0200 Subject: [PATCH] add note about size if resulting polygonal curves --- skimage/measure/_polygon.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/skimage/measure/_polygon.py b/skimage/measure/_polygon.py index 01bbdd98..2d938af7 100644 --- a/skimage/measure/_polygon.py +++ b/skimage/measure/_polygon.py @@ -7,6 +7,9 @@ def approximate_polygon(coords, tolerance): It is based on the Douglas-Peucker algorithm. + Note that the approximated polygon is always within the convex hull of the + original polygon. + Parameters ---------- coords : (N, 2) array @@ -106,6 +109,9 @@ SUBDIVISION_DEGREES = { def subdivide_polygon(coords, degree=2): """Subdivision of polygonal curves using B-Splines. + Note that the resulting curve is always within the convex hull of the + original polygon. + Parameters ---------- coords : (N, 2) array