Apologies, this has now been resolved. The volume I was registering to was slightly different to the mask, so the input volumes for the DICE were slightly off (one was 180 × 221 × 180 and the other was 179 × 221 × 180).
Thank you! From: freesurfer-boun...@nmr.mgh.harvard.edu <freesurfer-boun...@nmr.mgh.harvard.edu> on behalf of Sorby-Adams, Annabel <asorby-ad...@mgh.harvard.edu> Date: Saturday, January 27, 2024 at 2:27 PM To: freesurfer@nmr.mgh.harvard.edu <freesurfer@nmr.mgh.harvard.edu> Subject: [Freesurfer] Error in mri_seg_overlap Hi Freesurfers, I am trying to compute DICE scores between 2 WMH-SynthSeg masks from a low-field image and high-field counterpart. I have co-registered the original images and used mri_binarize to isolate the WMH segmentations from other brain structures. I then used reg_resample to transform the binarized masks to the same space using the CPP from the coregistration. However, when I then try to run mri_seg_overlap I am getting an error that ‘error: input volumes must have matching dimensions’. When I load the binarized masks in freeview, they appear to be in the same space, and the LUT label for both is 1. Is there a way I can force mri_seg_overlap to compute the DICE in this instance/anything else I can do? I have attached 2 examples of the co-registered images for reference. Any advice appreciated! Annabel
_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer Please note that this e-mail is not secure (encrypted). If you do not wish to continue communication over unencrypted e-mail, please notify the sender of this message immediately. Continuing to send or respond to e-mail after receiving this message means you understand and accept this risk and wish to continue to communicate over unencrypted e-mail.