A diagnostic imaging test that uses magnetic fields and radio waves to create detailed images of the rectum and surrounding tissues.