Guide to machine vision inspection: camera types, lighting, image processing algorithms, defect detection, integration.