mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-11 03:36:25 +08:00
add note about size if resulting polygonal curves
This commit is contained in:
committed by
Stefan van der Walt
parent
40c58f3333
commit
339c33eac3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user