Abstract

This study was aimed to explore the magnetic resonance imaging (MRI) image features based on the fuzzy local information C-means clustering (FLICM) image segmentation method to analyze the risk factors of restroke in patients with lacunar infarction. In this study, based on the FLICM algorithm, the Canny edge detection algorithm and the Fourier shape descriptor were introduced to optimize the algorithm. The difference of Jaccard coefficient, Dice coefficient, peak signal-to-noise ratio (PSNR), structural similarity index measure (SSIM), running time, and segmentation accuracy of the optimized FLICM algorithm and other algorithms when the brain tissue MRI images were segmented was studied. 36 patients with lacunar infarction were selected as the research objects, and they were divided into a control group (no restroke, 20 cases) and a stroke group (restroke, 16 cases) according to whether the patients had restroke. The differences in MRI imaging characteristics of the two groups of patients were compared, and the risk factors for restroke in lacunar infarction were analyzed by logistic multivariate regression. The results showed that the Jaccard coefficient, Dice coefficient, PSNR value, and SSIM value of the optimized FLICM algorithm for segmenting brain tissue were all higher than those of other algorithms. The shortest running time was 26 s, and the highest accuracy rate was 97.86%. The proportion of patients with a history of hypertension, the proportion of patients with paraventricular white matter lesion (WML) score greater than 2 in the stroke group, the proportion of patients with a deep WML score of 2, and the average age of patients in the stroke group were much higher than those in the control group (). Logistic multivariate regression showed that age and history of hypertension were risk factors for restroke after lacunar infarction (). It showed that the optimized FLICM algorithm can effectively segment brain MRI images, and the risk factors for restroke in patients with lacunar infarction were age and hypertension history. This study could provide a reference for the diagnosis and prognosis of lacunar infarction.

1. Introduction

Lacunar cerebral infarction (LCI) is a common type of ischemic stroke, and LCI patients in China account for more than 25% of cerebral infarction [1]. At present, imaging techniques such as computed tomography (CT) and magnetic resonance imaging (MRI) are often used to diagnose patients with lacunar infarction. When CT is used to diagnose lacunar cerebral infarction, there are low-density changes in the lesion site and the boundary is unclear. At the same time, it is less sensitive to the brain tissue edema caused by lacunar infarction. If the patient undergoes a CT examination less than 24 hours after the onset of the disease, the infarct focus of the brain tissue has not changed significantly at this time, so the positive rate of CT examination is low. MRI is often used in the diagnosis and treatment of intracerebral atherosclerosis due to its noninvasive, simple operation and high resolution [2]. MRI has higher tissue resolution, can clearly display early lesions, and is very sensitive to cytotoxic edema and interstitial edema. The diffusion-weighted imaging (DWI) sequence can show the lesions 3 hours after the onset of lacunar infarction, and low-field MRI scans for lacunar infarctions are significantly better than CT scans [3]. Current research results show that the history of hyperlipidemia, hypertension, diabetes, obesity, and smoking is a risk factor for LCI [4, 5], but the related risk factors for restroke in LCI patients are still unclear.

At present, traditional clustering techniques and deep learning algorithms are often used to segment them. Among them, deep learning shows the advantages of fast calculation, speed, and high accuracy and is widely used in medical image processing [6]. However, in the process of extracting the features of MRI images, the deep learning method requires multiple feature learning training, and it can be applied to the segmentation of the test set image. It ignores the brain structure features [7], so its segmentation accuracy needs to be further improved. Based on the fuzzy local information C-means clustering (FLICM) algorithm in the image segmentation process, not only the domain information of the pixels is considered but also the parameters can be updated through continuous iteration, which can effectively improve the accuracy of image segmentation [8]. However, the FLICM algorithm only uses the characteristics of the image itself in the process of segmenting the middle H-shaped region of the cerebrospinal fluid and does not combine the unique biological structure of the brain, which needs to be further optimized.

In summary, the relevant risk factors for restroke in LCI patients are still unclear, and the FLICM algorithm still has certain limitations in the segmentation of MRI brain tissue. In this study, an MRI image brain tissue segmentation method was established based on the LCM algorithm, and it was applied to the diagnosis of LCI. According to the MRI image features of LCI patients, the relevant risk factors of restroke were evaluated, so as to provide reference for the diagnosis and prognosis of LCI patients.

2. Materials and Methods

2.1. Brain Tissue Image Segmentation Method Based on the FLICM Algorithm

The FLICM algorithm is a robust image segmentation algorithm based on fuzzy clustering of local spatial information [9]. It can update the parameters through multiple iterations to minimize the objective function. The objective function can be expressed as the following equation:

Here, xi is a vector of m, which represents the pixel dataset in the image, and ; b refers to the number of categories; is the membership function of xi belonging to the j-th category; represents the cluster center of the j-th category, and is the Euclidean distance between the two data; and is the fuzzy factor, which can be calculated as follows:

In equation (2), ni represents a 3 × 3 area centered on pixel i and represents the Euclidean distance between two points.

The calculation methods of the clustering center and the membership function of the FLICM algorithm are given as the following equations:

The FLICM algorithm can get the initial contour of the level set evolution, but it cannot realize the automatic segmentation of medicine, so the level set method was applied to control its parameters in this study. It was assumed that the target area was R. The level set initialization can be expressed as the following equation:

In equation (5), represents the binary image obtained by the target area R through the threshold . The threshold can be adjusted to make B close to the standard segmentation of the target area. refers to the adjusted Dirac function. The calculation method to obtain the two evaluation parameters according to the initialization level set could be expressed as follows:

It was assumed that the ratio of the parameters and was ; then, . The value of was related to the evolution speed of the level set, and each control parameter of the level set can be evaluated by the value.

The brain tissue image segmentation method based on the FLICM algorithm can obtain the initial classification label of each pixel according to the FLICM algorithm, and the segmented image was obtained after the initial classification label processing. The specific process of brain tissue image segmentation based on the FLICM algorithm is shown in Figure 1.

2.2. Establishment of a Segmentation Method for the Middle H-Shaped Region in the Cerebrospinal Fluid Based on the FLICM Algorithm

Before the H-shaped region in the cerebrospinal fluid of the MRI image was segmented, the MRI image had to be preprocessed. In addition to the conventional denoising, the preprocessing of brain MRI images also needed to be processed to remove the skull. The Canny edge detection algorithm has a simple processing process, good real time performance, and good anti-interference performance, so it is suitable for edge detection of MRI images [10]. It was supposed that was the impulse response of the boundary filter and was the edge function. The edge response function of the image filtered by can be expressed as the following equation:

The square root of the noise response is expressed as follows:

In equations (9)∼(10), represents the uniform difference of Gaussian noise and Fz represents the square root of the noise response.

The edge positioning accuracy D is defined as follows:

In equation (11), and are the derivatives of and , respectively.

The average distance of the zero-crossing point of the impulse response derivative of the detection operator shall satisfy the following condition:

In equation (12), is the second derivative of .

The smoothing and denoising were performed on the original image to obtain a smooth image . It was supposed that the two-dimensional Gaussian function was expressed as follows:

Then, equation (14) could be used to solve the first-order directional derivative of the Gaussian function in direction n:

Here, n is the direction vector and and is the gradient vector and .

The Canny operator was based on two-dimensional convolution . In order to improve the operation efficiency of the Canny operator, the two-dimensional convolution template of can be decomposed into two one-dimensional filters, namely,

Here, , , , and . The image is convolved according to equation (16), and then, the following equations could be obtained:

In equations (15)∼(18), k is a constant and σ is a Gaussian filter parameter. The partial derivatives of the image along the x and y directions could be written as follows:

The gradient magnitude and direction of each pixel in the image can be expressed as the following equations:

The Fourier descriptor is often used to represent the shape features of a single closed curve [11]. The coordinate sequence of the N point on the image boundary after moving counterclockwise can be expressed as the following equation:

The complex number for each boundary point could be expressed as follows:

The discrete Fourier transform coefficients can be expressed as the following equation, in which refers to the Fourier descriptor:

After the MRI image was preprocessed, the Fourier shape descriptor and Canny operator were used to identify its H-shaped area to obtain a grayscale histogram. After the threshold range was adjusted to reach the termination condition, the middle H-shaped region segmentation of the cerebrospinal fluid in the MRI image was obtained, and the specific process is shown in Figure 2.

2.3. Test Environment and Evaluation of MRI Image Segmentation Performance

The software environment for this experiment was the Windows 10, 64-bit system; the hardware environment was the central processing unit (CPU): Intel (R) Core (TM) i5-8265 U CPU @1.6 GHz, 1.80 GHz; the hard disk was 1040 G; and the memory was 16 G.

The Jaccard coefficient and Dice coefficient were used to evaluate the performance of MRI image segmentation. The Jaccard coefficient represented the degree of coincidence between the segmented image and the standard segmented image, and the value range was [0, 1]. The Dice coefficient was used to evaluate the accuracy of the segmentation algorithm. The calculation methods of the Jaccard coefficient and the Dice coefficient are as follows:

The peak signal-to-noise ratio (PSNR) and structural similarity (SSIM) were used to analyze the quality of segmented images. The PSNR is commonly used to evaluate the difference between the image to be tested and the standard image. The calculation method is given as follows:

The SSIM evaluation results were more similar to human senses [12]. The calculation method of SSIM is expressed in the following equation:

In equations (28) and (29), A0 represents the part of the standard segmented image that belongs to category i, Bi represents the part of the image segmented by the segmentation algorithm that belongs to category i, M denotes the peak signal, MSE (A0, Bi) denotes the image mean square error, L (A0, Bi) represents the brightness contrast, C (A0, Bi) refers to the contrast, and S (A0, Bi) refers to the structure contrast.

2.4. Research Objects and Their Grouping

36 LCI patients diagnosed in hospitals from February 2019 to June 2020 were selected as the research objects. All patients underwent cranial MRI examination, including 25 males and 11 females. The age range of the patients was 42–86 years, with an average age of 59.45 ± 6.19 years. The inclusion criteria were defined as follows: patients with ischemic stroke with neurological deficit symptoms within one month of onset and patients whose follow-up MRI interval was >2 months. The exclusion criteria were defined as follows: patients with extensive cerebral infarction; patients with a history of malignant tumors; patients with severe liver or renal insufficiency; and patients with a history of mental illness and family history. Patients were divided into a control group (without restroke, 20 cases) and a stroke group (with restroke, 16 cases) according to whether they had restroke. The process had been approved by the ethics committee of the hospital, and all subjects included in the study had signed the informed consent forms.

2.5. MRI Examination and Lesion Measurement Method

All patients were examined with a 3.0 TMRI scanner. Diffusion-weighted imaging (DWI) scanning parameters were determined as follows: the time of repetition (TR) was 4100 ms, time of echo (TE) was 102 ms, field of view (FOV) was 230 mm, and layer thickness was 5 mm. The parameters of T2-weighted imaging (T2WI) were determined as follows: TR was 6000 ms, TE was 125 ms, FOV was 240 mm, and layer thickness was 5 mm.

The MRI image scanning and lesion diameter measurement of all patients were completed by a neurologist and an imaging doctor. The diameter of the lesion was measured on the DWI sequence in the MRI image, and the largest diameter was selected through multiple measurements.

2.6. Observation Indicators and Standards

The clinical data and imaging characteristics of patients at the time of enrollment were collected. The clinical data included the patient’s age, gender, urine protein, and disease history. The MRI features of asymptomatic cerebral infarction (SCI), white matter lesions (WMLs), and perivascular space (PVS) of the patients were collected and measured.

The Fazekas scale [13] was used to evaluate the lateral paraventricular and deep WML scores. The paraventricular WML score can be graded into 4 levels: 0 points (no lesions were seen), 1 point (cap-shaped/pencil linear lesions were visible), 2 points (smooth and ring-shaped lesions were visible), and 3 points (irregular lesions to the deep white matter can be seen). The deep WML score can also be graded into four levels: 0 points (no lesions were seen), 1 point (spotted lesions were visible), 2 points (visible lesions began to merge), and 3 points (large patches of lesions were visible fusion).

2.7. Statistical Analysis

The test data were processed using SPSS20.0 statistical software. The mean ± standard deviation ( ± s) of the measurement data was expressed by the t-test, the count data were expressed by the percentage (%), and the test was used. indicated that the difference was statistically significant.

3. Results

3.1. Analysis of the Brain Tissue MRI Image Segmentation Results Based on the FLICM Algorithm

The brain tissue of the original brain MRI image (Figure 3(a)) was segmented by the FLICM algorithm optimized in this study. The segmented brain white matter image (Figure 3(b)), cerebrospinal fluid image (Figure 3(c)), and brain gray matter image (Figure 3(d)) showed that the optimized FLICM algorithm can completely segment different brain tissues from brain MRI images.

3.2. Performance of Brain Tissue MRI Image Segmentation Based on the FLICM Algorithm

The optimized FLICM algorithm in this study was compared with the fuzzy C-means algorithm (FCM) and convolutional neural network (CNN) segmentation of brain tissue MRI images of the brain white matter Jaccard coefficients (Figure 4). As the noise level continued to increase, the Jaccard coefficients of different segmentation algorithms showed a downward trend. Under the same noise, the Jaccard coefficient of the optimized FLICM algorithm was remarkably higher than that of the other algorithms.

The optimized FLICM algorithm in this study was compared with the FCM algorithm and CNN algorithm in segmentation of brain tissue MRI images of the brain gray matter Jaccard coefficient (Figure 5). As the noise level continued to increase, the Jaccard coefficients of different algorithms for brain gray matter segmentation all showed a downward trend. Under the same noise, the Jaccard coefficient of the optimized FLICM algorithm was much higher in contrast to that of the other algorithms.

The Dice coefficients in the white matter of brain tissue MRI images with different algorithms were analyzed and compared, and the results are illustrated in Figure 6. As the noise level continued to increase, the Dice coefficients of different algorithms for brain white matter segmentation all showed a downward trend. Under the same noise, the Dice coefficient of the optimized FLICM algorithm was obviously higher than the coefficients of the other algorithms.

The Dice coefficient of gray matter in MRI images of brain tissues with different algorithms was compared, and the results are given in Figure 7. As the noise level continued to increase, the Dice coefficient of gray matter segmentation by different algorithms showed a downward trend. Under the same noise, the Dice coefficient of the optimized FLICM algorithm was obviously higher than that of the other algorithms.

3.3. Evaluation of the Segmentation Quality of MRI Images Based on the FLICM Algorithm

The PSNR values of the brain tissue MRI images with different algorithms were compared, and the results are disclosed in Figure 8. As the noise density increased, the PSNR values of the brain tissue MRI image segmentation by different algorithms showed a downward trend. Under the same noise, the PSNR value of the optimized FLICM algorithm was obviously higher than that of the other algorithms.

The SSIM values of brain tissue MRI images with different algorithms were compared, as given in Figure 9. As the noise density increased, the SSIM values of brain tissue MRI image segmentation by different algorithms showed a downward trend. Under the same noise, the SSIM value of the optimized FLICM algorithm was obviously higher in contrast to the values of other algorithms.

3.4. Comparison of the Running Time and Segmentation Accuracy of MRI Image Segmentation Based on the FLICM Algorithm

The running time and segmentation accuracy of different algorithms for segmenting the brain tissue MRI images were compared for detailed analysis. As illustrated in Figure 10, the optimized FLICM algorithm showed the shortest running time (26 s) and the highest accuracy (97.86%) for segmenting brain tissue MRI images, which were greatly better than those of the other algorithms, showing statistically obvious differences ().

3.5. Imaging Characteristics of LCI MRI Images

In the abnormal white matter signal, the T1 sequence showed an equal/low signal (Figure 11(a)) and the T2/flair sequence showed a high signal (Figures 11(b) and 11(c)), with unclear edges and no cavitation in the lesion. A lacunar infarct (shown by the red arrow in the figure) was found on the MRI image, with a diameter of 3 to 15 mm, showing the characteristics of the cerebrospinal fluid signal.

The abnormal perivascular space showed a low signal on the T1-weighted image (T1WI) (Figure 12(a)) and a high signal on the T2-weighted image (T2WI) (Figure 12(b)) on MRI, and the maximum diameter of the lesion was less than 3 mm, which was similar to the signal characteristics of the cerebrospinal fluid (shown by the red arrow in the figure).

WMLs on MRI showed a flair high signal (Figure 13(a)), T1WI low signal (Figure 13(b)), and T2WI high signal (Figure 13(c)), and the lesions were mostly located in the deep white matter of the brain and around the lateral ventricles (shown by the red arrow in the figure).

3.6. Risk Factors of LCI Restroke

The gender, age, and disease history of the two groups were compared, and the results are shown in Figure 14. The proportion of patients with a history of hypertension in the stroke group was much higher than that in the control group (). There was a great difference in the location of the lesion between the two groups (). The proportion of patients with WML scores greater than 2 in the stroke group was higher than that in the control group (), and the proportion of patients with deep WML scores of 2 in the stroke group was higher than that in the control group (). In addition, the average age of patients in the stroke group was observably higher in contrast to that of the control group ().

Logistics was used for multivariate regression analysis (Table 1). Age and history of hypertension were risk factors for LCI restroke (). The location of the lesion and the WML score of the lateral ventricle were greater than 2 points, and the deep WMLs score was 2 points, showing no correlation with the occurrence of LCI restroke ().

4. Discussion

Based on the FLICM algorithm, the level set method was introduced to automatically segment the brain tissue MRI image, and the Canny edge detection algorithm and Fourier shape descriptor were introduced to identify and segment the middle H-shaped area of the cerebrospinal fluid in this study. The results showed that, under different noise levels, the Jaccard coefficient, Dice coefficient, PSNR value, and SSIM value of the optimized FLICM algorithm for brain tissue white matter and gray matter segmentation were higher than those of the FCM and CNN algorithms. It suggested that the optimized FLICM algorithm in this study can effectively improve the segmentation performance and image quality of MRI images. The traditional FCM algorithm does not take into account the spatial information between image pixels, which makes image segmentation less robust, resulting in a severe degradation of noise image segmentation performance [14]. The FLICM algorithm in this study took into account both the image gray information and the spatial position information, so the segmentation performance was greatly improved [15]. The Canny operator has a certain ability to suppress noise [16], which further improves the quality of segmented images. The research results in this study revealed that the shortest running time of the optimized FLICM algorithm to segment brain tissue MRI images was 26 s, and the highest accuracy was 97.86%, which was much better than other algorithms (). This is because the introduction of the level set method in the FLICM algorithm reduces the defect of constantly initializing the contour of the curve [17] and increases its segmentation speed and segmentation accuracy. Zavala Bojorquez et al. [18] used wavelet coefficients as the features vector of the image, adopted the principal component analysis (PCA) to reduce the dimensionality of the features vector, and segmented the MRI image after optimizing the parameters of the support vector machine using the genetic algorithm PSO; it was found that the segmentation accuracy was 91.33%. Pereira et al. [19] used the optimized CNN model to segment brain MRI images and found that the segmentation accuracy was 94.2%. The segmentation accuracy of the optimized FLICM algorithm in this study was visibly better than that of these algorithms.

The results of this study indicated that age and history of hypertension are risk factors for LCI restroke (). The location of the lesion, lateral paraventricular WML score greater than 2 points, and deep WML score 2 points showed no correlation with LCI restroke (). Li et al. [20] pointed out that age and hypertension are risk factors for small vascular disease in patients with LCI, which were similar to the results of this study. WMLs are related to small blood vessel stenosis or occlusion [21], and they are related to factors such as age, genetics, and environmental factors. The WMLs increase the risk of ischemic stroke [22].

5. Conclusions

The FLICM algorithm was optimized and applied to the diagnosis and prognosis analysis of LCI patients in this study. The result was that the optimized FLICM algorithm improved the accuracy and speed of MRI image segmentation and age and history of hypertension were risk factors for LCI restroke. However, there were still some shortcomings in this study. There were few cases included in this study, and there may be errors in the analysis of MRI image features. In future work, we will increase the sample size and further analyze the correlation between MRI image features and LCI restroke. In summary, the optimized FLICM algorithm can effectively segment MRI images, and age and history of hypertension were risk factors for LCI restroke. The results of this study could provide a reference for the diagnosis and prognosis of LCI.

Data Availability

The data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

The authors declare no conflicts of interest.