morphology.label() bug?

Stéfan van der Walt stefan at sun.ac.za
Thu Dec 22 06:07:01 EST 2011


On Wed, Dec 21, 2011 at 12:36 PM, Tony Yu <tsyu80 at gmail.com> wrote:
> Actually, I've always found the return values for `ndimage.label` to be
> surprising. Every time I use it, I expect to just get the labeled array.
> Isn't the number of labeled regions equal to the max value of the labeled
> array?

That's correct.

Cheers
Stéfan



More information about the scikit-image mailing list