Title: Variable illumination and invariant features for detecting and classifying varnish defects