1. A method for identifying contacts in a proximity image, the method comprising: finding a shortest path connecting a plurality of contacts, said shortest path passing through each contact once to form an ordered loop; and identifying and assigning an identity to an innermost contact in the ordered loop from contact and inter-contact features of the innermost contact.