I have done it by also using .bxh files.
node]$ bxh2analyze <input.nrrd> <output.bxh>
node]$ bxh2analyze --preferanalyzetypes -s -b --niftihdr --nii.gz <input.bxh> <output> (I believe it adds the .nii.gz without typing it - I can't quite remember)
Hope that helps,
Catherine
|