進年來隨著科技進步,各種數位影像工具的使用越來越普遍,如何處理影像圖片是相當重要的。但是在檢測工作上,若用人眼判斷影像瑕疵,常會因為人為主觀上或疲勞造成錯誤,因此在檢測圖形瑕疵,需用電腦進行圖形比對及偵測瑕疵。在這篇論文中,我們專注於提供一個圖形比對的方法,使用小波轉換,可以更有能力針對瑕疵部分加以突顯。 本篇論文根據不同的能量區塊做漸層式的比對,可以用原始圖像最重要的部分先比對,剩下的一些圖片在提高門檻做較嚴苛的比對方式,這樣漸層式的比對方法,遠比兩張圖片逐一像素值做比對來的有效率。 In recent years along with the advance in technology, using the functions and quality of imaging devices is getting more and more common, how processes the image is quite important. But in examination work, if with human eye judgment graph slight defect, regular session, because artificial subjectively or creates the mistake wearily, therefore in the examination graph slight defect, needs the computer precess image compared and defect inspection. In this thesis , we concentrate in provide a graph compares to the method, use wavelet transform, may have ability to underline in view of the slight defect part. This thesis basis different energy sub-area makes gradually the level –like compared to rightly, may use the primitive image most important part first compared to right, is left over some pictures are enhancing the threshold to do severely compared to the way, like this gradually the level -like compared to the method, the far ratio two picture one by one pixel value makes compares to effectiveness.