{ } Raw JSON

bundles / skimage latest / 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 : int

Axis orthogonal to the hyperplane intersecting the line.

Returns

data : ndarray of shape (n, m)

Predicted coordinates.

Raises

: ValueError

If the line is parallel to the given axis.

Other Parameters

params : `~.DEPRECATED`, optional

Optional custom parameter set in the form (origin, direction).

Aliases

  • skimage.measure.LineModelND.predict