Open c42f opened 6 years ago
Some hints may be had in Gannet which has quite a terrifying heuristic for determining the correct voxel rotation:
https://github.com/richardedden/Gannet3.0/blob/master/GannetMask_SiemensTWIX.m
Some code archeology leads also to the vox2ras
family of functions, for example:
https://github.com/FNNDSC/matlab/blob/master/misc/vox2ras_aa.m
http://www.nmr.mgh.harvard.edu/~rudolph/software/vox2ras/doc/vox2ras.html
Should the
transform
computed for a Siemens DICOM and the associated exported RDA be exactly the same?I've got some data where this seems not to be the case, nor do the computed
row_vector
andcolumn_vector
match. Unfortunately I can't attach the full data here, but here are some snippets:relevant part of rda header:
And dumped values from the DICOM: