Closed K-Meech closed 3 years ago
It would be great if the elastixWrapper could also handle images that don't need to be 'staged' - e.g. mhd files / nrrd files...
You mean to avoid the temporary data duplication?
This would require separating the code involved in calling elastix on the command line from the code involved in staging files to .mhd format.
Code separation is always a good thing :-) Sure, go ahead!
Yes! I have a bunch of mhd files (which can be quite large) that I'd like to avoid making further copies of. Also, I'm calling it from another fiji plugin, so it'd be useful to be able to call the command line parts more directly.
Cool! Go for it!
@tischi I noticed that in the plugin you only support 2 parameter styles: 'Default' and 'CLEM' https://github.com/embl-cba/elastixWrapper/blob/master/src/main/java/de/embl/cba/elastixwrapper/commands/ElastixCommand.java#L88, while you also have 'Hennings' implemented - https://github.com/embl-cba/elastixWrapper/blob/master/src/main/java/de/embl/cba/elastixwrapper/elastix/ElastixParameters.java#L163
Do you still need the 'Hennings' parameters? I'm rearranging some stuff, so I can take it out if it's no longer needed
Henning is no longer needed.
It would be great if the elastixWrapper could also handle images that don't need to be 'staged' - e.g. mhd files / nrrd files...
This would require separating the code involved in calling elastix on the command line from the code involved in staging files to .mhd format.
@tischi I'm happy to put a draft together, and do a PR - if you'd be happy with this change?