High Dimensional Data Analysis for Hyperspectral Imaging with Applications in Precision Agriculture