Adaptive image pre-processing for quality control in production lines | IEEE Conference Publication | IEEE Xplore