-
David Gobbi authored
If the number of voxels in the neighborhood is even (which can happen if an odd neighborhood is clipped to even near the image boundary), then the median should be the average of the two middle values.
85f46e79
If the number of voxels in the neighborhood is even (which can happen if an odd neighborhood is clipped to even near the image boundary), then the median should be the average of the two middle values.