Pyrometry using CCD cameras