Applications of Computer Image Analysis and Spectroscopy in Agriculture