Program that compares two sequences of spectral data through OpenCV lib