Automatically computed rating scales from MRI for patients with cognitive disorders