This is the research I started when I was appointed Assistant Professor, whose three years were funded by the European PON AIM (Attraction and International Mobility) project "Computational Methods for Cultural Heritage".