help
help > RE: Error Running NPM (Incorrect Data Type)
Jun 20, 2017 07:06 PM | Blake N
RE: Error Running NPM (Incorrect Data Type)
Dr. Rorden,
Thank you for responding so quickly to my question. I had created my lesion maps using the SPM LST toolbox (LPA algorithm) and then manually edited them through FSLView instead of MRICron and so that is why they were not automatically converted to INT8. I have previously used fslmaths to convert my maps to binary based on a threshold I had set using this code *fslmaths lpa_mni_binary.nii -thr 0.1 -bin lpa_mni_binary.nii*. It seems that this just changed my values though and not the data type.
I also appreciate you providing two paths forward for me to try. I will look into both your Matlab script and the fslmaths step you provided. If they do not work for me I may post again with the error or with a method that I was able to find success with. Also, if they do work I will also post here so anyone else who runs into the same problem will be able to find it.
Thank you,
Blake
Thank you for responding so quickly to my question. I had created my lesion maps using the SPM LST toolbox (LPA algorithm) and then manually edited them through FSLView instead of MRICron and so that is why they were not automatically converted to INT8. I have previously used fslmaths to convert my maps to binary based on a threshold I had set using this code *fslmaths lpa_mni_binary.nii -thr 0.1 -bin lpa_mni_binary.nii*. It seems that this just changed my values though and not the data type.
I also appreciate you providing two paths forward for me to try. I will look into both your Matlab script and the fslmaths step you provided. If they do not work for me I may post again with the error or with a method that I was able to find success with. Also, if they do work I will also post here so anyone else who runs into the same problem will be able to find it.
Thank you,
Blake
Threaded View
Title | Author | Date |
---|---|---|
Blake N | Jun 20, 2017 | |
Chris Rorden | Jun 20, 2017 | |
Blake N | Jun 20, 2017 | |
Blake N | Jun 20, 2017 | |
Blake N | Jun 20, 2017 | |