Have you made sure that you have read permission to open those files? What is the output of `ls -l asta.mgh`? And asta.nii doesn’t seem to be a file in your working directory.
Best,
Andrew
From:
freesurfer-bounces@nmr.mgh.harvard.edu <freesurfer-bounces@nmr.mgh.harvard.edu> on behalf of Pierpaolo Croce <pierpaolo12croce@gmail.com>
Date: Thursday, April 8, 2021 at 11:32 AM
To: freesurfer@nmr.mgh.harvard.edu <freesurfer@nmr.mgh.harvard.edu>
Subject: [Freesurfer] mri_convert problem
External Email - Use Caution
Dear List,
I have installed the ubuntu version of freesurfer (creating the VM as in the tutorial)
I would like to run the following command:
mri_convert -c -oc 0 0 0 asta.mgh orig.mgz
I always get the error in the screen shot. Can someone help me?
also using asta.nii format
--
Ing. Pierpaolo Croce, PhD.
Institute for Advanced Biomedical Technologies - ITAB
and
Department of Neuroscience and Imaging
University of Chieti "G. D'Annunzio"
Via dei Vestini, 33
66013 Chieti, Italy