summaryrefslogtreecommitdiff
path: root/stripeeraser.m
diff options
context:
space:
mode:
Diffstat (limited to 'stripeeraser.m')
-rw-r--r--stripeeraser.m4
1 files 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));