bundles / skimage latest / skimage / transform / _geometric / FundamentalMatrixTransform / residuals
function
skimage.transform._geometric:FundamentalMatrixTransform.residuals
source: /dev/scikit-image/src/skimage/transform/_geometric.py:670
Signature
def residuals(self, src, dst)Summary
Compute the Sampson distance.
Extended Summary
The Sampson distance is the first approximation to the geometric error.
Parameters
src: ndarray of shape (N, 2)Source coordinates.
dst: ndarray of shape (N, 2)Destination coordinates.
Returns
residuals: ndarray of shape (N,)Sampson distance.
Aliases
skimage.transform.FundamentalMatrixTransform.residuals