Dissimilarity representation on functional spectral data for classification