Merge pull request #325 from JDWarner/img_as_float_docfix

Docfix for `img_as_float()`; appended CONTRIBUTORS
This commit is contained in:
Tony S Yu
2012-09-24 11:24:21 -07:00
2 changed files with 5 additions and 2 deletions
+3
View File
@@ -110,3 +110,6 @@
- Pavel Campr
Fixes and tests for Histograms of Oriented Gradients.
- Joshua Warner
Multichannel random walker segmentation.
+2 -2
View File
@@ -265,8 +265,8 @@ def img_as_float(image, force_copy=False):
Notes
-----
The range of a floating point image is [0, 1].
Negative input values will be shifted to the positive domain.
The range of a floating point image is [0.0, 1.0] or [-1.0, 1.0] when
converting from unsigned or signed datatypes, respectively.
"""
return convert(image, np.float64, force_copy)