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)