From 28d0691d9e080a28607905e6dc7fed0f2b29f891 Mon Sep 17 00:00:00 2001 From: Jeremy Metz Date: Tue, 24 Feb 2015 12:39:09 +0000 Subject: [PATCH] Minor modification to docstring --- skimage/filters/thresholding.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/skimage/filters/thresholding.py b/skimage/filters/thresholding.py index db5554c3..473db40a 100644 --- a/skimage/filters/thresholding.py +++ b/skimage/filters/thresholding.py @@ -316,8 +316,8 @@ def threshold_li(image): Returns ------- threshold : float - Upper threshold value. All pixels intensities that more than - this value assumed to be foreground. + Upper threshold value. All pixels intensities more than + this value are assumed to be foreground. References ---------- @@ -336,7 +336,7 @@ def threshold_li(image): >>> from skimage.data import camera >>> image = camera() >>> thresh = threshold_li(image) - >>> binary = image <= thresh + >>> binary = image > thresh """ # Requires positive image (because of log(mean)) offset = image.min()