Hi all, I am having a bad time trying to correct the first version of this code. The values from my function and Tosa's does not match. In my tests, my maxSigma is higher than his; I believe I am having a problem with the values returned from the histogram. Could you give me a hand on that? This is the code so far: https://github.com/alexandrejaguar/software/blob/master/threshold_multiotsu.py Thanks for your time! Kind regards,
Alex Em segunda-feira, 9 de maio de 2016 19:06:46 UTC+2, Alexandre Fioravante de Siqueira escreveu: > > Done (for now): https://github.com/scikit-image/scikit-image/pull/2076. > > Em segunda-feira, 9 de maio de 2016 12:14:59 UTC+2, Alexandre Fioravante > de Siqueira escreveu: >> >> Hi all, >> the preliminary code is ready, but it could be improved a lot. For >> instance, there's a function named maxsigma() which has a lot of nested for >> loops. >> Here is the code: >> https://gist.github.com/alexandrejaguar/fd767149b3a667f8be125734893f020d >> Could you give me a hand to improve that? >> Thank you very much! >> Kind regards, >> >> Alex >> >> Em domingo, 8 de maio de 2016 17:20:31 UTC+2, Alexandre Fioravante de >> Siqueira escreveu: >>> >>> Hi Josh, >>> OK, I'm on it. I'll try to implement from the paper. >>> >>> Alex >>> >>> Em quarta-feira, 4 de maio de 2016 01:34:38 UTC+2, Josh Warner escreveu: >>>> >>>> We do have Otsu, and I think it would be within the scope of >>>> scikit-image. >>>> >>>> I think I'd find use for this, personally, and depending on the >>>> implementation you may be able to reuse code from simple binary Otsu >>>> internally. >>>> >>>> Seems reasonable - PR would be welcome! >>>> >>>> Josh >>>> >>>> On Tuesday, May 3, 2016 at 10:47:00 AM UTC-5, Alexandre Fioravante de >>>> Siqueira wrote: >>>>> >>>>> Hi everyone, >>>>> I was thinking about using multi-Otsu thresholding for some research. >>>>> I am used to use the ImageJ available plugin, >>>>> http://imagej.net/Multi_Otsu_Threshold. >>>>> Could you give me a hand on writing such a function which could do >>>>> this for python? Maybe putting it into scikit-image. Or else, could you >>>>> point me a better alternative? >>>>> Thank you very much! >>>>> >>>>> Alex >>>>> >>>> -- You received this message because you are subscribed to the Google Groups "scikit-image" group. To unsubscribe from this group and stop receiving emails from it, send an email to scikit-image+unsubscr...@googlegroups.com. To post to this group, send an email to scikit-image@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/scikit-image/0b64a75a-c486-4036-a795-a9bfd81d820d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.