Open dominikl opened 4 years ago
Indeed, the index of the masks coming from masks_from_label_image
is basically the label. I rewrote the method accordingly, which makes it easier. I'm not sure about ziplongest
... I rather write a few lines more code, but therefore make it a bit easier to understand what's actually going on.
Add a method to create masks from labelled z-stack image, grouped by label ids. These can used to create "3D'ish" ROIs. Input is a list of planes so that the output from the
getPlanes()
method can be used directly.