clEsperanto / pyclesperanto

GPU-accelerated Image Processing library using OpenCL
https://clesperanto.github.io/pyclesperanto
BSD 3-Clause "New" or "Revised" License
31 stars 6 forks source link

'erode_labels' is missing an argument `relabel_islands` #141

Closed haesleinhuepf closed 5 months ago

haesleinhuepf commented 9 months ago

Compared to the prototype-version, the function erode_labels has missing an argument relabel_islands.

Notebook to try it out: https://haesleinhuepf.github.io/BioImageAnalysisNotebooks/20h_segmentation_post_processing/open_close_labels.html

StRigaud commented 9 months ago

relabel_island parameter was renamed relabel.

The reason is that the operation behind is a simple sequantial relabeling, the island par is therefore miss leading. We can put it back as it was if it make more sense

haesleinhuepf commented 9 months ago

ok, awesome, that makes sense!