Magnetic resonance imaging is a technology that uses magnetic fields and radio waves to produce high quality 2 or 3 dimensional images of the brain structure without using radioactive tracers and ionizing radiation. The magnetic resonance intensity is proportional to the density of the protons in various tissues.