A method for inspecting electrical circuits, and a system for carrying out
the method, generating a representation of boundaries of elements in an
image of an electrical circuit which is under inspection, and analyzing
at least some locations of at least some boundaries in the representation
of boundaries of elements to identify defects in the electrical circuit.