From 1b1cbe246ec183b5328a5c41e3e5281c811741a4 Mon Sep 17 00:00:00 2001 From: Marianne Corvellec Date: Sat, 5 Oct 2013 16:28:27 -0400 Subject: [PATCH] Tiny formatting edits --- skimage/filter/ctmf.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/skimage/filter/ctmf.py b/skimage/filter/ctmf.py index d7f0e979..1763e536 100644 --- a/skimage/filter/ctmf.py +++ b/skimage/filter/ctmf.py @@ -23,7 +23,7 @@ def median_filter(image, radius=2, mask=None, percent=50): Parameters ---------- - image : (M,N) ndarray + image : (M, N) ndarray Input image. radius : int Radius (in pixels) of a circle inscribed into the filtering @@ -38,7 +38,7 @@ def median_filter(image, radius=2, mask=None, percent=50): Returns ------- - out : (M,N) ndarray + out : (M, N) ndarray Filtered array. In areas where the median filter does not overlap the mask, the filtered result is undefined, but in practice, it will be the lowest value in the valid area. @@ -103,3 +103,4 @@ def median_filter(image, radius=2, mask=None, percent=50): else: result = output return result +