MATLAB Answers

Question about imgaussfilt3

5 views (last 30 days)
Gina Carts
Gina Carts on 13 Aug 2019
Answered: 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.

Answers (1)

Rik
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.

Sign in to answer this question.


Translated by