Representing Shapes for Recognition