The paper assesses the effectiveness of sharpness metrics for monitoring the cleanliness of in-line thermographic systems and enabling self-diagnosis, in order to prevent degradation of metrologic performance and increase of measurement uncertainty. When optical measurement systems are installed in harsh industrial environments, external contaminants may compromise their operation conditions. Various types of dust may settle on the lens or protective window, deteriorating the quality of the generated signal.