Sometimes, an x-ray may not be enough to show signs of ankylosing spondylitis. If your health care provider suspects ankylosing spondylitis after an x-ray, he or she may request a CT scan or MRI to help with the diagnosis.