mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-17 11:32:45 +08:00
Add note about coordinates outside of mesh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user