Analysis and manipulation of field inhomogeneity effects in magnetic resonance imaging door