MATLAB Answers

0

Question about imgaussfilt3

Asked by Gina Carts on 13 Aug 2019
Latest activity Answered by Rik
on 13 Aug 2019
I used the imgaussfilt3 to smooth my 3D images. When you set sigma=1.0 which is the standard deviation of the Gaussian smoothing kernel.
If you set sigma to 1.0 does that correspond to 1 voxel?

  0 Comments

Sign in to comment.

1 Answer

Rik
Answer by Rik
on 13 Aug 2019

I don't see any indication otherwise in the doc, so you can safely assume that the sigma is in units of voxels. This should be easy to test by setting 1 voxels to a high value, setting the rest to 0 and see what the output looks like.
You can specify a different sigma for each dimension if you want to correct for non-cubic voxels.

  0 Comments

Sign in to comment.