Discriminating Deformable Shape Classes