计算机技术与发展
計算機技術與髮展
계산궤기술여발전
Computer Technology and Development
2015年
10期
191-194,199
,共5页
QR码%缺陷检测%邻域模板%区域矫正%图像匹配
QR碼%缺陷檢測%鄰域模闆%區域矯正%圖像匹配
QR마%결함검측%린역모판%구역교정%도상필배
QR code%defect detection%neighborhood model%projective transformation%image matching
针对QR码印刷品中出现的黑白拉线或黑白块等印刷问题,文中提出了一种有效的QR码印刷品缺陷检测的解决方案。将机器视觉应用到QR码印刷制品的缺陷检测中去,可以自动识别带有缺陷的样本,从而解决了人工检测所带来的问题。结合HALCON的条码识读和图像处理相关算子,以Visual C++编程实现解决方案中的邻域模板生成、条码区域矫正和图像匹配等关键步骤,来实现对QR码印刷品中出现的黑白拉线或黑白块等印刷问题进行有效的检测。实验结果表明,此方案能从测试样本图像中自动提取条码,并且快速而又精确地完成图像匹配,有效地检测出印刷缺陷,并具有良好的鲁棒性。
針對QR碼印刷品中齣現的黑白拉線或黑白塊等印刷問題,文中提齣瞭一種有效的QR碼印刷品缺陷檢測的解決方案。將機器視覺應用到QR碼印刷製品的缺陷檢測中去,可以自動識彆帶有缺陷的樣本,從而解決瞭人工檢測所帶來的問題。結閤HALCON的條碼識讀和圖像處理相關算子,以Visual C++編程實現解決方案中的鄰域模闆生成、條碼區域矯正和圖像匹配等關鍵步驟,來實現對QR碼印刷品中齣現的黑白拉線或黑白塊等印刷問題進行有效的檢測。實驗結果錶明,此方案能從測試樣本圖像中自動提取條碼,併且快速而又精確地完成圖像匹配,有效地檢測齣印刷缺陷,併具有良好的魯棒性。
침대QR마인쇄품중출현적흑백랍선혹흑백괴등인쇄문제,문중제출료일충유효적QR마인쇄품결함검측적해결방안。장궤기시각응용도QR마인쇄제품적결함검측중거,가이자동식별대유결함적양본,종이해결료인공검측소대래적문제。결합HALCON적조마식독화도상처리상관산자,이Visual C++편정실현해결방안중적린역모판생성、조마구역교정화도상필배등관건보취,래실현대QR마인쇄품중출현적흑백랍선혹흑백괴등인쇄문제진행유효적검측。실험결과표명,차방안능종측시양본도상중자동제취조마,병차쾌속이우정학지완성도상필배,유효지검측출인쇄결함,병구유량호적로봉성。
Propose an effective solution of the defect detection of printed QR code image to resolve the problems of print quality than white line,black line,white block or black block appears in printed QR code image. Applying machine vision to the QR code defect in-spection of printing products,can automatically identify defective sample,so as to solve the problem brought by the artificial detection. With the reference functions of bar code decoding and image processing in HALCON,the solution uses Visual C++ to accomplish these key steps of generating neighborhood model,homogeneous projective transformation and image matching,to implement the effective de-tection for QR code printed in black and white arrows or piece of printing problems,such as black and white. The experimental results show that the solution can automatically extract bar code in test sample,quickly and accurately execute image matching,effectively detect printed defect and has good robustness.