1D gaussian filter for A-scans (OCT)

15 views (last 30 days)
Iliana
Iliana on 18 Jul 2024
Commented: Matt J on 23 Jul 2024
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
Edited: Matt J on 19 Jul 2024
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>
  2 Comments
Matt J
Matt J on 23 Jul 2024
You're quite welcome, but please Accept-click the answer to inidcate that it resolved your question.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!