Context-sensitive Filtering in RLE for PCB Inspection


This paper presents a fast printed circuit board (PCB) inspection methodology based on the segmentation of the PCB image into basic patterns and context sensitive filtering of the difference image for functional defect detection. The system consists of three parts: (1) segmentation of the artwork and test board images into basic patterns using the CAD data for the artwork, (2) comparison of the test board image windows with the corresponding artwork image windows, (3) context-sensitive filtering of the difference image obtained in step (2) for the determination of the defects and their locations. For image representation, runlength encoding (RLE) is used and processing is done directly on RLE data. This provides the needed efficiency in processing huge amounts of image data, which is typical in PCB inspection. Working on the difference image results in considerable reduction in the data to be processed during the filtering stage. Context-sensitive filtering enables classification of defects in such a way that only potentially functional defects are caught and reported in the final analysis.


Computer Science

Keywords and Phrases

Gerber Format; Morphological Operations; Operations on Runlength Encoded Data; Printed Circuit Board

Document Type

Article - Conference proceedings

Document Version


File Type





© 1998 SPIE -- The International Society for Optical Engineering, All rights reserved.