Maintenance of machine vision systems for product quality assessment. Part I. Addressing changes in lighting conditions.