Skip to content

Commit

Permalink
bugfix: opencl-label images were not supported
Browse files Browse the repository at this point in the history
  • Loading branch information
haesleinhuepf committed May 19, 2023
1 parent 5c4250c commit 7a4db07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion napari_skimage_regionprops/_parametric_images.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def relabel_with_map_array(image, label_list, measurement_list):
https://scikit-image.org/docs/stable/api/skimage.util.html#skimage.util.map_array
"""
from skimage.util import map_array
return map_array(image, np.asarray(label_list), np.array(measurement_list))
return map_array(np.asarray(image), np.asarray(label_list), np.array(measurement_list))

@deprecated("relabel_timepoint() is deprecated. Use relabel_timepoint_with_map_array() instead")
def relabel_timepoint(labels, table, column, frame_column, timepoint):
Expand Down

0 comments on commit 7a4db07

Please sign in to comment.