Skip to content

Rolling Ball

The Rolling Ball command removes uneven background illumination. A virtual ball or paraboloid rolls beneath the image surface; the computed local background is subtracted from the original image, leaving only the foreground signal.

When to use

Use Rolling Ball as the first preprocessing step when images have uneven or sloped background intensity — common in widefield fluorescence microscopy.

Parameters

ParameterDescription
RadiusRadius of the rolling ball in pixels
Ball typeShape of the virtual probe: Ball (spherical cap) or Paraboloid
Pre-smoothApply a light Gaussian blur before background estimation to reduce sensitivity to noise

Ball type

TypeBehaviour
BallTraditional ImageJ algorithm. Best for images with distinct, round objects.
ParaboloidSmoother at the edges; fewer artefacts on complex gradients. Recommended for most microscopy images.

Background

The algorithm was originally described by Stanley Sternberg (Biomedical Image Processing, IEEE Computer, January 1983) and ported from the ImageJ/NIH Image Pascal implementation.