From 6aa9221e56d8020f456f8fec1d2db1afa8215b51 Mon Sep 17 00:00:00 2001 From: Juan Nunez-Iglesias Date: Sun, 17 Jul 2016 14:45:46 -0500 Subject: [PATCH] Make sigma optional in hessian_matrix_det --- skimage/feature/corner.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/skimage/feature/corner.py b/skimage/feature/corner.py index 1ed717b0..1c1c636e 100644 --- a/skimage/feature/corner.py +++ b/skimage/feature/corner.py @@ -165,7 +165,7 @@ def hessian_matrix(image, sigma=1, mode='constant', cval=0): return H_elems -def hessian_matrix_det(image, sigma): +def hessian_matrix_det(image, sigma=1): """Computes the approximate Hessian Determinant over an image. This method uses box filters over integral images to compute the @@ -175,7 +175,7 @@ def hessian_matrix_det(image, sigma): ---------- image : array The image over which to compute Hessian Determinant. - sigma : float + sigma : float, optional Standard deviation used for the Gaussian kernel, used for the Hessian matrix.