Question about imgaussfilt3

4 vues (au cours des 30 derniers jours)
Gina Carts
Gina Carts le 13 Août 2019
Réponse apportée : Rik le 13 Août 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?

Réponses (1)

Rik
Rik le 13 Août 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!

Translated by