bundles / skimage 0.26.1rc0.dev0+git20260530.b607368ff / skimage / transform / _geometric / PiecewiseAffineTransform / from_estimate
classmethod
skimage.transform._geometric:PiecewiseAffineTransform.from_estimate
source: /dev/scikit-image/src/skimage/transform/_geometric.py :1640
Summary
Estimate the transformation from a set of corresponding points.
Extended Summary
Number of source and destination coordinates must match.
Parameters
src: (N, D) array_likeSource coordinates.
dst: (N, D) array_likeDestination coordinates.
Returns
tf: Self or :class:`~.FailedEstimation`An instance of the transformation if the estimation succeeded. Otherwise, we return a special
FailedEstimationobject to signal a failed estimation. Testing the truth value of the failed estimation object will returnFalse. E.g.tf = PiecewiseAffineTransform.from_estimate(...) if not tf: raise RuntimeError(f"Failed estimation: {tf}")
Aliases
-
skimage.transform.PiecewiseAffineTransform.from_estimate