Approaches to inhomogeneity artifact correction in magnetic resonance imaging near metals