1. A method for automatically discerning between object and non-object pixels in a hyperspectral image data cube, said method comprising: (a) providing a partial least squares discriminant analysis algorithm; and (b) using a processor to apply said partial least squares discriminant analysis algorithm to a hyperspectral image data cube to automatically determine which pixels contain the spectral properties of the object.