Skip to content

Commit

Permalink
www: improved images
Browse files Browse the repository at this point in the history
  • Loading branch information
Vlad Karpushin committed Oct 17, 2018
1 parent b138696 commit 58023ab
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 7 deletions.
24 changes: 17 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,27 @@ In this tutorial you will learn:
Theory
------

Removes periodic noise, background and interferences in the Fourier domain. Useful for latent fingerprints, capture artifacts and electromagnetic interferences in videos
Periodic noise produces spikes in the Fourier domain that can often be detected by visual analysis.

### How to remove periodic noise in the Fourier domain?

Periodic noise can be reduced significantly via frequency domain filtering. On this page we use a notch reject filter with an appropriate radius to completely enclose the noise spikes in the Fourier domain. The notch filter rejects frequencies in predefined neighborhoods around a center frequency. The number of notch filters is arbitrary. The shape of the notch areas can also be arbitrary (e.g. rectangular or circular). On this page we use three circular shape notch reject filters. Power spectrum densify of an image is used for the noise spike’s visual detection.

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

The figure below shows an image heavily corrupted by periodical noise of various frequencies.
![Image corrupted by periodic noise](/www/images/period_input.jpg)

The noise components are easily seen as bright dots (spikes) in the Power spectrum density shown in the figure below.
![Power spectrum density showing periodic noise](/www/images/period_psd.jpg)

The figure below shows a notch reject filter with an appropriate radius to completely enclose the noise spikes. A radius = 21.
![Notch reject filter](/www/images/period_filter.jpg)

The result of processing the image with the notch reject filter is shown below.
![Result of filtering](/www/images/period_output.jpg)

Below you can see the restoration result.
![Filterred image](/www/images/output.jpg)
The improvement is quite evident. This image contains significantly less visible periodic noise than the original image.

You can also find a quick video demonstration
[YouTube](https://youtu.be/Qne51TcWwAc)
You can also find a quick video demonstration of this filtering idea on [YouTube](https://youtu.be/Qne51TcWwAc).
Binary file removed www/images/input.jpg
Binary file not shown.
Binary file removed www/images/output.jpg
Binary file not shown.
Binary file added www/images/period_filter.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/period_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/period_output.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/period_psd.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 58023ab

Please sign in to comment.