High dimensional classification for spatially dependent data with application to neuroimaging