1. Introduction
Patients with diabetes mellitus are exposed to a range of complications that notably affect the feet, eyes, kidneys, and cardiovascular and nervous systems [
1,
2]. Of these, diabetic foot (DF) is of particular interest. According to standard definitions, this nosological entity encompasses lesions such as infections, ulcerations, and deep tissue destruction, which are often associated with peripheral neuropathy and lower limb arteriopathy [
3,
4].
Clinical management of DF disease generates considerable human and economic costs. Ulceration and amputation represent the most severe complications [
5], profoundly affecting patients’ quality of life and placing a significant burden on healthcare systems [
6]. Given the progressive nature of this condition, early detection of complications is a major clinical challenge.
Infrared thermography is widely employed in diverse fields such as space exploration, civil engineering, and medicine. Characterized by its non-invasiveness, operational safety, and technical accessibility, it has established itself as a reliable methodology with broad interdisciplinary applicability. In the case of DF disease, this technique has demonstrated a notable effectiveness in identifying ulcer-prone regions. According to studies [
7,
8], thermal monitoring of plantar foot in DF patients can reduce the incidence of ulcers by 70%. This major finding clearly indicates the critical importance of investigating plantar thermal variations in greater depth and developing novel strategies to better understand the underlying pathophysiological mechanisms and optimize clinical monitoring protocols.
In this context, several approaches have been developed. Independent foot analysis examines each foot separately to identify local thermal anomalies. Study [
9] explored the correlation between the temperature of specific zones and foot deformities. Another approach, based on the idea of contralateral symmetry, analyzes the temperature differences between the two feet, as any asymmetry can indicate an anomaly. Studies [
10,
11] have shown that this technique enables the identification of ulcerous areas by superimposing the feet for direct comparison. Furthermore, analysis of regional temperature distribution in the plantar foot has been employed, as in study [
12], which proposed classifying patients according to their ulcer risk based on the angiosome concept. Finally, the thermal stress approach relies on external stimulation techniques, such as the cold stress test, which investigates vascular and thermoregulatory dysfunctions in DF patients. Studies [
13,
14] have shown that the cold stress test is a promising method for early diabetic neuropathy diagnosis.
Recently, with scientific and technological advancements, temperature monitoring for the early detection of DF complications using thermal cameras connected to smartphones has generated increasing interest. However, these cameras are subject to significant absolute errors caused by material and environmental factors. In this context, devices such as FLIR One Pro cameras [
15], HIMICRO Mini1 [
16], UNI-T UTI721M [
17], and TOPDON TC001 [
18] exhibit absolute errors no better than ±2 °C. This margin of error can affect the accuracy of the measurement and compromise the interpretation of the data for diagnostic purposes. This issue becomes particularly critical under variable environmental conditions.
To address these limitations, this study proposes an innovative and fully automated method that incorporates an original thermal correction strategy using forehead temperature as a physiological thermal reference. The forehead was selected as a reference site for several reasons. Previous thermographic studies have reported the forehead as a stable and reliable anatomical region for temperature assessment, commonly used as a reference area in medical infrared thermography [
19,
20]. The forehead is also practically accessible during clinical examinations, as our acquisition protocol simultaneously captures thermal images of both feet and the forehead without requiring additional patient manipulation. Furthermore, it is particularly suitable for DF patients: while these complications primarily affect the lower extremities, facial vasculature is generally preserved, providing a stable internal thermal baseline for temperature correction. We propose a novel joint segmentation that associates thermal and RGB images of both feet and the forehead. This methodological approach significantly reduces the absolute error of the camera and improves the reliability of thermal analysis. The experimental results show a significant reduction in thermal variance after correction and reveal a significant discriminatory capacity between DF patients and healthy controls, thus validating the clinical potential of the method for the early detection of DF complications.
This article is structured as follows:
Section 2 presents the materials and protocol used for image acquisition, as well as the methods used for joint segmentation of both feet and forehead.
Section 3 details the dataset and the comparative results of the segmentation methods.
Section 4 presents the transversal clinical study involving DF patients and healthy controls. Finally, a discussion and conclusion are provided in the
Section 5 and
Section 6.
5. Discussion
This study aimed to develop a new thermal correction strategy using the forehead as an internal thermal reference, in order to address the fundamental limitations of mobile thermography using smartphones.
Our approach specifically addresses the challenges posed by the emergence of infrared smartphone cameras. Although the literature notes the growing use of these devices [
33,
34,
35,
36], but highlights their resolution limitations and inability to accurately measure absolute temperatures [
34,
37], our thermal correction method offers an innovative solution. While studies [
34,
35,
37] use contralateral foot comparison for relative assessment, our work introduces a paradigm shift by proposing an active correction of the absolute error, exploiting the forehead as a stable internal reference [
38].
This correction strategy is part of a comprehensive approach that aims to simplify image acquisition while ensuring its reliability. Unlike other studies, such as [
39,
40], which impose strictly standardized acquisition conditions such as background homogenization and reflective environment control, our method has been designed to be free of restrictive protocols. This feature accurately reproduces real-world conditions of use, both in clinical practice and for self-monitoring at home. The robustness of our approach also lies in its fully automated nature, eliminating sources of error related to human intervention. By exploiting our robust DE-ResUNet++ architecture with a Dice score of 98.46%, we ensure reproducible segmentation of regions of interest while guaranteeing perfect standardization of measurements.
Results demonstrate the relevance of our approach. The significant reduction in thermal variance after the correction approach confirms that our method allows for data harmonization. In particular, the ability of corrected temperatures to distinguish DF patients from healthy controls, unlike absolute values, is a remarkable finding. This result sheds new light on the contradictions in the literature. Although our study, like those of [
41,
42,
43], measures lower plantar foot temperatures in DF patients compared to healthy controls, other studies [
33,
44,
45,
46] observe the opposite effect. Given these inconsistencies, a thermal correction method is, therefore, essential. The strength of our method is that it provides a reliable and reproducible measurement capable of revealing the actual thermal signal, beyond these measurement artifacts.
This result is consistent with the observations in [
35], which suggested that smartphone images could be sufficient for data comparison when properly processed. Thus, our method reveals thermal signals that were masked by instrumental error, offering a new perspective for the early detection of complications [
47,
48,
49]. Unlike approaches based on angiosomes [
12,
50], where there is a lack of consensus, our method provides a reproducible and standardized measurement. In addition, and as conceptually summarized in
Table 8, our correction strategy offers a robust alternative to the contralateral comparisons used in [
34,
47,
51,
52]. However, these approaches assume that one foot can serve as a healthy control for the other, a fragile assumption given the systemic nature of DF and the high prevalence of comorbidities [
36,
50,
53]. Our method, by avoiding this assumption, is therefore more reliable in a real clinical context.
It is also important to consider the sensor’s inherent characteristics. The proposed differential measurement inherently mitigates the impact of global calibration drift (Equation (
1)). Furthermore, spatial averaging over the segmented regions reduces the influence of random sensor noise on the mean temperatures. These design choices help ensure the robustness of the corrected thermal measurements despite the limitations of the consumer-grade thermal imager used.
The main limitations are similar to those identified in the literature. As highlighted in studies [
34,
37], the characteristics of the camera influence the results. Although our method corrects for absolute error, its validation with a wide range of smartphone cameras, particularly which are promising in terms of accessibility [
33,
34,
35,
36], remains to be confirmed. The development of a mobile application integrating our correction algorithm, in line with initiatives such as [
33,
54], would represent a major step forward in prevention. The creation of a large thermographic database, as suggested by other authors [
53], would be a major step toward establishing robust standards.
By offering a robust solution for correcting the absolute error of cameras and automating analysis, our method represents a significant step forward in standardizing medical thermography. Its validation on a larger scale, on more diverse cohorts, could make it a valuable tool for the early detection of DF complications, meeting the need for reliable and reproducible methods.