From e30fcfc493adaa21c360905070afb6867c8b3579 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Scho=CC=88nberger?= Date: Mon, 14 May 2012 10:01:15 +0200 Subject: [PATCH] make matrix shape more readable in doc string --- skimage/measure/_regionprops.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/skimage/measure/_regionprops.py b/skimage/measure/_regionprops.py index 9afe3174..dc9d2ff1 100644 --- a/skimage/measure/_regionprops.py +++ b/skimage/measure/_regionprops.py @@ -46,7 +46,7 @@ def regionprops(image, properties='all'): Parameters ---------- - image : NxM ndarray + image : N x M ndarray Labelled input image. properties : {'all', list, tuple} Shape measurements to be determined for each labelled image region. @@ -64,7 +64,7 @@ def regionprops(image, properties='all'): Centroid coordinate tuple `(row, col)`. * ConvexArea : int Number of pixels of convex hull image. - * ConvexImage : HxJ ndarray + * ConvexImage : H x J ndarray Convex hull image which has the same size as bounding box. * Eccentricity : float Eccentricity of the ellipse that has the same second-moments as the @@ -80,12 +80,12 @@ def regionprops(image, properties='all'): Computed as `Area / (rows*cols)` * FilledArea : int Number of pixels of filled region. - * FilledImage : HxJ ndarray + * FilledImage : H x J ndarray Region image with filled holes which has the same size as bounding box. * HuMoments : tuple Hu moments (translation, scale and rotation invariant). - * Image : HxJ ndarray + * Image : H x J ndarray Sliced region image which has the same size as bounding box. * MajorAxisLength : float The length of the major axis of the ellipse that has the same