MRI technique to help dementia patients