Processing of binary spectroscopic images.