BIC-MNI / minc-tools

Basic minc-tools from former minc repository
Other
30 stars 25 forks source link

Reordering dimensions like a reference volume #35

Closed ajwood closed 8 years ago

ajwood commented 8 years ago

I was wondering if it might be a good idea to add something that could reorder dimensions like a reference volume (e.g. a step needed before passing a zxy volume and an xyz volume to mincmath). Of course this would only work if the volumes have the same sampling and are just stored in a different order.

I wondered if a natural place for this would be adding a "-like" option to mincreshape?

vfonov commented 8 years ago

mincreshape input.mnc -dimorder $(mincinfo -vardims image reference.mnc|tr ' ' ',') output.mnc