function to update param_MR based on Nifty file

image dimension is updated