From 6e6b27bc86810f58fd002ed97b808d789908a1eb Mon Sep 17 00:00:00 2001 From: Vighnesh Birodkar Date: Tue, 11 Mar 2014 22:24:08 +0530 Subject: [PATCH] doc changes --- skimage/feature/blob.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/skimage/feature/blob.py b/skimage/feature/blob.py index 5b7175f2..dd72beae 100644 --- a/skimage/feature/blob.py +++ b/skimage/feature/blob.py @@ -99,7 +99,8 @@ def blob_dog(image, min_sigma=1, max_sigma=50, sigma_ratio=1.6, threshold=2.0, """Finds blobs in the given grayscale image. Blobs are found using the Difference of Gaussian (DoG) method[1]_. - For each blob found, its coordinates and area are returned. + For each blob found, the method returns its coordinates and the standard + deviation of the Gaussian kernel that detected the blob. Parameters ---------- @@ -137,7 +138,7 @@ def blob_dog(image, min_sigma=1, max_sigma=50, sigma_ratio=1.6, threshold=2.0, Examples -------- >>> from skimage import data, feature - >>> feature.blob_dog(data.coins(),threshold=.5,max_sigma=40) + >>> feature.blob_dog(data.coins(), threshold=.5, max_sigma=40) array([[ 45, 336, 16], [ 52, 155, 16], [ 52, 216, 16], @@ -204,7 +205,8 @@ def blob_log(image, min_sigma=1, max_sigma=50, num_sigma=10, threshold=.2, """Finds blobs in the given grayscale image. Blobs are found using the Laplacian of Gaussian (LoG) method[1]_. - For each blob found, its coordinates and area are returned. + For each blob found, the method returns its coordinates and the standard + deviation of the Gaussian kernel that detected the blob. Parameters ---------- @@ -247,8 +249,8 @@ def blob_log(image, min_sigma=1, max_sigma=50, num_sigma=10, threshold=.2, -------- >>> from skimage import data, feature, exposure >>> img = data.coins() - >>> img = exposure.equalize_hist(img) # improves detection - >>> feature.blob_log(img,threshold = .3) + >>> img = exposure.equalize_hist(img)# improves detection + >>> feature.blob_log(img, threshold = .3) array([[113, 323, 1], [121, 272, 17], [124, 336, 11],