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-bounces@nmr.mgh.harvard.edu freesurfer-bounces@nmr.mgh.harvard.edu on behalf of Sorby-Adams, Annabel ASORBY-ADAMS@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