{ } Raw JSON

bundles / skimage 0.26.1rc0.dev0+git20260530.b607368ff / skimage / transform / _geometric / FundamentalMatrixTransform / from_estimate

classmethod

skimage.transform._geometric:FundamentalMatrixTransform.from_estimate

source: /dev/scikit-image/src/skimage/transform/_geometric.py :621

Summary

Estimate fundamental matrix using 8-point algorithm.

Extended Summary

The 8-point algorithm requires at least 8 corresponding point pairs.

Parameters

src : array_like of shape (N, 2)

Source coordinates.

dst : array_like of shape (N, 2)

Destination coordinates.

Returns

tf : Self or :class:`~.FailedEstimation`

An instance of the transformation if the estimation succeeded. Otherwise, we return a special FailedEstimation object to signal a failed estimation. Testing the truth value of the failed estimation object will return False. E.g.

tf = FundamentalMatrixTransform.from_estimate(...)
if not tf:
    raise RuntimeError(f"Failed estimation: {tf}")

Raises

: ValueError

If src has fewer than 8 rows.

Aliases

  • skimage.transform.FundamentalMatrixTransform.from_estimate