From eedc72def64ee9c94a35333e5e8aa6038cf5b816 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Sch=C3=B6nberger?= Date: Thu, 13 Mar 2014 20:00:45 -0400 Subject: [PATCH] Fix restoration example imports --- doc/examples/plot_denoise.py | 2 +- doc/examples/plot_phase_unwrap.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/examples/plot_denoise.py b/doc/examples/plot_denoise.py index 200036ae..3a05c99f 100644 --- a/doc/examples/plot_denoise.py +++ b/doc/examples/plot_denoise.py @@ -29,7 +29,7 @@ import numpy as np import matplotlib.pyplot as plt from skimage import data, img_as_float -from skimage.filter import denoise_tv_chambolle, denoise_bilateral +from skimage.restoration import denoise_tv_chambolle, denoise_bilateral lena = img_as_float(data.lena()) diff --git a/doc/examples/plot_phase_unwrap.py b/doc/examples/plot_phase_unwrap.py index 39055995..22e3bc89 100644 --- a/doc/examples/plot_phase_unwrap.py +++ b/doc/examples/plot_phase_unwrap.py @@ -14,7 +14,7 @@ skimage. Here we will demonstrate phase unwrapping in the two dimensional case. import numpy as np from matplotlib import pyplot as plt from skimage import data, img_as_float, color, exposure -from skimage.exposure import unwrap_phase +from skimage.restoration import unwrap_phase # Load an image as a floating-point grayscale