针对印刷过程中印刷电路很容易产生短路、断路、毛刺等缺陷问题,提出一种基于ORB(oriented FAST and rotated Brief)算法的印刷电路检测方法。首先,针对原始ORB特征匹配算法出现大量误匹配的问题,提出了一种基于空间距离的提纯法对匹配对进行提纯;其次,利用提纯后的匹配点计算待测图像和模板图像的仿射变换矩阵;再次,利用图像差分检测法对印刷电子屏印刷电路检测。结果表明:该算法在速度与精度方面均有提高。
(k,n) halftone visual cryptography( HVC) is proposed based on Shamir's secret sharing( HVCSSS),and through this method a binary secret image can be hided into n halftone images,and the secret image can be revealed from any k halftone images. Firstly,using Shamir's secret sharing,a binary secret image can be shared into n meaningless shares; secondly,hiding n shares into n halftone images through self-hiding method; and then n extracted shares can be obtained from n halftone images through self-decrypt method; finally,picking any k shares from n extracted shares,the secret image can be revealed by using Lagrange interpolation. The main contribution is that applying Shamir's secret sharing to realize a(k,n) HVC,and this method neither requires code book nor suffers from pixel expansion. Experimental results show HVCSSS can realize a(k,n) HVC in gray-scale and color halftone images,and correct decoding rate( CDR) of revealed secret image can be guaranteed.