Duals, Invariants, and the Recognition of Smooth Objects from their Occluding Contour