This paper deals with the detection of defects at BGA solder joints in PC boards by using X-ray imaging.Discusses the flow of detecting defects based on the X-ray imaging and describe an approach to automatic inspection of BGA solder joint defects by using seed filling and contour extracting.Experimental results reveal that the proposed method shows practical usefulness in BGA solder joint inspection.