Archived film analysis and restoration