Abstract

This study was aimed to explore the diagnostic features of magnetic resonance imaging (MRI) on hepatocellular carcinoma (HCC) and hepatic cavernous hemangioma (HCH). A fireworks algorithm optimization (FAO) was proposed based on the fireworks algorithm (FA), and it was compared with the maximum between-class variance method (OTSU) and the maximum entropy threshold method (KSW) for analysis. In addition, it was applied to the diagnosis of MRI images of 55 HCC patients in the experimental group (group E) and 55 HCH patients in the control group (group C). It was found that the FAO showed a greatly lower difference function (DF) and a shorter running time in contrast to the OTSU and KSW algorithms (); the diagnostic accuracy (DA) of the T1-weighted image (T1WI) for patients in groups E and C was 85.31% and 95.85%, respectively, and the DA of the T2-weighted image (T2WI) was 97.84% (group E) and 89.71% (group C), respectively. In short, FAO showed an excellent performance in segmentation and reconstruction of MRI images for liver tissue, and T1WI and T2WI of MRI images showed high accuracy in diagnosing the HCC and HCH, respectively.

1. Introduction

HCC is one of the main malignant tumors causing cancer deaths worldwide and the main cause of death in patients with liver cirrhosis. It is the most common type of primary liver cancer [1, 2]. The most common clinical symptoms of HCC are liver pain, hepatomegaly, jaundice, signs of liver cirrhosis, systemic manifestations (such as weight loss, fever, loss of appetite, fatigue, and malnutrition), and even cachexia in severe cases [3]. There are many reasons for HCC, including various liver diseases, alcoholism, hepatitis B virus (HBV), and hepatitis C virus (HCV). HCH is the most common benign tumor, mainly due to the expansion and proliferation of capillaries in the liver or hepatic sinusoids. Academia generally believes that the occurrence of HCH is related to certain congenital factors, estrogen, certain drugs, and capillary tissue infections [4, 5]. HCH is often seen in B-ultrasound or during abdominal surgery, and there is no obvious clinical phenomenon in general patients. Only when the tumor is large or the tumor grows rapidly, will the abdominal mass, gastrointestinal discomfort, tumor rupture and bleeding, rapid growth of intratumoral bleeding, giant hemangioma, accompanied by thrombocytopenia and systemic bleeding tendency, and other related symptoms be found [6]. Therefore, if HCC and HCH are accurately identified, it is also a hotspot in clinical practice.

MRI is a new imaging technology developed in the 1980s. It can not only obtain detailed diagnostic images of human organs and tissues but also detect the chemical components and reactions of living organs and tissues. It is featured with clear images, high resolution, various parameters, and good soft tissue display [7, 8]. With the continuous development of technology in the medical field, high-end MRI technology based on conventional MRI has gradually been applied to the liver. Among them, diffusion-weighted image (DWI) focuses on the comparison of the dispersion of water molecules between tissues. It can obtain the characteristic information of the distribution and movement of water molecules in the living body and can be undertaken as a routine sequence for MRI scanning of the liver [9, 10]. The FA is inspired by the process of firework explosions producing sparks and continuing to split the explosion. It is mainly an explosion search mechanism suitable for global optimization and can be used as the solution space for optimization. In a feasible solution, the process of generating a certain number of sparks in the explosion is the process of searching the neighborhood [11]. Compared with genetic algorithm (GA), the FA can better avoid premature maturity, achieve excellent global convergence for high-dimensional functions, and has better adaptability [12]. Therefore, a new image segmentation and reconstruction algorithm was intended to be constructed in this study based on the FA to further explore the clinical diagnosis of HCC and HCH.

In summary, the FA is superior to the medical image evaluation. Based on this, an FAO was proposed by optimizing the FA, and it was applied in the MRI image diagnosis of 55 HCC patients in group E and 55 HCH patients in group C. The general information, lesion distribution, different sequence types, and DA of two groups of patients were compared so as to discuss the clinical characteristics of MRI images of HCC and HCH.

2. Materials and Methods

2.1. Selection of the Research Samples

110 patients who were admitted to the hospital for liver MRI examination from January 10, 2018, to February 15, 2020, were selected as the research objects, and they were divided into group E (with 55 HCC patients) and group C (with 55 HCH patients). In group E, there were 36 males and 19 females, with an age range of 19–64 years old; in group C, there were 35 males and 20 females, with an age range of 18–61 years old. The study had been approved by the Medical Ethics Committee of Hospital, and the patients and their families had understood the situation of the study and signed the informed consent forms.

The inclusion criteria could be defined as follows: patients diagnosed with HCC or HCH by surgical pathology; patients with evidence of liver cirrhosis; patients with clear consciousness and being able to cooperate with the examination; and patients with elevated alpha-fetoprotein caused by other causes (pregnancy, active liver disease, and secondary liver disease).

The exclusion criteria were defined as follows: patients younger than 18 years old; patients with mental illness; patients who had undergone surgery; patients with hypersensitivity to contrast agents; and patients with MRI examination contraindications.

2.2. MRI Examination

A new generation of 1.5T Signa HDxt nuclear MRI instrument from GE of the United States was used to examine the patient, equipped with an 8-channel phased array coil of the body produced by Jiangyin Wankang Medical Technology Co., Ltd. Before the scan, the patient was required to be in fasting and be without drinking water for 8 hours and undergo breathing training. The patient was placed in a supine position, with the feet in front, and the xiphoid was positioned. The scanning parameters were set as follows: the matrix was 128 × 128, the layer thickness was 2.5 mm, the layer spacing was 1.5 mm, the field of view was 30 × 30 cm, the time of repetition (TR) was 520 ms, and the time of echo (TE) was 35 ms. After the scan was completed, the image was sent to the workstation for image reconstruction and diagnostic analysis. The largest level with more uniform lesion signal was selected, the region of interest (ROI) within the lesion was determined, the lesion distribution position and different sequence signal types are measured, and DA was calculated.

2.3. Image Segmentation and Reconstruction Algorithm Based on the FA

The traditional threshold segmentation algorithm could obtain good image segmentation results, but it had the disadvantages of being susceptible to noise interference and unstable segmentation quality. The OTSU [13] was an algorithm to determine the image binarization segmentation threshold. Its calculation was simple and fast, and it was not affected by image brightness and contrast. Therefore, the gray level of the image was assumed to be , and then the OTSU could be expressed as follows:

In equation (1), referred to the number of pixels with gray value i, and . is the probability of gray value i. Then, the threshold x was introduced to divide the image into two categories, R0 and R1, which could be written as follows:

The sum of the two possibilities could be calculated with the following equations:

In the above equations (4) and (5), represented the sum of the probabilities of pixels under R0 and represented the sum of the probabilities of R1 pixels. Next, θ0 and θ1 were introduced to represent the average value of the two categories of pixels and θz represented the total average value of the pixels of the image, and then following equations could be obtained:

In the above equations (6), (7), and (8), . The variance of R0 and R1 could be expressed as equations (9) and (10), respectively:

In the above two equations, represented the pixel variance of R0 and referred to the pixel variance of R1. Similarly, the between-class and within-class variances R0 and R1 could be calculated with the following equations:

In equations (11) and (12) above, and represented the between-class variance and the within-class variance of R0 and R1, respectively. If threshold x could maximize the between-class variance and minimize the within-class variance, then x at this time would be the best threshold, which could be expressed as follows:

Therefore, solving the optimal threshold of segmented images was successfully concerted into finding the optimal value of the fitness function. The OTSU was more sensitive to the image noise, so the between-class variance function might have double peaks or multiple peaks when the target and background size ratio was very large. Therefore, the FA was introduced to optimize the steps, and the optimal solution was achieved through multiple iterations.

The operation process is shown in Figure 1. The medical image to be segmented was inputted, the gray value distribution was obtained, and the value range of the firework population was defined; a certain number of fireworks were initialized in the solution space, including the number of population and number of iterations, and the fitness function value of each firework was calculated; the number of sparks produced by each firework and the explosion range of the firework were obtained so as to determine the location of the explosion spark; the Gaussian spark was obtained with the Gaussian mutation based on the original firework. If the spark exceeded the boundary, the function fitness values of firework, explosion spark, and Gaussian spark were solved by mapping rules. The optimal fitness function value was saved with best_val, and the optimal threshold of the segmented image was outputted. Therefore, the image segmentation reconstruction algorithm was set based on FAO in this study.

2.4. Performance Evaluation Indicators of the Algorithms

The OTSU [14] and KSW [15] were introduced to compare with the FAO constructed in this study. The DF, the regional contrast (GC), and the running time were undertaken as the evaluation indicators. They could be calculated with following equations:

In equations (14), (15), and (16), E represented the original image, E represented the segmented image, and referred to the size of the image. The value range of DF was [0, 1]. When the value was close to 0, it meant that the image had strong antinoise ability, and when it was close to 1, it meant that the image had weak antinoise ability. represented the average gray value in a segmented area, and represented the average gray value of adjacent areas of the segmented area. The GC value range was [0, 1]. The larger the value, the better the image segmentation effect.

2.5. Statistical Methods

The data processing was analyzed by SPSS19.0 version statistical software, the measurement data was indicated as mean ± standard deviation (), and the count data was displayed as percentage (%). The pairwise comparisons of DF, GC, and running time of FAO, OTSU, and KSW algorithms were realized with one-way analysis of variance. The age, height, weight, course of disease, ratio of male to female, number of cases of T1WI sequence signal, and the DA were compared in group E and group C by paired t-test. The difference was statistically meaningful at .

3. Results

3.1. Comparison of Diagnosis Performances of Three Algorithms

Figures 2 and 3 show the comparisons of DF, GC, and running time of the three algorithms. Figure 2 revealed that the DF and GC of the OTSU algorithm were 0.539 ± 0.084 and 0.588 ± 0.113, respectively; the DF and GC of the KSW algorithm were 0.544 ± 0.069 and 0.603 ± 0.074, respectively; and the DF and GC of the FAO were 0.254 ± 0.014 and 0.861 ± 0.102, respectively. Figure 3 disclosed that the running time of OTSU, KSW, and FAO was 26.31 ± 6.96s, 28.06 ± 7.33s, and 14.62 ± 10.22s, respectively, of which, the DF and running time of the FAO were greatly shorter than those of the other two algorithms with obvious difference (); the GC of the FAO was higher obviously than that of the OTSU and KSW algorithms with observable differences (); and there was no dramatic difference in DF, GC, and running time of the OTSU algorithm and the KSW algorithm ().

3.2. Comparison of General Information of Two Groups of Patients

Figure 4 shows the comparison of age, height, weight, and disease duration of two groups of patients. The ratio of male and female between the two groups is given in Figure 5. Figures 4 and 5 indicated that the age, height, weight, disease duration, and ratio of males and females of group E were not greatly different from those in group C ().

3.3. MRI Images of Some Patients before Surgery

Figure 6 shows an MRI image of a male HCC patient (aged 50 years old). It displayed that the T2WI sequence was limited; the HCC signal was slightly high; the tumor was visibly and uniformly enhanced in the arterial phase; the right lobe nodules were enlarged; the new, larger, and higher signal foci in the posterior lobe; the small foci showed isointensity; the tumor envelope of large foci was strengthened; and the right portal vein was invaded in the delayed phase. Figure 7 shows an MRI image of a male HCH patient (aged 61 years old). The liquid level showed two different signals on the upper and lower layers and the point-like enhancement at the edge of the tumor strengthened towards the center over time. Except for the cystic degeneration, the entire tumor parenchyma was strengthened, and the density or intensity was uniform.

3.4. Comparison of Lesion Distribution of Patients in Two Groups

The distribution of lesions between the two groups was compared, as shown in Figure 8. It illustrated that there were 31 patients with lesions in the left lobe, 20 cases with the lesions in right lobe, and 4 cases with lesions at the junction of the left and right lobes in group E; there were 30 cases with lesions in the left lobe, 22 cases with lesions in the right liver, and 3 cases with lesions at the junctions in group C. Among them, the number of cases of with lesions in the left liver, right liver, and junction in the group E was not extremely visible in contrast to those in group C ().

3.5. Comparison of MRI Signal and Boundary Definition of Lesions in Patients between Two Groups

Figure 9 shows the comparison of T1WI sequence signal levels for patients between the two groups. It revealed that there was 1 case of T1WI high signal, 34 cases of low signal, 12 cases of equal signal, and 8 cases of confounding signal in group E; there was 1 case of T1WI high signal, 50 cases of low signal, 1 case of equal signal, and 3 cases of confounding signals in group C. Among them, the number of T1WI sequence low signal cases in group E patients was much less than that in group C (); the number of cases with T1WI equal signal and confounding signal in group E patients was dramatically more in contrast to group C (); and the number of patients with T1WI sequence high signal in the two groups was not extremely visible ().

Figure 10 shows the comparison of T2WI sequence signal levels in patients between the two groups. It revealed that there were 6 cases of T2WI high signal, 0 cases of low signal, 10 cases of equal signal, and 39 cases of confounding signal in group E; there were 28 cases of T2WI high signal, 0 cases of low signal, 2 cases of equal signal, and 25 cases of confounding signals in group C. Among them, the number of T2WI sequence high signal cases in group E patients was much less than that in group C (); the number of cases with T2WI equal signal and confounding signal in group E patients was dramatically more in contrast to group C (), and the numbers of patients with T2WI sequence low signal in the two groups were not extremely visible ().

Figure 11 reveals the comparison of DWI sequence signal levels between the two groups of patients. It disclosed that there were 16 cases with DWI sequence high signal, 2 cases with low signal, 10 cases with equal signal, and 37 cases with confounding signal in group E, and there were 19 cases of DWI sequence high signal, 3 cases of low signal, 0 cases of equal signal, and 33 cases of confounding signals in group C. Among them, the number of DWI sequence high, low, equal, and confounding signal cases of group E patients was not extremely different from that in group C ().

3.6. Comparison on DAs of Two Groups of Patients Based on T1WI and T2WI

Comparison of DAs of two groups of patients based on T1WI and T2WI is given in Figure 12. It suggested that the DA of T1WI in groups E and C was 85.31% and 95.85%, respectively; while the DA of T2WI in groups E and C was 97.84% and 89.71%, respectively.

4. Discussion

HCC and HCH are relatively common benign and malignant tumors of the liver. Among them, HCC has the characteristics of high morbidity and high mortality and is one of the main causes of death from tumor diseases. HCH often has no obvious symptoms, and early clinical diagnosis is difficult [16]. Therefore, an image segmentation reconstruction algorithm FAO was proposed based on optimization of FA, and the OTSU and KSW were introduced for comparative analysis. It was found that the DF and running time of the FAO were much shorter in contrast to the Otsu and KSW algorithms, and the GC was much higher (). It was similar to the results of Xu et al. [17], indicating that the FAO showed excellent performance in segmentation and reconstruction of MRI images of liver tissues.

The FAO constructed was applied to the MRI image diagnosis of 55 HCC cases and 55 HCH cases. The results showed that the number of patients with lesions at the left, right, and junction of two liver lobes was not so different with that in group C (), indicating that the distribution of HCC and HCH showed no great difference. The number of cases with T1WI sequence low signal in group E was much less, and the number of patients with equal and confounding signal was extremely more (). Such results were consistent with the results of Puhr-Westerheide et al. [18], so it was speculated that the T1WI sequence equal and confounding signals could be applied for the diagnosis of HCC, and the T1WI sequence low signal could be applied for the diagnosis of HCH. The number of patients with T2WI sequence high signal in group E was less, and the number of equal and confounding signals was more visible. It indicated that the T2WI sequence equal and confounding signals could be applied for the diagnosis of HCC, while its high signal could be utilized for the diagnosis of HCH [19]. The DA of the T1WI sequence signal for groups E and C patients was 85.31% and 95.85%, respectively; while the DA of T2WI sequence signal for the groups C and E was 89.71% and 97.84%, respectively. It was similar to the research results of Esposito et al. [20], indicating that T1WI and T2WI in the MRI image showed high DAs in HCH and HCC, respectively.

In summary, the new image segmentation reconstruction model constructed by the FA was very helpful to improve the quality of MRI images and is helpful for assisting physicians in the interpretation of MRI images. In addition, different MRI sequences showed various evaluation effects for HCC and HCH. T1WI was more suitable for the clinical diagnosis of HCH, and T2WI was more suitable for the clinical diagnosis of HCC. Finally, it could be seen that MRI imaging based on the optimized FA image segmentation model had good application value in the diagnosis of HCH and HCC.

5. Conclusion

An image segmentation reconstruction algorithm FAO was proposed based on optimization of FA, and it was compared with the OTSU and KSW algorithms. In addition, it was applied in the MRI image diagnosis of 55 HCC patients and 55 HCH patients. The results found that the FAO proposed showed excellent performance in segmentation and reconstruction of liver tissue MRI images. T1WI and T2WI of MRI images showed high accuracy in the diagnosis of HCC and HCH. Among them, T1WI could achieve a better diagnosis effect for HCH, and T2WI could achieve a better diagnosis effect for HCC. However, the sample size of patients selected was too small, and there was a certain deviation. In the follow-up, it will consider increasing the sample size of patients and further exploring the application value of FA in liver cancer imaging diagnosis. In short, the results of this study could provide a theoretical basis for the clinical diagnosis of HCC and HCH.

Data Availability

No data were used to support this study.

Conflicts of Interest

The authors declare that there are no conflicts of interest regarding the publication of this article.