[Insight-users] itkOtsuMultipleThresholdsCalculator patch (+ class collocation issue)
lucantiga at softhome.net
lucantiga at softhome.net
Tue, 2 Mar 2004 18:13:39 +0100 (CET)
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime at docserver.cac.washington.edu for more info.
--8323328-1500067452-1078247619=:5304
Content-Type: TEXT/PLAIN; charset=US-ASCII
Hi Luis,
thanks a lot for including my code in ITK, I hope it will be useful.
Just a couple of things:
- could you please apply the attached diff to
itkOtsuMultipleThresholdsCalculator.txx and check it out? It solves a
bug (affecting the computation of initial class means) due to nasty
finish-up touches... sorry about that.
- I think itkOtsuMultipleThresholdsCalculator and
itkHistogramAlgorithmBase should be put in Numerics/Statistics
(they live in the Statistics namespace)
Thank you again
Luca
--8323328-1500067452-1078247619=:5304
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="itkOtsuMultipleThresholdsCalculator.diff"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.44.0403021813390.5304 at localhost.localdomain>
Content-Description:
Content-Disposition: attachment; filename="itkOtsuMultipleThresholdsCalculator.diff"
NzNjNzMNCjwgICAgICAgaWYgKGNsYXNzRnJlcXVlbmN5W2pdICE9IDAuMCkN
Ci0tLQ0KPiAgICAgICBpZiAoY2xhc3NGcmVxdWVuY3lbal0gPiAwLjApDQo4
N2M4Nyw5NA0KPCAgICAgICAgIGNsYXNzTWVhbltrXSA9IGhpc3RvZ3JhbS0+
R2V0TWVhc3VyZW1lbnRWZWN0b3IodGhyZXNob2xkSW5kZXhlc1trXSlbMF0g
KiBjbGFzc0ZyZXF1ZW5jeVtrXTsNCi0tLQ0KPiAgICAgICAgIGlmIChjbGFz
c0ZyZXF1ZW5jeVtrXSA+IDAuMCkNCj4gICAgICAgICAgIHsNCj4gICAgICAg
ICAgIGNsYXNzTWVhbltrXSA9IGhpc3RvZ3JhbS0+R2V0TWVhc3VyZW1lbnRW
ZWN0b3IodGhyZXNob2xkSW5kZXhlc1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