An efficient similarity measure approach for PCB surface defect detection
fast normalized cross correlation for defect detection .