Smoothing only in one direction

Hi all,

I am trying to smooth a segmented volume with either a Median or Gaussian method. I segmented mostly in slices perpendicular to one axis because of the better resolution. When I smooth with large Kernel sizes or Standard deviations the geometry ends up changing too much, and when I smooth with smaller values I keep seeing the “slice effect” in the 3d volume (see figure below):

So I was wondering if there is any way to smooth with larger Kernel size of Standard deviation only in one direction (perpendicular to the sagittal plane in this case)? Have you ever encountered the same issue? Do you have alternative solutions?

Thanks!

Alessandro

This shows that your input volume had highly anisotropic spacing. You should not attempt to smooth it, but instead use Crop volume module on the input volume (before segmentation) to resample using isotropic spacing option.

1 Like

Thanks Andras, that fixed it!

Alessandro

1 Like