From 5b72c5d52c1ce3e4cd8f810a1d4adbb863fc6846 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Sch=C3=B6nberger?= Date: Sun, 16 Sep 2012 20:10:00 +0200 Subject: [PATCH] Fix doc string for multiple return values --- skimage/feature/corner.py | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/skimage/feature/corner.py b/skimage/feature/corner.py index 69511dc7..0363ee55 100644 --- a/skimage/feature/corner.py +++ b/skimage/feature/corner.py @@ -16,8 +16,10 @@ def _compute_derivatives(image): Returns ------- - imx, imy : arrays - Derivatives in x and y direction. + imx : ndarray + Derivative in x-direction. + imy : ndarray + Derivative in y-direction. """ @@ -40,8 +42,12 @@ def _compute_auto_correlation(image, sigma): Returns ------- - Axx, Axy, Ayy : arrays - Elements of the auto-correlation matrix for each pixel in input image. + Axx : ndarray + Element of the auto-correlation matrix for each pixel in input image. + Axy : ndarray + Element of the auto-correlation matrix for each pixel in input image. + Ayy : ndarray + Element of the auto-correlation matrix for each pixel in input image. """ @@ -259,8 +265,10 @@ def corner_foerstner(image, sigma=1): Returns ------- - w, q : ndarray - Foerstner response images. + w : ndarray + Error ellipse sizes. + q : ndarray + Roundness of error ellipse. References ----------