mouse-brain-templates
mouse-brain-templates copied to clipboard
dsurqec_40micron_mask orientation
Hi @TheChymera ,
Have you noticed that the 40 micron DSURQE template and its associated mask have different affines? I have the current version of the templates (v 0.6.0
). It looks like the resetting the s-form didn't work because I can run those two lines of code manually and it corrects the orientation.
[adamraikes@r3u08n1 mouse-brain-templates]$ $SIF mrinfo dsurqec_40micron.nii
************************************************
Image name: "dsurqec_40micron.nii"
************************************************
Dimensions: 315 x 478 x 241
Voxel size: 0.04 x 0.04 x 0.04
Data strides: [ 1 2 3 ]
Format: NIfTI-1.1
Data type: 32 bit float (little endian)
Intensity scaling: offset = 0, multiplier = 1
Transform: 1 0 0 -6.27
0 1 0 -8.19
0 0 1 -4.2
comments: mnc2nii ex-vivo/DSURQE_40micron_average.mnc nifti/DSURQE_40micron_average.nii
[adamraikes@r3u08n1 mouse-brain-templates]$ $SIF mrinfo dsurqec_40micron_mask.nii
************************************************
Image name: "dsurqec_40micron_mask.nii"
************************************************
Dimensions: 241 x 478 x 315
Voxel size: 0.04 x 0.04 x 0.04
Data strides: [ 3 2 1 ]
Format: NIfTI-1.1
Data type: 32 bit float (little endian)
Intensity scaling: offset = 0, multiplier = 1
Transform: 1 0 0 -4.2
0 1 0 -8.19
0 0 1 -6.27
comments: mnc2nii ex-vivo/DSURQE_40micron_mask.mnc nifti/DSURQE_40micron_mask.nii