光电工程
光電工程
광전공정
OPTO-ELECTRONIC ENGINEERING
2013年
7期
83-88
,共6页
PCB裸板图像%曲线抽稀%道格拉斯-普克%距离度量
PCB裸闆圖像%麯線抽稀%道格拉斯-普剋%距離度量
PCB라판도상%곡선추희%도격랍사-보극%거리도량
PCB bare board image%polyline simplification%Douglas-Peucker%distance measure
在线高精度PCB裸板缺陷AOI检测系统中待处理的高分辨率图像高达60000×60000以上,为提高处理速度,需提取图像轮廓并进行 DP 曲线抽稀从而减少处理数据量。点到线段的距离度量是影响 DP 曲线抽稀方法效率的决定因素之一,本文提出一种高效的分区距离度量计算方法,首先以曲线首尾端点连线为基准X轴建立新的旋转直角坐标系,逐点计算各点在新坐标系下的坐标值,然后以此坐标值进行分区及距离度量计算,在I区和III区采用曼哈顿距离、在II区则依然采用垂直距离。与Dan Sunday所提分区距离度量方法相比,本文方法充分利用了前一点的距离度量计算结果,对点进行分区判断的方式更为简洁、高效,在基本保持I、III分区各点距离度量计算量的前提下,大幅减少了比重最高的II区点的距离度量计算量。实验结果表明,本文改进距离度量计算的DP曲线抽稀方法有效提高了高分辨率PCB裸板图像轮廓的曲线抽稀效率。
在線高精度PCB裸闆缺陷AOI檢測繫統中待處理的高分辨率圖像高達60000×60000以上,為提高處理速度,需提取圖像輪廓併進行 DP 麯線抽稀從而減少處理數據量。點到線段的距離度量是影響 DP 麯線抽稀方法效率的決定因素之一,本文提齣一種高效的分區距離度量計算方法,首先以麯線首尾耑點連線為基準X軸建立新的鏇轉直角坐標繫,逐點計算各點在新坐標繫下的坐標值,然後以此坐標值進行分區及距離度量計算,在I區和III區採用曼哈頓距離、在II區則依然採用垂直距離。與Dan Sunday所提分區距離度量方法相比,本文方法充分利用瞭前一點的距離度量計算結果,對點進行分區判斷的方式更為簡潔、高效,在基本保持I、III分區各點距離度量計算量的前提下,大幅減少瞭比重最高的II區點的距離度量計算量。實驗結果錶明,本文改進距離度量計算的DP麯線抽稀方法有效提高瞭高分辨率PCB裸闆圖像輪廓的麯線抽稀效率。
재선고정도PCB라판결함AOI검측계통중대처리적고분변솔도상고체60000×60000이상,위제고처리속도,수제취도상륜곽병진행 DP 곡선추희종이감소처리수거량。점도선단적거리도량시영향 DP 곡선추희방법효솔적결정인소지일,본문제출일충고효적분구거리도량계산방법,수선이곡선수미단점련선위기준X축건립신적선전직각좌표계,축점계산각점재신좌표계하적좌표치,연후이차좌표치진행분구급거리도량계산,재I구화III구채용만합돈거리、재II구칙의연채용수직거리。여Dan Sunday소제분구거리도량방법상비,본문방법충분이용료전일점적거리도량계산결과,대점진행분구판단적방식경위간길、고효,재기본보지I、III분구각점거리도량계산량적전제하,대폭감소료비중최고적II구점적거리도량계산량。실험결과표명,본문개진거리도량계산적DP곡선추희방법유효제고료고분변솔PCB라판도상륜곽적곡선추희효솔。
The high-resolution PCB bare board images in online high-precision AOI detection system are up to 60000× 60000 or more. In order to improve processing speed, image contours extraction and DP polyline simplification are used to reduce the amount of processing data. Distance measure of point to segment is one of determinants which affect the efficiency of DP algorithm. A new method to compute distance is proposed. Firstly, a rotating coordinate is established based on the two endpoints of curve, in which the new coordinate value is computed for each point and used to divide the points into three zones and calculate distance, and Manhattan distance is adopted in zone I and III, perpendicular distance in zone II. Compared with Dan Sunday’s method, the proposed method takes full advantage of the computation result of the previous point, and the way to divide the points is more concise and efficient, the distance metric calculation amount for points in zone I and III basically keeps, but the amount for points in zone II which own highest proportion reduces significantly. Experimental results show that the improved distance measure method can improve the efficiency of DP polyline simplification algorithm for high resolution PCB bare board image contours.