Abstract

Tumors can be detected from a temperature gradient due to high vascularization and increased metabolic activity of cancer cells. Thermal infrared images have been recognized as potential alternatives to detect these tumors. However, even the use of artificial intelligence directly on these images has failed to accurately locate and detect the tumor size due to the low sensitivity of temperatures and position within the breast. Thus, we aimed to develop techniques based on applying the thermal impedance method and artificial intelligence to determine the origin of the heat source (abnormal cancer metabolism) and its size. The low sensitivity to tiny and deep tumors is circumvented by utilizing the concept of thermal impedance and artificial intelligence techniques such as deep learning. We describe the development of a thermal model and the creation of a database based on its solution. We also outline the choice of detectable parameters in the thermal image, the use of deep learning libraries, and network training using convolutional neural networks (CNNs). Lastly, we present tumor location and size estimates based on thermographic images obtained from simulated thermal models of a breast, using Cartesian geometry and a scanned geometric shape of an anatomical phantom model.

1 Introduction

Breast cancer has the highest incidence and mortality in women worldwide. Early and accurate detection is crucial for reducing mortality rates associated with this disease. The incidence of breast cancer has increased significantly in recent years, thus requiring increased efforts, caution, and research toward finding a cure. Importantly, detecting breast cancer at an early stage is essential to avoid the side effects of radiotherapy and chemotherapy treatments, the permanent scars left by surgery, and the fatal consequences of treatment nonresponsiveness. As a result, researchers share a strong desire to find fast, accurate, and minimally invasive procedures to detect early signs of breast cancer.

Imaging in cancer diagnosis has helped to identify diseases, locate malignant tissues for biopsy, identify metastasis, and plan treatment protocols [1]. Mammography is one of the most effective current approaches for early detection of breast cancer; however, it has several limitations. Accessibility, for example, remains an issue for women, even when palpable nodules are present. This examination is essential for therapeutic decision-making but remains unavailable in numerous public cancer referral services. Furthermore, the quality of mammography varies greatly among healthcare providers, and excess radiation exposure is also risky when reexamination is required.

Artificial intelligence has been widely used in medicine, with studies being applied to diagnose various conditions, including cervical cancer [2], thyroid nodules [3], and COVID-19 [4]. In a recent study, an algorithm based on machine learning using least squares methods was developed to perform estimates related to the COVID-19 pandemic and predict the future behavior of the outbreak [4]. Specifically, artificial intelligence has been widely applied in mammography results to improve breast cancer diagnosis and reduce false positive or false negative rates [510].

Thermography, on the other hand, represents a low-cost, easily applicable method for early tumor detection, and the use of thermographic images is a potential alternative to mammography exams. However, disadvantages include the high operator dependence on image interpretation and the inability to determine the depth of a nodule.

Tumors are characterized by uncontrolled cell multiplication, resulting in higher rates of metabolic heat generation and blood perfusion compared to healthy tissues. The excess heat generated by the tumor is dissipated to the surrounding healthy tissue, creating a temperature gradient on the breast's surface. The use of infrared imaging in cancer research has been investigated by numerous researchers [1,1113] and [14]. Sree et al. [1] established standardized protocols for thermographic procedures and interpretation of thermograms. In Ref. [11], the authors performed a 4-year clinical trial involving 769 patients and found a sensitivity of 97%, specificity of 14%, negative predictive value of 95%, and positive predictive value of 24% in 875 biopsied lesions. Analysis of infrared imaging performance in all the biopsied lesions revealed that specificity was statistically improved in dense breast tissue compared to fatty breast tissue. In Ref. [12], a prospective, double-blind study involving 92 patients found a sensitivity of 97%, correctly identifying 58 out of 60 neoplasms with biopsies. This report also showed that digital infrared thermal imaging is a valuable adjunct to mammography, especially in women with dense breast parenchyma. To improve the accuracy of preliminary breast cancer screening, Kapoor and Prasad [13] proposed a thermogram to analyze infrared thermal images automatically. Edge detection and Hough transform were used for asymmetry analysis of breast heat patterns. Mitra and Balaji [14] proposed an estimation of tumor position and size in human breast using thermographic images in conjunction with artificial neural networks. Das and Mishra [15] reported a numerical study on the simultaneous estimation of size, radial location, and angular location of a malignant tumor in a 3-D human breast.

The temperature profiles are obtained by solving the Pennes equation through numerical solutions based on finite elements, using the commercial software COMSOL. In a prior study, Figueiredo et al. [16] estimated breast tumor depth using the experimental surface temperature of the breast. Different methods treat breast tumor detection as an inverse heat transfer problem.

The numerical solution of bioheat transfer critically relies on knowledge of the breast's thermal properties and thermophysical parameters. Breast geometry is another critical factor. Therefore, any experimental temperature data are intrinsically dependent on these parameters. If a temperature field is required, measurements of the thermal properties would be necessary. However, estimating these parameters under natural conditions would be complicated and challenging. An alternative approach involves searching for models or practical procedures that do not require an in-depth understanding of these parameters while improving sensitivity for tumor identification. One of the techniques addressed in this work uses temperature information measured on the surface using infrared sensors or surface thermocouples to quantitatively establish an index indicating the presence of a tumor, without requiring knowledge of the tissue's physical parameters. This study was based on applying damage detection techniques to structures and developed the application of thermal impedance for tumor detection [17].

The analogy between electromechanical and thermal impedance presents a novel approach to inclusion detection. Applying thermal impedance to damage detection represents innovation and can increase the sensitivity of techniques based on thermal infrared images [18].

However, relying solely on thermal images or surface thermal impedance is not sufficient to identify the location and size of an eventual tumor.

Even when artificial intelligence is applied directly to these images, it still fails to obtain tumor location and size due to the low sensitivity associated with temperature variations and their position within the breast. Importantly, studies have been carried out to improve the remarkable screening potential of this technique [1921]. Nonetheless, these works, which also use CNNs, aim to improve the diagnosis of tumor detection based on thermal images but still fail to detect the size and position of eventual tumors, which is fundamentally the objective of these studies.

In this scenario, additional information is required. This information can be derived from thermal models developed to establish the position and size of eventual tumors within the breast. Furthermore, data can be correlated with breast surface temperatures, whether measured or simulated, to provide the procedure for estimating tumor position and size.

As impedance significantly increases the sensitivity of superficial thermal images related to small and deep tumors, applying an artificial intelligence algorithm represents a powerful tool to produce additional information regarding tumor position and size. This can be estimated through the training of convolutional networks.

2 Fundamentals

As previously mentioned, this work uses artificial intelligence, specifically deep learning, to estimate tumor location and size solely based on thermal images of the breast's skin surface. These thermal images can be acquired using an infrared camera in practical applications. To validate this technique, simulated thermographic images were used. Simulated thermographic images were obtained from direct thermal problem solutions calculated using the commercial software COMSOL Multiphysics.

Deep learning was developed in Python as the programming language and in the integrated development environment (IDE), Jupyter Notebook. Specific deep learning libraries, namely, Keras and TensorFlow, were used for deep learning programming.

Convolutional neural networks were used as a subarea of the deep learning technique to identify patterns or classes of parameters to be evaluated in simulated thermal images. Initially, a database was created with classes of different tumor locations. Tumors were positioned at other locations within the domain that simulated the breast's geometry. Then, surface thermal images were extracted from the temperature field solution. This process was referred to as the direct problem.

3 Thermal Model

3.1 Pennes Bioheat Transfer Equation.

The Pennes bioheat transfer equation, formulated by Carl Wilhelm Pennes in 1948 [22], describes heat transfer in the human body during blood circulation. This equation is fundamental to understanding how the body regulates its internal temperature, known as thermal homeostasis. The Pennes equation considers three primary heat transfer mechanisms: conduction, blood perfusion, metabolism, and heat exchange with the environment. It is often used in cases requiring heat flux assessment in biological tissues, such as hyperthermia or hypothermia studies. The Pennes equation describes how the temperature in biological tissues evolves due to heat transfer. The bioheat transfer equation that measures the behavior of biological tissues is
(1)

where ρ, c, and k are, respectively, the specific mass, the specific heat, and the heat conductivity of the tissue; ωb is the blood perfusion rate; and ρb and cb are the blood's specific mass and specific heat; Ta is the arterial temperature and T is the temperature distribution. Qm is the heat source due to metabolic heat generation (W/m3).

Our study investigated two distinct thermal models. The first model represents a Cartesian sample (Fig. 1(a)), where the hyperparameters and sensitivity required to construct the artificial intelligence structure were evaluated. The three-dimensional schematic model of the breast in Cartesian coordinates comprises a region of healthy tissue and a spherical tumor with an arbitrary location. All surface of the Cartesian model was assumed to be exposed to the external environment, except the internal surface of the breast, in contact with the body, was kept at a constant temperature Tc equal to the body's internal temperature, that is, 37 °C (310 K). The temperature of the medium was considered room temperature, T = 20 °C (293 K).

Fig. 1
Model schematic breast: (a) Cartesian and (b) anatomic
Fig. 1
Model schematic breast: (a) Cartesian and (b) anatomic
Close modal

The second model, an anatomical structure designed to mimic a natural breast, was used as a Phantom to identify the location and size of a tumor inserted into the model (Fig. 1(b)). In both models, an external heat flux was applied at the frontal surface, as shown in figures. This heat flux, q0 constant and equal to 10 W/m2, is needed to disturb the initial condition to calculate thermal impedance in transit conditions. Equation (1) and its respective boundary conditions are solved numerically using the finite element method. Figure 2 shows the tridimensional mesh for both models.

Fig. 2
Three-dimensional mesh: (a) Cartesian mesh and (b) anatomical mesh
Fig. 2
Three-dimensional mesh: (a) Cartesian mesh and (b) anatomical mesh
Close modal

3.2 Boundary Conditions.

Considering the geometric schemes shown in Fig. 1, the tissue domain is subjected to the following boundary conditions for the Cartesian model as:

  • an external heat flux applied at the frontal surface
    (2)
  • surfaces exposed to an ambient medium of temperature T = 20 °C
    (3)
    (4)
    (5)
    (6)
  • and the internal surface of the breast, in contact with the body, is kept at a constant temperature Tc = 37 °C (310 K)
    (7)

3.3 Initial Condition.

The initial condition necessary to obtain the transient solution of Eq. (1) is the steady-state condition that exists before the external heating of the frontal surface. It means
(8)
where Tst(x,y,z) is obtained solving the following equation:
(9)
subjected to boundary conditions
(10)
(11)
(12)
(13)
(14)
and
(15)

The boundary conditions of the anatomical model are equivalent to the equations of the Cartesian model and will not be described here. The initial temperature field F(x,y,z) for this model, which corresponds to the steady-state, is shown in Sec. 5 (Figs. 3 and 4).

Fig. 3
Thermal imaging of the health breast surface under stationary conditions without tumor presence: (a) temperature field and (b) thermal impedance field
Fig. 3
Thermal imaging of the health breast surface under stationary conditions without tumor presence: (a) temperature field and (b) thermal impedance field
Close modal
Fig. 4
Thermal imaging of the health breast surface under stationary conditions with tumor presence: (a) temperature field and (b) thermal impedance field
Fig. 4
Thermal imaging of the health breast surface under stationary conditions with tumor presence: (a) temperature field and (b) thermal impedance field
Close modal

4 Numerical Solution

The characteristics of a natural breast, such as muscle, fat, lobe, nipple, areola, ducts, and irregular geometry, make the thermal model a challenge to solve analytically.

It is essential to observe that Eqs. (1) or (9) can be solved analytically if the work aims to study a 3D Cartesian model. However, the work's great interest is obtaining the position and location of the tumor in a breast with actual geometry. In this work, the anatomical model shown in Fig. 1(b) was used to simulate the breast temperature field. Application to natural breasts is immediate by obtaining a scanned breast geometry. The irregular geometry of the anatomical model, or a natural breast, was the main reason for modeling numerically and not analytically.

In our study, the geometry of a typical breast was acquired by scanning an anatomical model. The direct problem solution was obtained using finite elements through the COMSOL multiphysics software.

The values of thermophysical properties used in the simulations, including thermal conductivity k, blood perfusion w, volumetric heat generation Qm, density ρ, and specific heat cp of the biological tissues, are listed in Table 1. Density and specific heat are assumed to have the same value for both healthy breast tissue and tumor. Table 2 presents the mesh, element types of the three-dimensional model provided by the commercial software (COMSOL multiphysics), and statistics related to the features of the 3D model under analysis.

Table 1

Thermophysical properties of breast and tumor

k (W/mK)w (1/s)Qm (W/m3)ρ (kg/m3)cp (J/kg.K)
Breast0.351.4 × 10−442010004186
Tumor0.621.4 × 10−210510004186
k (W/mK)w (1/s)Qm (W/m3)ρ (kg/m3)cp (J/kg.K)
Breast0.351.4 × 10−442010004186
Tumor0.621.4 × 10−210510004186
Table 2

Types of three-dimensional model elements and statistic from COMSOL Multiphysics

MeshElement type
Tetraedric element1,100,982
Triangular element24,332
Bord596
Vertice element14
Element volume ratio2.437 × 10−4
Minimum element quality0.1902
Average element quality0.6622
Element volume ratio2.437 × 10−4
MeshElement type
Tetraedric element1,100,982
Triangular element24,332
Bord596
Vertice element14
Element volume ratio2.437 × 10−4
Minimum element quality0.1902
Average element quality0.6622
Element volume ratio2.437 × 10−4

5 The Analogy Between Thermal Impedance and Electromechanical Impedance

Human tissue cells, whether healthy or unhealthy, possess physical properties such as mass, stiffness, and damping, which can be represented by a dynamic system [17,18]. If human tissues can be represented by a dynamic system under certain conditions, then, by analogy, it is possible to establish a thermal system equivalent to this tissue. Since human tissues have metabolism and perfusion, the heat transfer mechanism occurs through metabolic heat generation, perfusion mechanisms, heat diffusion, and heat exchange with the environment. Consequently, an analogy between thermal, electrical, and mechanical systems can be established. Thus, we proposed the development of an equivalent thermal system in human tissue and the consequent application of the concept of thermal impedance to identify the presence of inclusions. In other words, this work suggests a definition of thermal impedance, Z(ω), analogous to electromechanical impedance, as being
(16)
analogous to
(17)

where q0(ω) is the thermal excitation represented by the heat flux applied on the surface; ΔT(ω) is the response to this heat flux, measured at the surface temperature of the sample (thermal system); ΔV (ω) and I(ω) represent voltage and current variation of the electromechanical system. The variable ω corresponds to the frequency domain, obtained through the Fourier transform applied to the temporal signals of ΔT(t) and q(t) measured by heat flux and temperature transducers. As the thermal system depends on thermal properties, including thermal conductivity, thermal diffusivity, specific heat, and the medium itself, the thermal impedance must also assume different values if the medium has inclusions with other thermal properties than its surroundings.

Equation (17) does not explicitly include thermal parameters such as perfusion and metabolism. Can these parameters in human tissue in vivo change the experimental thermal impedance? If so, can a thermal impedance be defined based on them? The thermal problem resulting from metabolism, perfusion, and external thermal excitation was developed in this project, and we defined the thermal impedance related to this system.

5.1 Comparison of Temperature and Thermal Impedance.

In the practical application, where part of the breast surface is exposed to a convective medium, an analysis of the necessity for precise knowledge of the heat transfer coefficient by convection must be carried out. This analysis must consider the presence or absence of tumors.

Figures 3 and 4 illustrate the breast without and with tumor, respectively, showing thermal images, T, and impedance images, Z(t).

Observing the images, we note changes in temperature colors due to the effects of medium thermal convection. However, this effect is absent in the thermal impedance images, Figs. 3(b) and 4(b). Our findings indicate that the h parameter does not interfere with the procedure for estimating an eventual tumor.

If the size and intensity of metabolism need to be estimated, it is also necessary to analyze the previous sensitivity of the parameters that influence the temperature measurement.

Figure 5 displays the temperature and impedance evolution considering different metabolic heat generation intensities.

Fig. 5
Comparison of the influence of tumor metabolism on the temperature pixel profile: (a) Q = 104 W/m3, (b) Q = 105 W/m3, (c)Q = 106 W/m3, (d) Q = 107 W/m3 and in the thermal impedance: (e) Q = 104 W/m3, (f) Q = 105 W/m3, (g) Q = 106 W/m3, and (h) Q = 107 W/m3
Fig. 5
Comparison of the influence of tumor metabolism on the temperature pixel profile: (a) Q = 104 W/m3, (b) Q = 105 W/m3, (c)Q = 106 W/m3, (d) Q = 107 W/m3 and in the thermal impedance: (e) Q = 104 W/m3, (f) Q = 105 W/m3, (g) Q = 106 W/m3, and (h) Q = 107 W/m3
Close modal

Spherical tumors with a radius of 3 mm were considered in the simulations. The thermal behavior of simulated variations in the metabolic heat source was examined, with tumors positioned at (x,y,z) = (80,80,60) mm. Infrared images are shown in Figs. 5(a)5(d) and thermal impedance images of the breast surface are presented in Figs. 5(e)5(h). According to Figs. 5(a)5(d), it is challenging to discern the effect of variations in tumor metabolism intensities.

However, this effect is evident in Figs. 5(e)5(h). The figures illustrate temperature curves called Qm = 104 W/m3 to Qm = 107 W/m3, representing their metabolic generations. Notably, all these curves have similar shapes and profiles. This format is symmetrical with respect to pixel 484, where the breast's impedance is sensitive to changes in metabolic intensity. This effect is highlighted in Fig. 6, where the tumor center is located. An overlap can be seen between the curves, making it impossible to distinguish them visually.

Fig. 6
Effect of the intensity of metabolisms on pixel profile: (a) temperature and (b) thermal impedance
Fig. 6
Effect of the intensity of metabolisms on pixel profile: (a) temperature and (b) thermal impedance
Close modal

The results demonstrate that thermal impedance values undergo significant variations, as depicted in Fig. 6(b).

To provide further clarity, we determined the sensitivity coefficient related to metabolic intensity and the influence of tumor size. Figures 7(a) and 7(b) show the evolution of the sensitivity coefficients associated with the metabolism power (QmTQmandQmZQm), respectively and Figs. 8(a) and 8(b) show the effect of tumor size by comparing the evolution of the sensitivity coefficients associated with the radius (rTrandrZr), respectively. This effect on temperature and impedance variations can also be verified in Fig. 9.

Fig. 7
Effect of the sensitivity of metabolisms on temperature and thermal impedance profile: (a) temperature sensitivity and (b) impedance sensitivity
Fig. 7
Effect of the sensitivity of metabolisms on temperature and thermal impedance profile: (a) temperature sensitivity and (b) impedance sensitivity
Close modal
Fig. 8
Sensitivity coefficient profile: (a) temperature and (b) thermal impedance
Fig. 8
Sensitivity coefficient profile: (a) temperature and (b) thermal impedance
Close modal
Fig. 9
Effect of the tumor size on temperature and thermal impedance profile: (a) temperature and (b) thermal impedance
Fig. 9
Effect of the tumor size on temperature and thermal impedance profile: (a) temperature and (b) thermal impedance
Close modal

6 Direct Problem: Cartesian Model

The direct problem is established by solving the thermal problem with multiple tumors strategically placed within a Cartesian geometry that simulates the breast. Figures 10(a) and 10(b) present, respectively, the three-dimensional Cartesian breast, with dimensions of 160 × 160 × 80 mm, along with a top view indicating the tumor locations created to build the database for simulated temperature images.

Fig. 10
Simulated tumors: (a) tridimensional view and (b) superior plane xy
Fig. 10
Simulated tumors: (a) tridimensional view and (b) superior plane xy
Close modal

Figure 10(b) shows the positioning of the simulated tumors in the x  y plane. This means their positions on the x−axis ranged from x =10 mm to x =80 mm, to the y coordinate, between y =10 mm to y =80 mm. Figures 11(e)11(h) show the simulated tumors in the xy plane. In this plane, the tumors were introduced at a distance of 10 mm. Temperature fields calculated considering tumor depth varying, with z =60 mm, z =65 mm, z =70 mm, and z =75 mm, respectively, in the coordinate (x =80 mm, y =80 mm).

Fig. 11
Temperature image database for tumor located at (x,y,z) given by: (a) (10,10,77), (b) (80,10,77), (c) (10,80,77), (d) (80,80,77), (e) (80,80,60), (f) (80,80,65), (g) (80,80,70), and (h) (80,80,75)
Fig. 11
Temperature image database for tumor located at (x,y,z) given by: (a) (10,10,77), (b) (80,10,77), (c) (10,80,77), (d) (80,80,77), (e) (80,80,60), (f) (80,80,65), (g) (80,80,70), and (h) (80,80,75)
Close modal

6.1 Inverse Problem: Tumor Location Estimation Using Temperature Images.

The physical and geometric parameters of the breast and tumors were randomly changed to construct our database. The COMSOL Multiphysics software assumed that a random variable was used. The database comprised approximately 1113 images, divided into training, test, and validation sets. Specifically, 40% of the images were part of the training set, 40% of the test set, and 20% were used for validation.

Although a detailed analysis is not presented here, several hyperparameters were adjusted to construct CNNs. These are weights, bias, number of layers, number of neurons per layer, activation function, optimizer, batch size, target size, epochs, learning rate, and momentum. Initially, we identified which parameters were most commonly used in related works. Posteriorly, we analyzed which ones achieved better results with fewer epochs. The parameters were varied one by one, then two by two, to determine the optimal configuration.

We used an automatic search method known as Bayesian optimization. Figures 12(a) and 12(b) show the neural network architecture and their convergence when the optimizers are varied, including Nadam, RMSprop, Adam Adamx, SGD and Adagrad, Adadelta, and Ftrl. Notably, the Nadam and RMSpropt optimizers showed better accuracy

Fig. 12
Architecture and optimizer accuracy: (a) convolutional neural networks architecture and (b) optimizer accuracy
Fig. 12
Architecture and optimizer accuracy: (a) convolutional neural networks architecture and (b) optimizer accuracy
Close modal

We used two image sizes for comparison: 128 × 128 and 512 × 512 pixels. The number of trainable parameters by one of the main parameters trained by CNNs is the image pixels. The neural network is outlined in Table 3.

Table 3

Hyperparameter configuration

HyperparamatersThermal imagesThermal impedance images
OptimizerNadamNadam
Hidden layers44
Neuron per layer51232
Activation functionReluLrelu
Image quality512 × 512256 × 256
WeightsGlorot uniformGlorot uniform
BiasZerosZeros
HyperparamatersThermal imagesThermal impedance images
OptimizerNadamNadam
Hidden layers44
Neuron per layer51232
Activation functionReluLrelu
Image quality512 × 512256 × 256
WeightsGlorot uniformGlorot uniform
BiasZerosZeros

This neural network architecture consists of the conv2d-input data input, the hidden layers composed of Conv2D and MaxPooling2D, the data flattening layer flatten, and the dense data output layer (Table 4). Our initial assessment focused on verifying the ability of the neural network to estimate the location of tumors not found in the neural network learning process; this analysis was referred to as the inverse problem. We tested an estimate of the tumor coordinates located among the classes in the neural network learning process. Posteriorly, we verified the network's ability to correlate these new positions with those already known by the neural network through the learning process. A second test considered the variation of two tumor coordinates.

Table 4

Image characteristic

Model 1: sequential 128 × 128Model 2: sequential 512 × 512
Layer (type)Output shapeParamOutput shapeParam
conv2d (Conv2D)(No, 126, 126, 64)1792(None, 510, 510, 64)36,928
max pooling2d (maxPooling2D)(None, 126, 126, 64)0(None, 255, 255, 64)0
conv2d 1 (Conv2D)(None, 126, 126, 64)36,928(None, 253, 253, 64)36,928
max pooling2d 1 (maxPooling2D)(None, 126, 126, 64)0(None, 126, 126, 64)0
conv2d 2 (Conv2D)(None, 126, 126, 64)36,928(None,124, 124, 64)36,928
max pooling2d 2 (maxPooling2D)(None, 126, 126, 64)0(None, 62, 62, 64)0
conv2d 3 (Conv2D)(None, 126, 126, 64)36,928(None, 60, 60, 64)36,928
max pooling2d 3 (maxPooling2D)(None, 126, 126, 64)0(None, 30, 30, 64)0
flatten (Flatten)(None, 2304)0(None, 57600)0
dense (Dense)(None, 512)1,180,160(None, 512)29,491,712
dense 1 (dense)(None, 449)230,337(None, 449)230,337
Total params: 1, 523,073 Trainable params: 1,523,073 Nontrainable params: 0
Model 1: sequential 128 × 128Model 2: sequential 512 × 512
Layer (type)Output shapeParamOutput shapeParam
conv2d (Conv2D)(No, 126, 126, 64)1792(None, 510, 510, 64)36,928
max pooling2d (maxPooling2D)(None, 126, 126, 64)0(None, 255, 255, 64)0
conv2d 1 (Conv2D)(None, 126, 126, 64)36,928(None, 253, 253, 64)36,928
max pooling2d 1 (maxPooling2D)(None, 126, 126, 64)0(None, 126, 126, 64)0
conv2d 2 (Conv2D)(None, 126, 126, 64)36,928(None,124, 124, 64)36,928
max pooling2d 2 (maxPooling2D)(None, 126, 126, 64)0(None, 62, 62, 64)0
conv2d 3 (Conv2D)(None, 126, 126, 64)36,928(None, 60, 60, 64)36,928
max pooling2d 3 (maxPooling2D)(None, 126, 126, 64)0(None, 30, 30, 64)0
flatten (Flatten)(None, 2304)0(None, 57600)0
dense (Dense)(None, 512)1,180,160(None, 512)29,491,712
dense 1 (dense)(None, 449)230,337(None, 449)230,337
Total params: 1, 523,073 Trainable params: 1,523,073 Nontrainable params: 0

Initially, it was found that the neural network model based on deep learning could not predict the correct depth of tumors in positions x =10, y =10, located in the lower left corner.

We noticed that these tumors suffer interference. Our preliminary findings revealed that the neural network model based on deep learning could not predict the correct depth within the pixel matrix due to the proximity of the thermal image's edges. To mitigate this problem, we optimized the hyperparameters to achieve more accurate results and reduce the error function's values.

Among the numerous possibilities of hyperparameter configurations, two were chosen to create the neural network model referring to the database under analysis. For the thermal images described in Sec. 6.1, the Nadam optimizer was used, a model with four hidden layers and 512 neurons per layer, a ReLu activation function, 512 × 512 image quality, Glorot Uniform weight, and zero bias. For thermal impedance images (Sec. 6.2), we also used the Nadam optimizer, a model with four hidden layers, Lrelu, 32 neurons, and 256 × 256 image quality. Table 3 compiles this information.

Hyperparameters in CNNs are not learned directly during model training, but they significantly affect the training process and network architecture. These parameters are defined before training and are vital in determining the CNNs performance, efficiency, and behavior. Proper optimization of these hyperparameters is crucial to achieve good performance of the CNN in specific tasks. This optimization can be conducted manually or through more advanced techniques, such as Bayesian optimization. Figure 11(b) was included in this study to show how the manual search method would change only one hyperparameter. In this case, the optimizers were modified. Figure 11 indicates that the Nadam, RMSprop, and Adam optimizers achieved better accuracy for smaller epochs. In contrast, the Adadelta and Ftrl optimizers did not present any response even with 1000 neural network training epochs for the same analysis.

7 Results: Tumor Location in Two Coordinates

7.1 Use of Thermal Images.

Figure 13 illustrates the simulated tumors (in grey) present in the neural network learning process. New tumors were then inserted between previously known grid positions to assess the network's ability to estimate tumor positions in unknown locations. The fictitious tumors (in red) were placed between y =70 and y =80 and between positions x =70 and x =80. This analysis was repeated at all discrete z locations.

Fig. 13
Tumor location using two coordinates
Fig. 13
Tumor location using two coordinates
Close modal

The results of the location estimation using the Nadam optimizer, a model with four hidden layers and 512 neurons per layer, ReLu activation function, and 512 × 512 image quality, are displayed in Table 5.

Table 5

Tumor location estimation: 2-coordinate variation, first hyperparameter setup using thermal imaging

Tumor position(72, 72)(75, 75)(78, 78)
z=40(70, 70)(80, 80)(80, 80)
z=50(70, 70)(80, 70) z=40(80, 80)
z=60(70, 70)(80, 80) z=65(80, 80)
z=65(70, 70)(70, 70) z=60(80, 80)
z=70(70, 70)(70, 70) z=65(80, 80)
z=75(70, 70)(80, 80) z=77(80, 80)
z=77(70, 70) (z=75)(70, 70) z=75(80, 80)
Tumor position(72, 72)(75, 75)(78, 78)
z=40(70, 70)(80, 80)(80, 80)
z=50(70, 70)(80, 70) z=40(80, 80)
z=60(70, 70)(80, 80) z=65(80, 80)
z=65(70, 70)(70, 70) z=60(80, 80)
z=70(70, 70)(70, 70) z=65(80, 80)
z=75(70, 70)(80, 80) z=77(80, 80)
z=77(70, 70) (z=75)(70, 70) z=75(80, 80)

We observed that the neural network correlated the thermal image of the new position with positions previously known by the neural network. In other words, it approximated the tumors closer to the locations known by the neural network. The tumors positioned at (x,y) = (75,75) are between two locations known by the network (x,y) = (70,70) and (x,y) = (80,80). Furthermore, in some cases, the network adjusted the z-depth to optimize the tumor position concerning the trained points.

7.2 Use of Thermal Impedance Images.

A database was constructed using spherical tumors with a radius of R1 = 2 mm, R2 = 6 mm, and R3 = 10 mm, located at z =70 mm. The center of the tumors is located 10 mm from the breast's surface, as seen in Fig. 14. As shown in Table 3, a Nadam optimizer was used along with a model with four hidden layers and 32 neurons per layer, ReLu activation function, and 256 × 256 image quality. The initialization of bias matrices and weights were, respectively, zero and glorot uniform.

Fig. 14
Size tumor variation: (a) lateral view and (b) superior view
Fig. 14
Size tumor variation: (a) lateral view and (b) superior view
Close modal

7.3 Anatomic Model: Thermal Impedance.

The scanned three-dimensional model of the breast was also numerically simulated using the COMSOL Multiphysics software. Its geometry is shown in Figs. 15(a) and 15(b), displaying the front and lateral views of the breast, respectively. The anatomical breast has dimensions of 144 mm width, 160 mm height, and 58.4 mm thickness.

Fig. 15
Scanned breast phantom: (a) frontal view and (b) lateral view
Fig. 15
Scanned breast phantom: (a) frontal view and (b) lateral view
Close modal

Figure 16 shows some of the surface temperature images of the anatomically shaped breast with inclusions inserted at different positions.

Fig. 16
Anatomic breast database
Fig. 16
Anatomic breast database
Close modal

The behavior of some familiar parameters in the IA universe can indicate the performance of the optimization procedure. They can be described as categorical accuracy, which computes the mean accuracy rate across all predictions; precision, which is related to the predictions concerning the labels; accuracy, which calculates how often predictions equal labels; epochs is an arbitrary cutoff, generally defined as “one pass over the entire dataset,” used to separate training into distinct phases, which is helpful for logging and periodic evaluation and loss that is typically created by instantiating a loss class and Loss function that is a parameter that computes the quantity that a model should seek to minimize during training.

Figures 17 and 18 represent the convergence of the neural network related to the anatomically shaped breast images. Estimation results using temperature images and thermal impedance images, respectively, are presented. Both figures indicate that the model converges approximately to the number of 175 epochs. However, besides the more significant oscillation, the estimation error value is evident when using temperature images. In turn, the use of impedance images (Fig. 18) allows a curve with fewer oscillations in precision values, and the error function value tends to zero in the neural network convergence values.

Fig. 17
Convergence of the neural network with the breast surface temperature image: (a) precision and (b) loss function
Fig. 17
Convergence of the neural network with the breast surface temperature image: (a) precision and (b) loss function
Close modal
Fig. 18
Convergence of the neural network with the thermal impedance image
Fig. 18
Convergence of the neural network with the thermal impedance image
Close modal

Table 6 depicts the estimation of tumor location with the variation of the positioning in a coordinate and changes in tumor size.

Table 6

Tumor location estimation: positioning variation in one coordinate, second hyperparameter setting

(x, y, z)(72, 80, 70)(75, 80, 70)(78, 80, 70)
R1=2mm(70, 80, 70)(70, 80, 70)(70, 80, 70)
R2=6mm(70, 80, 70)(80, 80, 70)(80, 80, 70)
R3=10mm(70, 80, 70)(70, 80, 70)(80, 80, 70)
(x, y, z)(72, 80, 70)(75, 80, 70)(78, 80, 70)
R1=2mm(70, 80, 70)(70, 80, 70)(70, 80, 70)
R2=6mm(70, 80, 70)(80, 80, 70)(80, 80, 70)
R3=10mm(70, 80, 70)(70, 80, 70)(80, 80, 70)

Our findings suggest that estimating tumor size is possible since thermal impedance images are sensitive to changes in the size of the metabolic heat source. Furthermore, the results showed significant improvement compared to the analysis conducted on temperature images. In this case, a small error was obtained in tumor positioning and the estimation was successful, as the estimated positions were obtained for the closest locations already known by the database.

8 Conclusions

The technique proposed in this study is based on CNNs applied to both thermographic images and thermal impedance images of the breast surface. Two three-dimensional geometries were used for the breast: Cartesian geometry and geometry with accurate shapes obtained by digital scanning of a phantom. The size (radius) and intensity of tumor metabolic heat generation do not significantly alter either the image pixel profiles or the normalized surface temperature profiles. This behavior results in low sensitivity in temperature images related to these parameters. Low sensitivity implies that temperature profiles can be used only for spatial tumor location. However, using the thermal impedance images allows us to determine tumor location and size. A phantom breast scan was used in three-dimensional numerical simulations to estimate the location and size of a simulated tumor.

Funding Data

  • Brazilian Agencies CNPq, CAPES/PROEX, and FAPEMIG.

  • Laboratory of Mechanical Projects (LPM-UFU) and Laboratory of Heat Transfer: Modeling and Experiment (LTCME-UFU).

Data Availability Statement

The authors attest that all data for this study are included in the paper.

Nomenclature

C =

tissue specific heat (J/kg.K)

cb =

blood specific heat (J/kg.K)

CNN =

convolutional neural network

hi =

convection coefficient (W/m2.K)

I =

current (A)

k =

tissue thermal conductivity (W/m.K)

q″0 =

external heat flux (W/m2)

Qm =

heat source due to metabolic heat generation (W/m3)

t =

time (s)

T =

tissue temperature (K)

Ta =

arterial temperature (K)

Tc =

internal temperature (K)

Tst =

tissue temperature in steady-state conditions (K)

T =

room temperature (K)

w =

frequency (Hz)

wb =

blood perfusion rate (1/s)

Z(ω) =

thermal impedance (K/W)

ΔV =

voltage (Volts)

ρ =

tissue specific mass (kg/m3)

ρb =

blood specific mass (kg/m3)

References

1.
Sree
,
S. V.
,
Ng
,
E. Y.-K.
,
Acharya
,
U.,R.
, and
Tan
,
W.
,
2010
, “
Breast Imaging Systems: A Review and Comparative Study
,”
J. Mech. Med. Biol.
,
10
(
1
), pp.
5
34
.10.1142/S0219519410003277
2.
Ghoneim
,
A.
,
Muhammad
,
G.
, and
Hossain
,
M. S.
,
2020
, “
Cervical Cancer Classification Using Convolutional Neural Networks and Extreme Learning Machines
,”
Future Gener. Comput. Syst.
,
102
, pp.
643
649
.10.1016/j.future.2019.09.015
3.
Reddy
,
T. V.
,
Ganesh
,
R.
,
Chandra
,
S. P.
, and
Kavya
,
R.
,
2023
, “
Thyroid Lesion Detection Using Deep Learning Techniques
,”
Int. Res. J. Modernization Eng. Technol. Sci.
,
5
(
3
), pp.
2949
2953
.10.56726/IRJMET S34963
4.
Tutsoy
,
O.
,
Polat
,
A.
,
Colak
,
S.
, and
Balikci
,
K.
,
2020
, “
Development of a Multi-Dimensional Parametric Model With Non-Pharmacological Policies for Predicting the Covid-19 Pandemic Casualties
,”
IEEE Access
,
8
, pp.
225272
225283
.10.1109/ACCESS.2020.3044929
5.
Abhisheka
,
B.
,
Biswas
,
S. K.
, and
Purkayastha
,
B.
,
2023
, “
A Comprehensive Review on Breast Cancer Detection, Classification and Segmentation Using Deep Learning
,”
Arch. Comput. Methods Eng.
,
30
(
8
), pp.
5023
5052
.10.1007/s11831-023-09968-z
6.
Ravikumar
,
A.
,
Sriraman
,
H.
,
Saleena
,
B.
, and
Prakash
,
B.
,
2023
, “
Selecting the Optimal Transfer Learning Model for Precise Breast Cancer Diagnosis Utilizing Pre-Trained Deep Learning Models and Histopathology Images
,”
Health Technol.
,
13
(
5
), pp.
721
745
.10.1007/s12553-023-00772-0
7.
Trang
,
N. T. H.
,
Quynh
,
L. K.
,
An
,
P. L.
, and
Dang
,
T. N.
,
2023
, “
Development of an Artificial Intelligence-Based Breast Cancer Detection Model by Combining Mammograms and Medical Health Records
,”
Diagnostics
,
13
(
3
), p.
346
.10.3390/diagnostics13030346
8.
Majumdar
,
S.
,
Pramanik
,
P.
, and
Sarkar
,
R.
,
2023
, “
Gamma Function Based Ensemble of Cnn Models for Breast Cancer Detection in Histopathology Images
,”
Exp. Syst. Appl.
,
213
, p.
119022
.10.1016/j.eswa.2022.119022
9.
Desai
,
M.
, and
Shah
,
M.
,
2021
, “
An Anatomization on Breast Cancer Detection and Diagnosis Employing Multi-Layer Perceptron Neural Network (MLP) and Convolutional Neural Network (CNN)
,”
Clin. eHealth
,
4
, pp.
1
11
.10.1016/j.ceh.2020.11.002
10.
Tsochatzidis, L., Koutla, P., Costaridou, L., and Pratikakis, I., 2021, “Integrating Segmentation Information Into CNN for Breast Cancer Diagnosis of Mammographic Masses,”
Comput. Methods Programs Biomed
, 200, pp.
105913
105922
.10.1016/j.cmpb.2020.105913
11.
Parisky
,
Y.
,
Sardi
,
A.
,
Hamm
,
R.
,
Hughes
,
K.
,
Esserman
,
L.
,
Rust
,
S.
, and
Callahan
,
K.
,
2003
, “
Efficacy of Computerized Infrared Imaging Analysis to Evaluate Mammographically Suspicious Lesions
,”
Am. J. Roentgenol.
,
180
(
1
), pp.
263
269
.10.2214/ajr.180.1.1800263
12.
Arora
,
N.
,
Martins
,
D.
,
Ruggerio
,
D.
,
Tousimis
,
E.
,
Swistel
,
A. J.
,
Osborne
,
M. P.
, and
Simmons
,
R. M.
,
2008
, “
Effectiveness of a Noninvasive Digital Infrared Thermal Imaging System in the Detection of Breast Cancer
,”
Am. J. Surg.
,
196
(
4
), pp.
523
526
.10.1016/j.amjsurg.2008.06.015
13.
Kapoor
,
P.
, and
Prasad
,
S.
,
2010
, “
Image Processing for Early Diagnosis of Breast Cancer Using Infrared Images
,”
The 2nd International Conference on Computer and Automation Engineering
(
ICCAE
), Singapore, Feb. 26–28, pp.
564
566
.10.1109/ICCAE.2010.5451827
14.
Mitra
,
S.
, and
Balaji
,
C.
,
2010
, “
A Neural Network Based Estimation of Tumour Parameters From a Breast Thermogram
,”
Int. J. Heat Mass Transfer
,
53
(
21–22
), pp.
4714
4727
.10.1016/j.ijheatmasstransfer.2010.06.020
15.
Das
,
K.
, and
Mishra
,
S. C.
,
2015
, “
Simultaneous Estimation of Size, Radial and Angular Locations of a Malignant Tumor in a 3-d Human Breast–a Numerical Study
,”
J. Therm. Biol.
,
52
, pp.
147
156
.10.1016/j.jtherbio.2015.07.001
16.
Figueiredo
,
A. A. A.
,
Fernandes
,
H. C.
, and
Guimaraes
,
G.
,
2018
, “
Experimental Approach for Breast Cancer Center Estimation Using Infrared Thermography
,”
Infrared Phys. Technol.
,
95
, pp.
100
112
.10.1016/j.infrared.2018.10.027
17.
Menegaz
,
G. L.
,
Tsuruta
,
K. M.
,
Finzi Neto
,
R. M.
,
Steffen
,
V.
, Jr
,
Araujo
,
C. A.
, and
Guimarães
,
G.
,
2019
, “
Use of the Electromechanical Impedance Method in the Detection of Inclusions: Application to Mammary Tumors
,”
Struct. Health Monit.
,
20
(
3
), pp.
818
833
.10.1177/1475921718825138
18.
Menegaz
,
G. L.
, and
Guimaraes
,
G.
,
2019
, “
Development of a New Technique for Breast Tumor Detection Based on Thermal Impedance and a Damage Metric
,”
Infrared Phys. Technol.
,
97
, pp.
401
410
.10.1016/j.infrared.2019.01.019
19.
Jha
,
S.
,
Khalf
,
M. F.
, and
Karthick
,
M.
,
2023
, “
Convolutional Neural Networks for Breast Cancer Detection Using Regions of Interest From Infrared Images
,”
Tamjeed J. Healthcare Eng. Sci. Technol.
,
1
(
2
), pp.
44
53
.10.59785/tjhest.v1i2.25
20.
Tsietso
,
D.
,
Yahya
,
A.
,
Samikannu
,
R.
,
Tariq
,
M. U.
,
Muhammad
,
B.
,
Qureshi
,
B.
, and
Koubaa
,
A.
,
2023
, “
Multiinput Deep Learning Approach for Breast Cancer Screening Using Thermal Infrared Imaging and Clinical Data
,”
IEEE Access
,
11
, pp.
52101
52116
.10.1109/ACCESS.2023.3280422
21.
Mammoottil
,
M. J.
,
Kulangara
,
L. J.
,
Cherian
,
A. S.
,
Mohandas
,
P.
,
Hasikin
,
K.
, and
Mahmud
,
M.
,
2022
, “
Detection of Breast Cancer From Five-View Thermal Images Using Convolutional Neural Networks
,”
J. Healthcare Eng.
,
2022
, pp.
1
15
.10.1155/2022/4295221
22.
Pennes
,
H. H.
,
1948
, “
Analysis of Tissue and Arterial Blood Temperatures in the Resting Human Forearm
,”
J. Appl. Physiol.
,
1
(
2
), pp.
93
122
.10.1152/jappl.1948.1.2.93