Discography is a diagnostic imaging test in which x-ray dye is injected under gentle pressure into the discs of the spine. Based on the presence or absence of pain during the injection of dye, your doctor may be able to determine if the disc is responsible for your pain symptoms.