clij / clijx

Other
4 stars 6 forks source link

Bug in reduce labels to spots #26

Closed ofrag closed 3 years ago

ofrag commented 3 years ago

Hi,

I find both CLIJx_reduceLabelsToLabelledSpots and CLIJx_extendLabelsWithMaximumRadius usefull and would like to see them in the official release.

CLIJx_reduceLabelsToLabelledSpots has a bug, it replaces each label N with a spot with a value of N-1 , thus removing label #1. It also adds a spot with value MaxN at the top left corner of the first slice of the image. Sample file and output can be found here

Thanks Ofra

haesleinhuepf commented 3 years ago

Hey @ofrag ,

good catch! Thanks for reporting this bug! I'll cut a release this week and then you should be able to use it.