Automated detection of multiple sclerosis lesions in magnetic resonance images of the human brain