DOC: Fix docstring note about conversion range

This commit is contained in:
Tony S Yu
2012-09-13 21:37:52 -04:00
parent 051f73f2b6
commit 81e49b6686
+2 -1
View File
@@ -360,7 +360,8 @@ def img_as_bool(image, force_copy=False):
Notes
-----
All non-zero elements are treated as True.
The upper half of the input dtype's positive range is True, and the lower
half is False. All negative values (if present) are False.
"""
return convert(image, np.bool_, force_copy)