Question about imgaussfilt3

조회 수: 4 (최근 30일)
Gina Carts
Gina Carts 2019년 8월 13일
답변: Rik 2019년 8월 13일
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?

답변 (1개)

Rik
Rik 2019년 8월 13일
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