Skip to content

Python implementation of Peter Kovesi's Phase Preserving Denoising of Images

License

Notifications You must be signed in to change notification settings

lafith/ppdenoise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Phase-Preserving-Image-Denoising

Python implementation of Peter Kovesi's Phase Preserving Denoising of Images[1]. This script is completely based on Peter Kovesi's Matlab script, refer original author's website for more information.

Demo:

from ppdenoise import ppdenoise
from skimage import io, img_as_float
import matplotlib.pyplot as plt

img = img_as_float(io.imread("sample.jpg", as_gray=True))
img_denoised = ppdenoise(img)

plt.figure()
plt.subplot(121)
plt.title("original image")
plt.imshow(img, cmap="gray")
plt.subplot(122)
plt.title("Denoised image")
plt.imshow(img_denoised, cmap="gray")
plt.show()

Result:

Figure_1

Reference

[1] Peter Kovesi, "Phase Preserving Denoising of Images". The Australian Pattern Recognition Society Conference: DICTA'99. December 1999. Perth WA. pp 212-217

Releases

No releases published

Packages

No packages published

Languages