@falmagro, should this be 'nn' rather than 'trilinear' since we are just warping a binary mask?
'nn'
'trilinear'