From 243a5ec1c6ec0611dd50a9161ba0aaa11a33a122 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Scho=CC=88nberger?= Date: Wed, 25 Apr 2012 18:10:36 +0200 Subject: [PATCH] clarified comment --- skimage/filter/thresholding.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skimage/filter/thresholding.py b/skimage/filter/thresholding.py index 68ba1482..2a21eb02 100644 --- a/skimage/filter/thresholding.py +++ b/skimage/filter/thresholding.py @@ -38,7 +38,7 @@ def threshold_adaptive(image, block_size, offset, method='gaussian'): http://docs.opencv.org/modules/imgproc/doc/miscellaneous_transformations .html?highlight=threshold#adaptivethreshold """ - # not using img_as_float because threshold parameter wouldn't work + # not using img_as_float because offset parameter wouldn't work image = image.astype('double') return _threshold_adaptive(image, block_size, offset, method)