An efficient dilation-based clustering algorithm for automatic optical inspection | IEEE Conference Publication | IEEE Xplore