On 3 Jul 2019, at 13:50, Anders Eklund <[log in to unmask]> wrote:
Hello,
we have some problems with the 'fslcomplex' function. We get the following error message
fslcomplex -complexmerge image_complex1.nii.gz image_complex2.nii.gz test.nii.gzImage Exception : #5 :: Out of Bounds (time index)terminate called after throwing an instance of 'RBD_COMMON::BaseException'Aborted (core dumped)
When we look at the code, a potential problem can be that the for loop in the function 'complexmerge' is
for (int n=vr1.mint(); n<=vr1.maxt(); n++) {
instead of
for (int n=vr1.mint(); n<vr1.maxt(); n++) {
i.e. <= instead of <
Is this a bug or are we using the function incorrectly?
- Anders
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