Segmentation of cortical MS lesions on MRI using automated laminar profile shape analysis