diff --git a/skimage/transform/_geometric.py b/skimage/transform/_geometric.py index cfa12033..e2975def 100644 --- a/skimage/transform/_geometric.py +++ b/skimage/transform/_geometric.py @@ -357,10 +357,12 @@ class PiecewiseAffineTransform(ProjectiveTransform): def __call__(self, coords): """Apply forward transformation. + Coordinates outside of the mesh will be set to `- 1`. + Parameters ---------- coords : (N, 2) array - source coordinates + Source coordinates. Returns ------- @@ -388,6 +390,8 @@ class PiecewiseAffineTransform(ProjectiveTransform): def inverse(self, coords): """Apply inverse transformation. + Coordinates outside of the mesh will be set to `- 1`. + Parameters ---------- coords : (N, 2) array