Clear Filters
Clear Filters

1D gaussian filter for A-scans (OCT)

9 views (last 30 days)
Iliana
Iliana on 18 Jul 2024 at 23:18
Commented: Iliana ongeveer 4 uur ago
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 :)

Answers (1)

Matt J
Matt J on 19 Jul 2024 at 1:16
Edited: Matt J on 19 Jul 2024 at 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!