Application of pattern-recognition techniques in wavelength selection for instrumentally read reagent strips.