bundles / skimage 0.26.1rc0.dev0+git20260530.b607368ff / skimage / measure / fit / CircleModel / from_estimate
classmethod
skimage.measure.fit:CircleModel.from_estimate
source: /dev/scikit-image/src/skimage/measure/fit.py :568
Summary
Estimate circle model from data using total least squares.
Parameters
data: ndarray of shape (N, 2)N points with
(x, y)coordinates, respectively.
Returns
model: Self or `~.FailedEstimation`An instance of the circle model 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.model = CircleModel.from_estimate(...) if not model: raise RuntimeError(f"Failed estimation: {model}")
Aliases
-
skimage.measure.CircleModel.from_estimate