magnetic resonance imaging (MRI) – a diagnostic procedure that uses a combination of large magnets, radiofrequencies, and a computer to produce detailed images of organs and structures within the body. Intravenous (IV) contrast agents may be given during the scan to better highlight the abscess.