本研究乃是利用機器視覺技術來精確估算冷陰極管經過高週波趕汞設備的高溫趕汞氣化後,其汞塊析出擴散現象的不良品管制線上檢測。研究方向主要針對冷陰極管上汞塊氣化析出量擴散分布特徵做檢測,另外為符合自動化操作,機台動力採用INDEX間歇傳送榙配鍊條上設計承置燈管V槽治具自動輸送進給方式,同時在檢測燈管前後有壹組定位缸來確保燈管位置,因此燈管檢出範圍即可自動尋找出特徵位置並計算出補償值。在線上檢測過程中,先利用目標物的燈絲特徵尋找出外型輪廓,以此為基準取50*100框像運算後找出汞塊氣化析出量。檢測進行步驟為,光源採取打背光方式,CCD(Charge-coupled Device電荷耦合元件)取像後再經程式取50*100框像來二值化處理、以灰階分佈圖分析汞析出量特徵尋找。最後本研究實際擷取30張影像作為檢測樣本,以驗證所提方法可行性並獲得高穩定度品質檢驗,做到全面的品質檢驗的目的。 This thesis is using technical of Machine Vision to estimate precisely expansion of Hg which in CCFL that passes through the High Frequency Equipment. The study is focus on the oxidization distribution characteristics of Hg which in CCFL. Besides, in order to fit with the automatic operation. Machine power uses INDEX intermittent transmission with an automatic deliver design. At the same time, there is a set of pneumatic piston to ensure tube's position. Therefore it can automatically search the position of characteristic through the moving. In the examination, first it uses filament characteristic to find out the external sketch. Then take this result as a basis, select a 50*100 frame to analysis and find out the oxidization distribution of Hg. The step of examination is as below. First, using back-lighted light source, then the program will select 50*100 frame to the process of binary after CCD get pictures. Using the historgram to analysis the characteristic of the oxidization distribution of Hg. Finally, this research picks up 30 images as examination sample to prove the practicability of this method and acquire high stable quality.