Skip to content

Commit

Permalink
final
Browse files Browse the repository at this point in the history
  • Loading branch information
Vlad Karpushin committed Aug 17, 2018
1 parent 6edd53e commit e24e2d5
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,11 @@ Removes periodic noise, background and interferences in the Fourier domain. Usef


Result
------
------
Below you can see the real world image with periodic noise
![Original image with periodic noise](images/input.jpg)


Below you can see the restoration result.
![Filterred image](images/output.jpg)

2 changes: 2 additions & 0 deletions src matlab/main6_papa_12.m
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

strFolder = 'D:\home\programming\vc\new\6_My home projects\13_Periodic_noise_removing_filter\';
strFileName = strcat(strFolder,'input\papa_1.bmp');
%strFileName = strcat(strFolder,'input\output_2.bmp');
%strFileName = strcat(strFolder,'input\1.bmp');

imgA = imread(strFileName);
Expand Down Expand Up @@ -35,6 +36,7 @@
% user input:
%4-element vector of the form [xmin ymin width height]. The initial size of the rectangle is width-by-height pixels. The upper-left corner of the rectangle is at the (x,y) coordinate (xmin,ymin).
pos = getPosition(imrect());
%pos = getPosition(imrect());

[h w] = size(imgC);
imgD = ones([h w]);
Expand Down
Binary file added www/images/input.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added www/images/output.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e24e2d5

Please sign in to comment.