elastix
elastix copied to clipboard
Less verbose output
Hi, We are currently registering a few thousand images with Elastix, however our terminals are flooded by the output of every individual iteration! Is there an option to make Elastix less verbose? The only message that might be interesting for us is if it succeeded or failed, and maybe the final iteration step. Otherwise I'd kindly suggest adding this option :) Regards, Mark
What you may do is a redirect >> /dev/null
A new logger with verbosity options is desirable indeed, but we depend on new funding to be able to implement that.
Thanks for the update, Marius. Though that would be a workaround, we'd also lose all error messages.
I might be able to get some time here at ISI to at least implement some quick and dirty logging framework with a verbosity option, seeing as it is starting to become an issue for some of our larger breast MRI studies. Do you have any preference for where to put this into the codebase?
That would be welcome!
We do have a better logger implemented at SuperElastix, see https://github.com/SuperElastix/SuperElastix/tree/develop/Modules/Logger
spdlog. This would be a candidate for elastix as well.
The base should be put in the Common directory. The actual use of it in elastix will be the major challenge I think. Currently we use the xout for it, something we made ourselves. Perhaps you can get help from @N-Dekker while working on this.