bundles / skimage 0.26.1rc0.dev0+git20260530.b607368ff / skimage / measure / fit / LineModelND / predict
function
skimage.measure.fit:LineModelND.predict
source: /dev/scikit-image/src/skimage/measure/fit.py :330
Signature
def predict ( self , x , axis = 0 , params = <DEPRECATED> ) Summary
Predict intersection of line model with orthogonal hyperplane.
Parameters
x: ndarray of shape (n, 1)Coordinates along an axis.
axis: intAxis orthogonal to the hyperplane intersecting the line.
Returns
data: ndarray of shape (n, m)Predicted coordinates.
Raises
: ValueErrorIf the line is parallel to the given axis.
Other Parameters
params: `~.DEPRECATED`, optionalOptional custom parameter set in the form (
origin,direction).
Aliases
-
skimage.measure.LineModelND.predict