Virtual restoration and protection of cultural heritage images