It looks like mris_transform interface changed since Freesurfer 5.3.

 

In Freesurfer 7.4.1, I believe you need to specify both --trx-src <> and  --trx-dst <> if you are giving mris_transform the transform in xfm format.  Or,  you can use lta_convert to convert xfm to lta.

 

Best,

 

Yujing

 

From: freesurfer-bounces@nmr.mgh.harvard.edu <freesurfer-bounces@nmr.mgh.harvard.edu> On Behalf Of Noemí Hostalet
Sent: Tuesday, April 16, 2024 7:13 AM
To: freesurfer@nmr.mgh.harvard.edu
Subject: [Freesurfer] Error using mris_transform in Freesurfer 7.4.1

 

        External Email - Use Caution        

Hi,

 

I'm trying to run the following mris_transform command in Freesurfer version 7.4.1:

 

mris_transform group1/z/Freesurfer/surf/lh.smoothwm group1/z/Freesurfer/mri/transforms/talairach.xfm group1/z/Freesurfer/surf/tal/lh.smoothwm.tal.asc

 

But it's giving the following error:

 

The transform does not have the valid src volume info.
Either you specify it with --trx-src or
make the transform to have the valid src info.

 

In a previous version (Freesurfer 5.3) it ran without problems.

 

Do you know what could be the problem?

 

Thank you


--

Noemí