An algorithm that has been developed to inspect the integrity of wire bonds on an IC die is described. The algorithm uses of an elliptical model to approximate the shape of the bond so that any aberrations from the specified dimensions can be easily identified. Missing bonds and double bonds can also be detected.