A system for the inspection and quality control of glass slabs