Printed circuit board defect detection using mathematical morphology and MATLAB image processing tools | Synapse