Recognition of Occluded Shapes Using Size Functions