{ } Raw JSON

bundles / skimage 0.26.1rc0.dev0+git20260530.b607368ff / skimage / restoration / _rolling_ball / ellipsoid_kernel

function

skimage.restoration._rolling_ball:ellipsoid_kernel

source: /dev/scikit-image/src/skimage/restoration/_rolling_ball.py :181

Signature

def   ellipsoid_kernel ( shape intensity )

Summary

Create an ellipoid kernel for restoration.rolling_ball.

Parameters

shape : array-like

Length of the principal axis of the ellipsoid (excluding the intensity axis). The kernel needs to have the same dimensionality as the image it will be applied to.

intensity : int

Length of the intensity axis of the ellipsoid.

Returns

kernel : ndarray

The kernel containing the surface intensity of the top half of the ellipsoid.

See also

rolling_ball

Aliases

  • skimage.restoration.ellipsoid_kernel