Some points are outside the definition of the non-linear MNI registration

Hi Brainstorm team,

After updating Brainstorm, I encountered an error when trying to Add MNI parcellation. The message is:

***************************************************************************
** Error: Line 250: 错误使用 cs_convert
** Some points are outside the definition of the non-linear MNI registration.
** Please compute a linear MNI normalization to convert these points.
** 
** Call stack:
** >cs_convert.m at 250
** >mri_reslice_mni.m at 64
** >import_mri.m at 236
** >import_mniatlas.m at 137
** >bst_call.m at 28
** >tree_callbacks.m>@(h,ev)bst_call(@import_mniatlas,iSubject,sMniAtlases(i),1) at 646
** 
***************************************************************************

My T1 MRI has already been registered to MNI space, so I’m wondering whether this behavior could be related to the recent update.
Could you please advise on possible causes or a workaround? Thank you in advance for your help.

Best regards

The version of my MATLAB is 2022b

As the error message indicate, the trouble is that there the (non-linear) MNI normalization does not have the transformation for each of the points in the atlas, thus it fails.

You can compute a linear MNI normalization (maff8) on your MRI
https://neuroimage.usc.edu/brainstorm/Tutorials/ImportAnatomy#MNI_normalization

Please note that adding anatomical parcellations using the MNI coordinates, is not as accurate as computing those anatomical parcellations using MRI segmentation software tools such as FreeSurfer or CAT12

Thank you! Your guidance solved the issue. Much appreciated.