in fact masking wasn't working, HistogramRegistration takes mask as numpy not nibabel