From da2ddb61233e88bde3826b5b61d39dfc38881f22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Sch=C3=B6nberger?= Date: Mon, 12 May 2014 14:41:09 -0400 Subject: [PATCH] Improve description of subpixel corner localization --- skimage/feature/corner.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/skimage/feature/corner.py b/skimage/feature/corner.py index 96952a09..f18e1407 100644 --- a/skimage/feature/corner.py +++ b/skimage/feature/corner.py @@ -624,6 +624,13 @@ def corner_fast(image, n=12, threshold=0.15): def corner_subpix(image, corners, window_size=11, alpha=0.99): """Determine subpixel position of corners. + A statistical test decides whether the corner is defined as the + intersection of two edges or a single peak. Depending on the classification + result, the subpixel corner location is determined based on the local + covariance of the grey-values. If the significance level for either + statistical test is not sufficient, the corner cannot be classified, and + the output subpixel position is set to NaN. + Parameters ---------- image : ndarray @@ -633,7 +640,7 @@ def corner_subpix(image, corners, window_size=11, alpha=0.99): window_size : int, optional Search window size for subpixel estimation. alpha : float, optional - Significance level for point classification. + Significance level for corner classification. Returns -------