Merge pull request #1631 from stefanv/rename_denoise_nl_means

Rename denoise nl means
This commit is contained in:
Emmanuelle Gouillart
2015-08-29 17:33:05 +02:00
7 changed files with 83 additions and 38 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ import numpy as np
import matplotlib.pyplot as plt
from skimage import data, img_as_float
from skimage.restoration import nl_means_denoising
from skimage.restoration import denoise_nl_means
astro = img_as_float(data.astronaut())
@@ -24,7 +24,7 @@ astro = astro[30:180, 150:300]
noisy = astro + 0.3 * np.random.random(astro.shape)
noisy = np.clip(noisy, 0, 1)
denoise = nl_means_denoising(noisy, 7, 9, 0.08)
denoise = denoise_nl_means(noisy, 7, 9, 0.08)
fig, ax = plt.subplots(ncols=2, figsize=(8, 4))