mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-27 11:27:08 +08:00
MAINT: remove 2 weird lines
This commit is contained in:
@@ -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