From 9bb2cdd954b963ecaac05cde8ebffff1b3e76ac2 Mon Sep 17 00:00:00 2001 From: Eugeniy Mikhailov Date: Fri, 14 Sep 2012 19:25:35 -0400 Subject: typo fix in stripeeraser comments --- stripeeraser.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stripeeraser.m b/stripeeraser.m index 2ff6107..b48a5b4 100644 --- a/stripeeraser.m +++ b/stripeeraser.m @@ -5,11 +5,11 @@ for x=1:640 for y=1:480 d=sqrt((x-320)^2+(y-240)^2); if d>radius %Outside the central frequency. - if abs(immask(y,x))>max1*(10^(-filter)); %The filter works like a neutral desity filter. + if abs(immask(y,x))>max1*(10^(-filter)); %The filter works like a neutral density filter. immask(y,x)=immask(y,x)*exp(-(d/radius)^2); %Erase the frequency of the stripes. end; end; end; end; imfourier=immask; -immask=ifft2(ifftshift(immask)); \ No newline at end of file +immask=ifft2(ifftshift(immask)); -- cgit v1.2.3