Registration error using MMI with an ROI moving mask

Hi,
Thanks for your response! I try to set the sampling percentage to 1 to consider all voxels but it makes no difference. Any other idea ?
I don’t understand why this problem only appears when considering an ROI mask for the moving image, with mutual information?