As the age of Industry 4.0 is upon us demands increase on advanced manufacturing processes and highly accurate production techniques. Regarding the requirements of surface quality in production, optical inspection is the most general way to detect a component surface quality by measuring the …