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: intRadius of the ball.
ndim: intNumber of dimensions of the ball.
ndimshould match the dimensionality of the image the kernel will be applied to.
Returns
kernel: ndarrayThe kernel containing the surface intensity of the top half of the ellipsoid.
See also
Aliases
-
skimage.restoration.ball_kernel