mirror of
https://github.com/wassname/scikit-image.git
synced 2026-06-27 19:48:43 +08:00
Merge pull request #2160 from sciunto/warp
BUGFIX: inverse_map should not be None
This commit is contained in:
@@ -1147,7 +1147,7 @@ def _clip_warp_output(input_image, output_image, order, mode, cval, clip):
|
||||
output_image[cval_mask] = cval
|
||||
|
||||
|
||||
def warp(image, inverse_map=None, map_args={}, output_shape=None, order=1,
|
||||
def warp(image, inverse_map, map_args={}, output_shape=None, order=1,
|
||||
mode='constant', cval=0., clip=True, preserve_range=False):
|
||||
"""Warp an image according to a given coordinate transformation.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user