Question about imgaussfilt3

4 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?

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.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!