Image.medianFilter

Applies a digital filter that improves the quality of a noisy image. Each pixel is replaced by the median in a set of neighboring pixels as defined by radius.

class Image
void
medianFilter
(
size_t radius = 0
)

Parameters

radius
Type: size_t

The filter radius. Values larger than 8 or 9 may take longer than you want to wait, and will not have significantly better results than much smaller values.

Meta