Closed haesleinhuepf closed 1 year ago
It might be nice to enable re-labeling of non-sequentially labeled images / measurements. Therefore, we need to use skimage map_array. We might want to program a function similar to this one and then use it from the clusters-plotter for example:
https://github.com/haesleinhuepf/napari-skimage-regionprops/blob/25a07895e06a3e6c8c4a32b3e5e522a308f93983/napari_skimage_regionprops/_parametric_images.py#L73
We should not change the existing function for backwards-compatibility reasons. But if the new one works nicely, we can mark the old as deprecated.
CC @lazigu @marabuuu
It might be nice to enable re-labeling of non-sequentially labeled images / measurements. Therefore, we need to use skimage map_array. We might want to program a function similar to this one and then use it from the clusters-plotter for example:
https://github.com/haesleinhuepf/napari-skimage-regionprops/blob/25a07895e06a3e6c8c4a32b3e5e522a308f93983/napari_skimage_regionprops/_parametric_images.py#L73
We should not change the existing function for backwards-compatibility reasons. But if the new one works nicely, we can mark the old as deprecated.
CC @lazigu @marabuuu