包括SDOCT图像的生成和降噪处理,提供了分层的算法
部分代码:
(1)图像重构
clear all;
load('C:\Users\18868\Documents\Tencent Files\2357918505\FileRecv\Lab1_SDOCT_LinearSpectrum\SDOCT_Raw_Spectrum_Linear.mat');
Min = 1.9; Max =4.3; Span = Max - Min;
IStr = zeros(pixel/2,line,Frame_NUM); % OCT Intensity signal
a1=SpecC5FrameLinear(:,:,1);
a2=SpecC5FrameLinear(:,:,2);
a3=SpecC5FrameLinear(:,:,3);
a4=SpecC5FrameLinear(:,:,4);
a5=SpecC5FrameLinear(:,:,5);
b=a1+a2+a3+a4+a5;%综合使用五帧图像的信息
f=ifft(b/5);
g=f([1:480],[1:720]);%截取合适区域
imshow(abs(g),'border','tight','initialmagnification','fit');
set (gcf,'Position',[0,0,720,480]); %初步重建的图像
>> whos
Name Size Bytes Class Attributes
Frame_NU