Mark-Spectra: A convolutional neural network for quantitative spectral analysis overcoming spatial relationships