Extreme values for some labels after labelconvert

Dear all,

I am combining two different atlases for connectivity analysis: Schaefer400_17networks and Melbourne Subcortical Atlas (S4). I manually created lut_in and lut_out by:

  1. Combining LUTs of both atlases (Schafer’s is 1001 to 2200, Melbourne’s is 1 to 54) for lut_in (_freesurfer.txt)
  2. Creating MRtrix version of lut_in with numbers starting from 1 to 454 for lut_out (_mrtrix.txt)

Those files can be accessible from this Cloud Storage.

However, running labelconvert results in some regions having high values (from “_freesurfer.txt”: e.g., 1093, 2094, 2087, etc.) in the magnitude of e+09. Of note, labelconvert runs without any warnings or errors.
image

Any comments?

Best,
Amir

1 Like

As an update:

I tried the same command with the same tools on my local machine and the problem was gone. I assumed the problem may be due to this line in labelconvert.cpp, that it cannot map between the two tables and returns extreme values.

Can it be due to different cpp or g++ versions? On my local machine, they are both version 11.3, on the cluster -which was problematic- they are version 8.3.

Best,
Amir

1 Like