1. A method of carrying out automated attenuated total reflectance (ATR) spectral measurement, the method comprising the steps of: differentiating an acquired image in a spectral domain; restricting a spectral range of the acquired image; subtracting an average absorbance from the restricted image data; and applying a principal component analysis to extract significant spectral features from the restricted image data.