mirror of
https://github.com/wassname/scikit-image.git
synced 2026-10-30 13:40:44 +08:00
MAINT: remove 2 weird lines
This commit is contained in:
1 parent
944c9c6bde
commit
92b9ebc0e9
1 file changed
-2
@@ -217,8 +217,6 @@ def rescale_intensity(image, in_range=None, out_range=None):
|
||||
|
||||
if out_range is None or out_range in DTYPE_RANGE:
|
||||
out_range = dtype if out_range is None else out_range
|
||||
if out_range is None:
|
||||
out_range
|
||||
omin, omax = DTYPE_RANGE[out_range]
|
||||
if imin >= 0:
|
||||
omin = 0
|
||||
|
||||
Reference in new issue
Block a user