Dear Matthew
I processed these files with version 5.0.10, I was able to execute without warning and errors.
Has any changes been made in the new version?
version 5.0.10:
$>fslmaths BothPhases -abs -add 1 -mas Mask -dilM -dilM -dilM -dilM -dilM BothPhases
version 6.0.1:
$> fslmaths BothPhases -abs -add 1 -mas Mask -dilM -dilM -dilM -dilM -dilM BothPhases
Image Exception : #3 :: Attempted to multiply images of different sizes
terminate called after throwing an instance of 'std::runtime_error'
what(): Attempted to multiply images of different sizes
Aborted (core dumped)
Sincerely,
rhayashi
>
>Dear Matthew
>
>Thank you for your reply.
>
>>BothPhases and Mask have different dimensions ( you can verify this by running fslhd on the images to check their properties )
>
>Is it ok to use fslinfo to check dimensions? The data types are different, but the dimensions look same.
>I am currently using fslmaths as part of the HCP pipeline.
>
>>fslinfo BothPhases.nii.gz
>data_type INT32
>dim1 104
>dim2 104
>dim3 72
>dim4 6
>datatype 8
>pixdim1 2.000000
>pixdim2 2.000000
>pixdim3 2.000000
>pixdim4 8.000000
>cal_max 0.000000
>cal_min 0.000000
>file_type NIFTI-1+
>
>>$ fslinfo Mask.nii.gz
>data_type FLOAT32
>dim1 104
>dim2 104
>dim3 72
>dim4 3
>datatype 16
>pixdim1 2.000000
>pixdim2 2.000000
>pixdim3 2.000000
>pixdim4 8.000000
>cal_max 0.000000
>cal_min 0.000000
>file_type NIFTI-1+
>
>Best regards,
>rhayashi
>
>########################################################################
>
>To unsubscribe from the FSL list, click the following link:
>https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=FSL&A=1
########################################################################
To unsubscribe from the FSL list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=FSL&A=1
|