Hi,
I noticed that the erode_labels function not only erodes the labels, but also applies a relabel_sequential to the eroded labels. I see that this might be useful in some cases, but I think it is somewhat unexpected behaviour (and for my applications undesirable). Would it be possible to either remove the relabel_sequential in https://github.com/clEsperanto/pyclesperanto_prototype/blob/413e3fadbff7d5db07c98d614cd5e2d2a94ae38c/pyclesperanto_prototype/_tier4/_erode_labels.py#L66C9-L66C27
or make it optional (preferably in erode_labels and e.g. opening_labels, etc.)?
Best,
Marius
PS: thanks for the great library!
Hi,
I noticed that the
erode_labelsfunction not only erodes the labels, but also applies arelabel_sequentialto the eroded labels. I see that this might be useful in some cases, but I think it is somewhat unexpected behaviour (and for my applications undesirable). Would it be possible to either remove therelabel_sequentialin https://github.com/clEsperanto/pyclesperanto_prototype/blob/413e3fadbff7d5db07c98d614cd5e2d2a94ae38c/pyclesperanto_prototype/_tier4/_erode_labels.py#L66C9-L66C27or make it optional (preferably in
erode_labelsand e.g.opening_labels, etc.)?Best,
Marius
PS: thanks for the great library!