mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-15 11:25:53 +08:00
clarified comment
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user