I got this error when I try to import MRI. I tried different converted format, but I still failed. How can I solve this problem?
How can I send my file to you?
I got this error when I try to import MRI. I tried different converted format, but I still failed. How can I solve this problem?
How can I send my file to you?
Hello,
I suspect something unusual in the MRI you try to import.
Can you please post the file here so we can try debugging it? (upload it somewhere and copy the download link here)
Thanks
Francois
Hi,
Kind of similar errors here too. The first is when I try to read an entire BrainSuite folder, the second when I try to load the single MRI nii.gz file (attached).
No clue where this error comes from (read 18 scans today, only one with a problem). Brainstorm was updated today on Win10 Matlab R2019a.
https://filez.univ-amu.fr/uokc8jzywb
Thanks a ton !
Link:https://pan.baidu.com/s/1w9hKsbQGsQcJSILQGCfQEQ
license code:379r
I have upload the MRI
Thanks a lot!
@TheGala I could not figure out how to download the file. Please upload your file so it can be downloaded from Europe without having to install any additional Chinese app. Thanks
Hello,
Sorry for jumping in this thread - let me know if it is better that I open a new one.
Concerning the T1 file available at https://filez.univ-amu.fr/uokc8jzywb (server down tonight actually)
updated link Dropbox - File Deleted - Simplify your life :
It is readable by BrainSuite but not BrainStorm.
I played a bit in the function "histogram" and it happens that the variables "maxIndex" and "minIndex" are of length 6 and 4 respectively with close values at the beginning of the vectors.
With such vectors, the MRI can't be imported. To test it, please follow
Import MRI > Ignore (Register) > No (Reslice)
Now, if I remove the first 2 values of "maxIndex" within the "mri_histogram.m", the MRI can be read.
An ad-hoc solution then.
This makes me think that, at least for this particular MRI volume, the localisation algorithm of true extrema is not robust enough. But maybe I am wrong and it comes from a non-standard file. What do you think?
Thank you!
I added an extra check for the missing minima:
https://github.com/brainstorm-tools/brainstorm3/commit/eacb66f9fc0da66160eef8cec8ef2a736f1fe7dc#diff-5345e99996bd6e98868fc64000d357a6
Please update Brainstorm and let me know if you still get errors because of mri_histogram.
This is nice, brilliant actually. I was able to read the MRI and load the surfaces.
Thank you so much for this quick update François.
Greetings from southern France
So great!
Now I can import my MRI!
Thank you so much for your help!