1. A method for automatically detecting an extended defect in an object, the method comprising: acquiring a digital image of the object; detecting edges in the image, the edges having an angle and a magnitude; and detecting connected edges within the image using the angle and the magnitude of the edges; and classifying a connected edge as a defect based on aspects of the connected edges where the connected edge classified as the defect is one of the connected edges.