Describir: Mathematics of shape description