mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-13 12:53:45 +08:00
Improve comments
This commit is contained in:
@@ -599,6 +599,18 @@ class PiecewiseAffineTransform(ProjectiveTransform):
|
||||
self.triAffines = []
|
||||
|
||||
def estimate(self, src, dst):
|
||||
"""Set the control points with which to perform the piecewise affine mapping.
|
||||
|
||||
Number of source and destination coordinates must match.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
src : (N, 2) array
|
||||
Source coordinates.
|
||||
dst : (N, 2) array
|
||||
Destination coordinates.
|
||||
|
||||
"""
|
||||
|
||||
#Triangulate input positions into mesh
|
||||
self.tess = spatial.Delaunay(src)
|
||||
|
||||
Reference in New Issue
Block a user