Does the window size of a median filter matter

What is the difference between using a 3x3 and a 5x5 window size using a median filter.

A larger window would mean that resulting image is blurrier and more smoothed.

I’m not sure if that answers your question. Can you maybe give a code example with the difference?