sorry I didn't see that , it's ok then


On Thu, Aug 1, 2013 at 9:41 AM, Johannes Schönberger <
notifications@github.com> wrote:

> In skimage/filter/rank/generic_cy.pyx:
>
> > +
> > +    # compute local mean
> > +    if pop:
> > +        for i in range(max_bin):
> > +            mu += histo[i] * i
> > +        mu = mu / pop
> > +    else:
> > +        return 0
> > +
> > +    # maximizing the between class variance
> > +    max_i = 0
> > +    q1 = histo[0] / pop
> > +    mu1 = 0.
> > +    max_sigma_b = 0.
> > +
> > +    for i in range(1, max_bin):
>
> @odebeir <https://github.com/odebeir> But max_bin is already 256. It is
> incremented in the _core function.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/scikit-image/scikit-image/pull/626/files#r5524050>
> .
>