Using MRI images, the researchers were able to see that patients who developed cognitive impairment, had changes in the brain that had occurred before the stroke.