From 93819c74bbe5698b43ac633fe363afeb0b3f06b3 Mon Sep 17 00:00:00 2001 From: Ankit Agrawal Date: Tue, 30 Jul 2013 03:28:58 +0530 Subject: [PATCH] Making the doc more explicit --- skimage/morphology/selem.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/skimage/morphology/selem.py b/skimage/morphology/selem.py index d403a27a..2c41e393 100644 --- a/skimage/morphology/selem.py +++ b/skimage/morphology/selem.py @@ -213,15 +213,16 @@ def ball(radius, dtype=np.uint8): def octagon(m, n, dtype=np.uint8): """ Generates an octagon shaped structuring element with a given size of - horizontal and vertical sides and a given height of slanted sides. - The slanted sides are 45 or 135 degrees to the horizontal axis. + horizontal and vertical sides and a given height or width of slanted + sides. The slanted sides are 45 or 135 degrees to the horizontal axis + and hence the widths and heights are equal. Parameters ---------- m : int The size of the horizontal and vertical sides. n : int - The vertical height of the slanted sides. + The height or width of the slanted sides. Other Parameters ----------------