Equivalence filter span/kernel size

I just want to check the equivalence between the span parameter in the image-processing nodes (e.g. Average Filter) and the kernel size that is used in some other implementations.

Here the span is the number of pixels on each side of the central pixel right ?
So a span (s) of 1 would correspond to a kernel size (k) of 3. (k=1+2.s)

Hi Laurent,

Short answer: Yes! Slightly longer answer: https://javadoc.scijava.org/ImgLib2/net/imglib2/algorithm/region/localneighborhood/AbstractNeighborhood.html#span

Best,
Stefan

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.