From caa2d220b60eeeb2e9462bd389c297a05922a415 Mon Sep 17 00:00:00 2001 From: Egor Panfilov Date: Tue, 8 Mar 2016 01:35:48 +0300 Subject: [PATCH] Changed docsting sections order --- skimage/restoration/inpaint.py | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/skimage/restoration/inpaint.py b/skimage/restoration/inpaint.py index 5ecd28c7..cd5b9335 100644 --- a/skimage/restoration/inpaint.py +++ b/skimage/restoration/inpaint.py @@ -92,6 +92,12 @@ def inpaint_biharmonic(img, mask, multichannel=False): out : (M[, N[, ..., P]][, C]) ndarray Input image with masked pixels inpainted. + References + ---------- + .. [1] N.S.Hoang, S.B.Damelin, "On surface completion and image inpainting + by biharmonic functions: numerical aspects", + http://www.ima.umn.edu/~damelin/biharmonic + Examples -------- >>> img = np.tile(np.square(np.linspace(0, 1, 5)), (5, 1)) @@ -100,13 +106,6 @@ def inpaint_biharmonic(img, mask, multichannel=False): >>> mask[1, 3:] = 1 >>> mask[0, 4:] = 1 >>> out = inpaint_biharmonic(img, mask) - - References - ---------- - Algorithm is based on: - .. [1] N.S.Hoang, S.B.Damelin, "On surface completion and image inpainting - by biharmonic functions: numerical aspects", - http://www.ima.umn.edu/~damelin/biharmonic """ if img.ndim < 1: