We previously described a technique for correcting patient-specific magnetic field inhomogeneity spatial distortion in magnetic resonance images (MRI), which was not applicable to patients fitted with MRI-compatible stereotactic fiducial frames. Here we describe an improvement to the technique that permits application for these patients. Measurements with a cadaver head show that this method achieves MRI stereotactic localization accuracy of 1 mm.