Re: morphology.label() bug?
Dec. 22, 2011
12:49 p.m.
On Wed, Dec 21, 2011 at 10:39 PM, karoyakani <tj.takei@gmail.com> wrote:
I don't like having background == 0, but I'll settle for background == -1 as a default.
Thanks!
Please review the PR at: https://github.com/scikits-image/scikits-image/pull/105
Or, len(np.unique(labels)) - 1, if we do not count the background in.
Or, as Tony mentioned: labels.max() Cheers Stéfan
5354
Age (days ago)
5354
Last active (days ago)
0 comments
1 participants
participants (1)
-
Stéfan van der Walt