1D gaussian filter for A-scans (OCT)

9 次查看(过去 30 天)
Iliana
Iliana 2024-7-18,23:18
评论: Iliana about 2 hours 前
Hello all,
I would like to implement a gaussian filter on my A-scan (1D) from an OCT image (B-scan, 2D). The A-scan essentially represents how the intensity values fluctuate versus the depth.
I would appreciate your help.
Thank you :)

回答(1 个)

Matt J
Matt J 2024-7-19,1:16
编辑:Matt J 2024-7-19,1:22
See imgaussfilt, e.g.,
A=zeros(1,11); A((end+1)/2)=1
A = 1x11
0 0 0 0 0 1 0 0 0 0 0
<mw-icon class=""></mw-icon>
<mw-icon class=""></mw-icon>
B=imgaussfilt(A,1.2)
B = 1x11
0 0 0.0146 0.0831 0.2356 0.3333 0.2356 0.0831 0.0146 0 0
<mw-icon class=""></mw-icon>
<mw-icon class=""></mw-icon>

Community Treasure Hunt

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

Start Hunting!

Translated by