{ } Raw JSON

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

function

skimage.restoration._rolling_ball:ball_kernel

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

Signature

def   ball_kernel ( radius ndim )

Summary

Create a ball kernel for restoration.rolling_ball.

Parameters

radius : int

Radius of the ball.

ndim : int

Number of dimensions of the ball. ndim should match the dimensionality of the image the kernel will be applied to.

Returns

kernel : ndarray

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

See also

rolling_ball

Aliases

  • skimage.restoration.ball_kernel