[MINC-development] -O3 breaks N3

Vladimir S. FONOV vladimir.fonov at gmail.com
Sat Apr 14 09:20:10 EDT 2012


Hello Everybody,

On 4/14/2012 6:47 AM, Alex Zijdenbos wrote:
> Re: (1), I think that ideally EBTKS would be written out of the
> MINC/etc codebase altogether. I suspect that would primarily affect
> N3, so it at least it would require a substantial rewrite of N3.
> However, I do think there may be a shortcut to be taken here, which
> would be to leave the code pretty much as it is, but just work the C++
> template pieces out of it. That could probably be done with a
> manageable amount of copy/paste/search/replace; basically
> instantiating the templates (only) for the types needed (which
> probably aren't many in the end). Question is, who? Does John need a
> sabbatical perhaps? ;-)

my first instinct would be to replace that elegantly written piece of 
code with something that is supported by community and still under 
development, for example GSL.

Second idea would be to replace N3 with N4 ( 
http://www.slicer.org/slicerWiki/index.php/Documentation/4.0/Modules/N4ITKBiasFieldCorrection 
) and just write a wrapper scripts like nu_correct and nu_evaluate that 
would mimic behavior of N3 using calls to N4 and ITK.



-- 
Best regards,

  Vladimir.FONOV <at> gmail <dot> com


More information about the MINC-development mailing list