A gastric CT image feature recognition and segmentation system
Through the gastric CT image feature recognition and segmentation system, the fuzzy C-means clustering algorithm and multi-threshold processing method are used to automatically segment and identify suspected lesions in gastric CT images, solving the problem of time-consuming and labor-intensive manual analysis and improving efficiency. Diagnostic accuracy and efficiency.
Patent Information
- Application Number
- CN202410881153.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-03
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2044-07-03
AI Technical Summary
In the existing technology, lymph node analysis of stomach CT images requires manual detection, which costs huge time and energy and the results are affected by subjective consciousness, resulting in low diagnostic accuracy and efficiency.
A stomach CT image feature recognition and segmentation system is designed, including a CT image preprocessing module, a segmentation module and a recognition module. It removes interference areas through morphological operations and uses fuzzy C-means clustering algorithm and multi-threshold processing method to automatically segment and identify suspected lesions to improve analysis accuracy.
Through automated processing, the accuracy and efficiency of CT image analysis are improved, manual intervention is reduced, analysis time and cost are significantly reduced, and the objectivity of diagnostic results is improved.
Smart Images

Figure CN118411528B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of image data processing, and in particular to a stomach CT image feature recognition and segmentation system. Background Art
[0002] With the rapid development of medical imaging technology, more convenient conditions have been provided for medical teaching, data transmission and data compression. Through contrast images, the diseased parts inside the human body can be discovered and observed more directly and clearly, which greatly improves the correctness and accuracy of medical diagnosis research.
[0003] In the research and teaching process of gastric diseases, lymph node analysis of gastric computed tomography (CT) images is an important part of daily teaching work. In current work, all CT image slices can only be manually examined to detect, quantitatively evaluate and classify lymph nodes, which is time-consuming and labor-intensive, and the subjective consciousness of humans will greatly affect the results of the analysis, thereby affecting the teaching results. Summary of the invention
[0004] In order to solve the above technical problems, the object of the present invention is to provide a gastric CT image feature recognition and segmentation system, the system comprising:
[0005] A stomach CT image feature recognition and segmentation system, the system comprising:
[0006] A CT image preprocessing module is used to obtain a stomach CT image, and remove interference areas through morphological operations on the CT image to obtain an area to be segmented;
[0007] A segmentation module, used to segment the target area from the area to be segmented using a fuzzy C-means clustering algorithm;
[0008] The identification module is used to apply a multi-threshold processing method to the target area to identify suspected lesions and mark the suspected lesions.
[0009] Furthermore, the CT image preprocessing module further includes:
[0010] The first preprocessing submodule is used to grayscale the stomach CT image to obtain a grayscale image; and perform linear transformation on the grayscale image to increase image contrast.
[0011] Furthermore, the CT image preprocessing module further includes:
[0012] The second preprocessing submodule is used to find the outermost pixels of the CT image after the linear transformation; make a window of preset size with each outermost pixel as the center, and mark all the pixels in the window as interference areas.
[0013] Furthermore, the segmentation module further comprises:
[0014] The clustering submodule is used to give the objective function and constraint conditions of the fuzzy C-means clustering algorithm, and iteratively calculate to obtain a preliminary clustering result that satisfies the objective function and the constraint conditions;
[0015] A correction submodule, used for correcting the preliminary clustering result to obtain a corrected result;
[0016] The segmentation submodule is used to calculate the regional consistency of the correction result and segment the target area according to the regional consistency calculation result.
[0017] Furthermore, the correction submodule is further used for:
[0018] Adjust clustering parameters to obtain suspicious points in the preliminary clustering results under each set of clustering parameters;
[0019] The universality rate of the suspicious points is obtained, and segmented image correction is performed on the suspicious points whose universality rate exceeds a first threshold to obtain a correction result.
[0020] Furthermore, the clustering parameters include at least: the number of cluster centers and clustering fuzzy parameters.
[0021] Furthermore, the segmentation submodule is further used for:
[0022] Calculate regional consistency of multiple tissue regions in the correction results;
[0023] Marking the region where the regional consistency is greater than a second threshold as a consistency region;
[0024] The remaining connected domain obtained by performing a difference between the CT image and the consistent region is the target region.
[0025] Furthermore, the identification module is further used for:
[0026] The target area is segmented using a multi-threshold processing method to obtain a connected domain inside the target area that meets the preset conditions;
[0027] For each connected domain, an outer boundary pixel point sequence of the connected domain is obtained, and a ratio of the number of pixel points in the outer boundary pixel point sequence in the target area to the number of pixel points in the entire outer boundary pixel point sequence is calculated;
[0028] If the ratio is greater than a third threshold, the connected domain is determined to be a suspected lesion.
[0029] Furthermore, the step of obtaining the outer boundary pixel point sequence of the connected domain specifically includes: for any pixel point in each connected domain, determining whether the pixel points in the eight neighborhoods of the pixel point are the pixel points of the connected domain;
[0030] If not, and the pixel points in the eight neighborhoods of the pixel point are pixel points in the target area or the background area, then the pixel points in the eight neighborhoods of the pixel point are the outer boundary pixels of the connected domain;
[0031] The pixel points in the eight neighborhoods of the pixel point are added to the outer boundary pixel point sequence of the connected domain.
[0032] Furthermore, the target area is a fat area.
[0033] The present invention has the following beneficial effects: the present invention obtains a gastric CT image through a CT image preprocessing module, performs morphological operations on the CT image, removes interference areas, and obtains an area to be segmented; the segmentation module segments a target area from the area to be segmented using a fuzzy C-means clustering algorithm; the recognition module applies a multi-threshold processing method to the target area to identify suspected lesions, and marks the suspected lesions; the present invention corrects the clustering results for suspicious points of clustering results under multiple different fuzzy parameters, thereby improving the accuracy of clustering, removes interference areas such as subcutaneous fat through the CT image preprocessing module, improves the calculation accuracy, and solves the technical problem that traditional manual analysis of CT images is time-consuming and labor-intensive. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0035] Figure 1 A schematic diagram of a gastric CT image feature recognition and segmentation system provided by an embodiment of the present invention;
[0036] Figure 2 A schematic diagram of a stomach CT image processed by a first preprocessing submodule provided in one embodiment of the present invention;
[0037] Figure 3 A schematic diagram of a stomach CT image processed by a second preprocessing submodule provided in one embodiment of the present invention;
[0038] Figure 4 A schematic diagram of a target area after being processed by a segmentation module provided in one embodiment of the present invention;
[0039] Figure 5 A schematic diagram of a marking result after being processed by a recognition module provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0040] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of the specific implementation, structure, features and effects of a gastric CT image feature recognition and segmentation system proposed by the present invention in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.
[0041] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
[0042] The specific scheme of a gastric CT image feature recognition and segmentation system provided by the present invention is described in detail below with reference to the accompanying drawings.
[0043] See also Figure 1 , which shows a stomach CT image feature recognition and segmentation system provided by an embodiment of the present invention, the system includes a CT image preprocessing module 110, a segmentation module 120 and a recognition module 130:
[0044] The CT image preprocessing module 110 is used to obtain a stomach CT image, and remove interference areas through morphological operations on the CT image to obtain a region to be segmented.
[0045] In an optional implementation, the CT image preprocessing module 110 further includes: a first preprocessing submodule 1101, configured to grayscale the stomach CT image to obtain a grayscale image; and perform a linear transformation on the grayscale image to increase image contrast.
[0046] Figure 2 FIG. 1 is a schematic diagram of a stomach CT image processed by a first preprocessing submodule according to an embodiment of the present invention; Figure 2 As shown, a stomach CT image of a patient is obtained by a nuclear magnetic resonance apparatus, the stomach CT image is grayed, and a linear transformation is performed on the gray image to increase the image contrast.
[0047] In an optional embodiment, the CT image preprocessing module 110 further includes: a second preprocessing submodule 1102, which is used to find the outermost pixels of the CT image after the linear transformation; make a window of a preset size with each outermost pixel as the center, and mark all pixel points in the window as interference areas.
[0048] Figure 3 FIG. 1 is a schematic diagram of a stomach CT image processed by a second preprocessing submodule according to an embodiment of the present invention. Figure 3 As shown, for lymph node detection in CT images, the subcutaneous fat layer is an interference area and should be removed. The human subcutaneous fat layer has an outermost closed contour in the stomach CT slice and its width is within a certain range. The range can be set to different sizes for removal according to different human bodies. Therefore, first find the outermost pixels of the CT image, and then mark the outermost pixels of the CT image with a pixel band with an inner width of a preset size as an interference area to remove the subcutaneous fat layer. Taking the preset size of 10 as an example, the specific operation is: for each row of the CT image, mark the first and last non-zero element positions of the row; for each column of the CT image, mark the first and last non-zero element positions of the row; the non-zero pixels obtained above are the outermost pixels of the image. With each outermost pixel as the center, make a 10*10 window and mark all pixels in the window as interference areas.
[0049] According to the above steps, the outer wall of the chest cavity, that is, the subcutaneous fat area, can be removed. It should be noted that in this embodiment, the window size is selected as 10*10, and because the thickness of the subcutaneous fat layer of different patients is different, the window size can be selected by the experimenter according to the actual situation.
[0050] The overall logic of this embodiment is: obtain a stomach CT image, perform preprocessing through morphological operations, eliminate interference areas such as the subcutaneous fat layer, use the fuzzy C-means algorithm (FCM) method to preliminarily segment the preprocessed CT image into various regions, and then calculate the grayscale consistency of each region to obtain a complete consistency region (the consistency region includes the background, bone, and organs other than the stomach). Subtract the stomach CT image from the consistency region to obtain the target region (fat region) in the stomach CT image. It should be noted that lesions such as lymph nodes are infiltrated in the fat tissue. Therefore, the target region of this embodiment is the fat region.
[0051] The segmentation module 120 is used to segment the target area from the area to be segmented using the fuzzy C-means clustering algorithm.
[0052] In an optional implementation, the segmentation module 120 further includes: a clustering submodule 1201 , a correction submodule 1202 , and a segmentation submodule 1203 .
[0053] The clustering submodule 1201 is used to give the objective function and constraint conditions of the fuzzy C-means clustering algorithm, and iteratively calculate to obtain a preliminary clustering result that satisfies the objective function and constraint conditions.
[0054] Specifically, FCM is one of the main techniques of unsupervised machine learning. FCM applies the knowledge of fuzzy set theory in the method of sample analysis. It expresses the uncertainty of sample categories and optimizes the objective function to obtain the category of each sample.
[0055] In FCM, the objective function is as follows (1):
[0056] ; (1)
[0057] The constraint condition is as follows (2):
[0058] ; (2)
[0059] In the formula is the objective function; Indicates The sample points are The membership function of the cluster centers is is the sample point With cluster center The Euclidean distance of , is a parameter, m is a fuzzy parameter, and the fuzzy parameter determines the fuzziness of the clustering, where m>1; that is, the degree to which a data point can be divided into multiple classes, and in most cases m=2. The result is optimal when the minimum value is reached; c is the number of cluster centers; n is the number of sample points.
[0060] According to the objective function, the membership matrix is obtained as follows (3):
[0061] ; (3)
[0062] For cluster centers , the calculation method is as follows (4):
[0063] ; (4)
[0064] in, is the i-th cluster center; n is the number of sample points; For the The sample points are The membership matrix of cluster centers; Indicates The sample points are The membership function of the cluster centers; is the sample point With cluster center The Euclidean distance; m is the fuzzy parameter; is the optimal Euclidean distance calculated iteratively.
[0065] Get the cluster center that meets the conditions through the following steps 1-4 And the membership matrix:
[0066] Given the number of clusters and fuzzy parameters ,make ;
[0067] calculate Cluster Centers ;
[0068] Calculate the membership matrix ;
[0069] If the iteration termination condition is met, for example, the preset parameter threshold of the iteration is reached or the number of iteration steps reaches the set maximum value, the algorithm stops, otherwise, go to step 2).
[0070] At this point, the preliminary clustering results of the stomach CT images have been obtained through FCM. However, since the structure of the human chest and abdominal cavity is very complex and CT images are cross-sectional images of the human body, different organs and tissues may appear to be stuck together due to overlap and perspective in the CT images. It is easy to identify the different organs and tissues in the above situation as the same class using only simple clustering operations. Therefore, it is necessary to judge and correct the preliminary clustering results of FCM.
[0071] The correction submodule 1202 is used to correct the preliminary clustering result to obtain a corrected result.
[0072] In an optional embodiment, the correction submodule 1201 is further used to: adjust the clustering parameters to obtain suspicious points in the preliminary clustering results under each set of clustering parameters; obtain the universality rate of the suspicious points, perform segmentation image correction on the suspicious points whose universality rate exceeds the first threshold, and obtain the correction results.
[0073] In an optional implementation, the clustering parameters include at least: the number of cluster centers and clustering fuzzy parameters.
[0074] Specifically, a single clustering cannot accurately judge the quality of the clustering results, so it is necessary to improve the accuracy of the clustering results by analyzing the suspicious points of the clustering results under different parameters for multiple times. In FCM, the adjustable parameters include the number of initial cluster centers c and the selection , , And the fuzzy parameters of clustering , where the fuzzy parameter Controls the fuzziness of the clustering results, that is, The value of determines the distribution of membership of each data point to each cluster center; for example, when When , FCM degenerates into a hard clustering method, that is, each data point can only belong to one cluster center, and the membership degree is 0 or 1; when When The value ranges from 0 to 1, indicating that the data point Belong to multiple cluster centers at the same time degree.
[0075] The edges of most organs are relatively smooth and continuous, and the grayscale values of the internal pixels in the CT grayscale image are relatively uniformly distributed. If FCM successfully divides an independent organ into a class, the edges of the connected domain formed by this class should be relatively smooth and continuous. The chain code can well reflect the edge contour shape of the object, and the first-order difference chain code can represent the degree of change in the chain code direction. Therefore, in this embodiment, the eight-connected chain code can be used to traverse the edge pixels and calculate the first The first-order difference chain code of edge pixels , the first-order difference chain code value The larger the pixel The greater the degree of morphological change is at the edge. And because the grayscale distribution inside the same organ is relatively uniform, while the grayscale values between different organs will be significantly different, the grayscale value of the edge pixel and the grayscale mean difference of the pixel in the connected domain can also be used for judgment. Therefore, these two conditions can be used to find suspicious points on the edge pixels of the connected domain.
[0076] According to the above analysis, the fuzzy parameters The corresponding preliminary clustering result diagram For example, The first The suspiciousness of edge pixels The calculation method of is as follows (5):
[0077] ; (5)
[0078] In the formula, Indicates In the category The first-order difference chain code value of edge pixels; Indicates In the category Gray value of edge pixels; Indicates The grayscale mean of all pixels in a class; Represents the normalization function.
[0079] The above formula (5) is divided into two parts. The first part Indicates In the category The larger the first-order differential chain code value of the edge pixel point, the greater the edge at that point. The more dramatic the change in direction at the point, the more likely it is that the point is near the adhesion of two organs or tissues; the second part Indicates, indicates In the category The gray value of the edge pixel is The greater the difference in the mean grayscale values of pixels in a class, the The more likely it is that the class is not composed of a single organ, and the The more pixels there are, the more likely they are the pixels where the two organs are adhered.
[0080] Similarly, different fuzzy parameters are calculated The suspiciousness of edge pixels of each class in the clustering result under The edge pixel points are marked as suspicious points. In this embodiment, Take [2,5], Take 0.9. About fuzzy parameters Adjustment and suspiciousness threshold Experimenters can choose according to actual conditions.
[0081] So far, different fuzzy parameters have been obtained. Suspicious points among the edge pixels of each cluster in the clustering results below.
[0082] Obtain the universality of suspicious points. Perform image analysis on suspicious points with high universality to obtain the possibility that the local neighborhood of each suspicious point is an adhesion area. Specifically, analyze the distribution of suspicious points under different fuzzy parameters. For example, if the position of a suspicious point does not change after the fuzzy parameter changes, that is, the more times the suspicious point appears in the clustering results under different fuzzy parameters, the higher the universality of the suspicious point is, that is, the greater the possibility that the local area where the suspicious point is located is an adhesion area.
[0083] It should be noted that the position of the suspicious point mentioned above has not changed, which does not mean that the coordinates of a suspicious point remain consistent under multiple fuzzy parameters, because the clustering results obtained under different fuzzy parameters are different. A suspicious point under one fuzzy parameter may not even be a point on the edge of the clustering area under the next fuzzy parameter. So the logic here is: points that are very close in position under different parameters. At the same time, if the gray value difference between the two points that are very close in position is smaller, then the universality rate of the suspicious point is considered to be higher.
[0084] Therefore, based on the above analysis, the point in the lower left corner of the FCM clustering result image is taken as the origin, and a rectangular coordinate system is constructed along the horizontal and vertical directions, with the fuzzy parameters as The corresponding clustering results Taking a suspicious point as an example, the formula for calculating its universality rate is as follows (6):
[0085] ; (6)
[0086] In the formula, The fuzzy parameter is The clustering results of The coordinates corresponding to the suspicious points; The fuzzy parameter is The distance between the clustering result of The coordinates of the nearest suspicious point to the suspicious point; express Gray value of for Gray value of is the normalization function.
[0087] Formula (6) consists of two parts, the first of which is The fuzzy parameter is The clustering results of The suspicious points and fuzzy parameters are The Euclidean distance of the nearest suspicious point in the clustering result. The shorter the distance, the higher the universality rate of the suspicious point. Indicates that the parameter is The clustering results of The gray value and fuzzy parameter of the suspicious point are The gray value difference of the suspicious point closest to it in the clustering result is smaller, which means that the possibility that the two suspicious points represent the same suspicious point is greater, that is, the universality rate of the suspicious point is higher.
[0088] So far, the fuzzy parameters are obtained as The universality rate of all suspicious points in the clustering result is 0.8, for example. If the universality rate of a suspicious point is greater than 0.8, the local neighborhood in the cluster to which the suspicious point belongs is considered to be an incorrectly segmented or adhesion area. The local area where the suspicious point with a universality rate greater than 0.8 is located is corrected for the segmented image to obtain the corrected CT image clustering result.
[0089] For the clusters where suspicious points with high universality are located, there is a high probability that different organs will be mistakenly grouped into the same category. Therefore, the cluster segmentation results need to be corrected. The grayscale values of different organs in the CT image slices will be different, while the grayscale values of the organs themselves are relatively uniform. The specific correction process is: analyze the grayscale histogram of the connected domain in the original CT slice corresponding to the cluster where suspicious points with high universality (i.e. greater than the first threshold) are located; there will be two peaks, and the grayscale value corresponding to the highest peak Instead of adding or subtracting 5 ranges, i.e. All pixels corresponding to the grayscale values in the hard cluster are clustered as the current cluster, that is, the membership of these pixels with the cluster center of the cluster in FCM is set to 1; at the same time, the grayscale value corresponding to the second peak in the histogram is With The membership degree of all pixels corresponding to the grayscale values within the range to the cluster center of the current cluster is set to 0, and thus the correction of the erroneous clustering in the FCM preliminary clustering results of the gastric CT slices is completed.
[0090] The segmentation submodule 1203 is used to calculate the regional consistency of the correction result and segment the target area according to the regional consistency calculation result.
[0091] The correction results include the FCM algorithm segmenting different tissue areas in the human body, and lymph nodes are generally located in adipose tissue, so other background areas such as organs and bones are not areas of concern. Therefore, to extract lymph nodes, it is necessary to first segment the adipose tissue including lymph nodes. By observing the stomach CT images, it can be found that the liver, lungs, stomach and other organs have good regional consistency and large areas, while adipose tissue is more dispersed and its grayscale difference is more obvious. Therefore, it is necessary to segment and mark the organs so that the target areas where fat and lymph nodes are located can be identified at the same time.
[0092] In an optional embodiment, the segmentation submodule 1203 is further used to: calculate the regional consistency of multiple tissue regions in the correction result; mark the region whose regional consistency is greater than a second threshold as a consistency region; make a difference between the CT image and the consistency region, and the remaining connected domain obtained is the target region.
[0093] Calculate the regional consistency of multiple tissue regions in the correction result. Specifically, map each tissue region segmented by the FCM algorithm to the original CT image. The calculation method is as follows (7):
[0094] ; (7)
[0095] In the formula, For Region The standard deviation of the grayscale values of the pixels in Indicates area area; Indicates area Regional consistency means that if a region The smaller the discreteness of the grayscale values of the pixels in the image, the higher the consistency of the area; and if the area The larger the area, the more likely it is that the area is an organ, bone, etc., and the higher the consistency.
[0096] At this point, the regional consistency of each tissue area in the stomach CT slice is calculated. Taking the second threshold of 0.8 as an example, The area is marked as the consistent area, and then the original CT image is subtracted from the consistent area, and the remaining connected domain is the target area (fat area).
[0097] The identification module 130 is used to apply a multi-threshold processing method to the target area to identify suspected lesions and mark the suspected lesions.
[0098] In an optional embodiment, the identification module 130 is further used to: use a multi-threshold processing method to segment the target area to obtain a connected domain inside the target area that meets preset conditions; for each connected domain, obtain the outer boundary pixel point sequence of the connected domain, and calculate the ratio of the number of pixels in the outer boundary pixel point sequence in the target area to the number of pixels in the entire outer boundary pixel point sequence; if the ratio is greater than a third threshold, the connected domain is determined to be a suspected lesion.
[0099] In an optional implementation, obtaining the outer boundary pixel point sequence of the connected domain is specifically as follows: for any pixel point in each connected domain, determining whether the pixel points in the eight-neighborhood of the pixel point are pixel points of the connected domain; if not, and the pixel points in the eight-neighborhood of the pixel point are pixel points of the target area or the background area, then the pixel points in the eight-neighborhood of the pixel point are the outer boundary pixel points of the connected domain; and adding the pixel points in the eight-neighborhood of the pixel point to the outer boundary pixel point sequence of the connected domain.
[0100] Figure 4 A schematic diagram of a target area after being processed by a segmentation module provided in one embodiment of the present invention is shown in FIG. Figure 4As shown, the fat area is obtained through the above steps, and the lymph nodes are connective tissue infiltrated in the fat, and gastric tumors are closely related to the number, size, location and metastasis of lymph nodes, so it is necessary to extract the suspected lymph node area in the gastric CT slice. Analysis of the segmented fat area shows that there are some tiny connected domains with different shapes and sizes and relatively uniform internal grayscale. Based on experience, it can be judged that these tissues are most likely lymph nodes. Inside the fat area, there are also other tissues such as blood vessels or other impurities, which may not be completely infiltrated in the fat, but partially embedded in the fat. Therefore, it is necessary to judge the different connected domains within the fat area: for a connected domain, one of the pixel points For example, determine whether the pixel in its eight neighborhoods is a pixel of the connected domain. If not, and the pixel is a pixel in the fat area or the background area, then the pixel in the eight neighborhoods is a pixel in the boundary of the connected domain, so that the outer boundary pixel of the connected domain in the fat area can be obtained. The specific operation is: use the multi-threshold processing method to segment the target area (fat area) to obtain the connected domain inside the target area that meets the preset conditions. Taking the third threshold of 0.9 as an example, for each connected domain, obtain the outer boundary pixel sequence of the connected domain, and calculate the ratio of the number of pixels in the outer boundary pixel sequence in the target area to the number of pixels in the entire outer boundary pixel sequence; if the ratio is greater than 0.9, the connected domain is determined to be a suspected lesion (lymph node, etc.).
[0101] Figure 5 FIG. 1 is a schematic diagram of a marking result after being processed by the recognition module 130 according to an embodiment of the present invention. Figure 5 As shown, the suspected lymph nodes inside the fat area are obtained, the connected domain is mapped to the original stomach CT image, and the pixels in the connected domain are marked, thus completing the identification and division of the suspected lymph nodes in the stomach CT slice.
[0102] According to the method of this embodiment, a CT image of the stomach is obtained through a CT image preprocessing module, and the CT image is subjected to morphological operations to remove interference areas and obtain an area to be segmented; the segmentation module segments a target area from the area to be segmented using a fuzzy C-means clustering algorithm; the recognition module applies a multi-threshold processing method to the target area to identify suspected lesions and mark the suspected lesions; the method corrects the clustering results by correcting suspicious points of clustering results under multiple different fuzzy parameters, thereby improving the accuracy of clustering, and removes interference areas such as subcutaneous fat through the CT image preprocessing module, thereby improving the calculation accuracy, and solving the technical problem of time-consuming and labor-intensive manual analysis of CT images in traditional methods.
[0103] It should be noted that the sequence of the above embodiments of the present invention is only for description and does not represent the advantages and disadvantages of the embodiments. The processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0104] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.
Claims
1. A stomach CT image feature recognition and segmentation system, characterized in that: The system comprises: A CT image preprocessing module is used to obtain a stomach CT image, and remove interference areas through morphological operations on the CT image to obtain an area to be segmented; A segmentation module, used to segment the target area from the area to be segmented using a fuzzy C-means clustering algorithm; An identification module, used for applying a multi-threshold processing method to the target area to identify suspected lesions and mark the suspected lesions; The segmentation module also includes: The clustering submodule is used to give the objective function and constraint conditions of the fuzzy C-means clustering algorithm, and iteratively calculate to obtain a preliminary clustering result that satisfies the objective function and the constraint conditions; A correction submodule, used to correct the preliminary clustering result to obtain a corrected result; A segmentation submodule is used to calculate the regional consistency of the correction result and segment the target area according to the regional consistency calculation result; The correction submodule is further used to: adjust the clustering parameters to obtain suspicious points in the preliminary clustering results under each set of clustering parameters; obtain the universality rate of the suspicious points, and perform segmentation image correction on the suspicious points whose universality rate exceeds the first threshold to obtain correction results; The method for obtaining suspicious points is as follows: calculating the suspicious degree of edge points; marking edge pixel points whose suspicious degree is greater than a suspicious degree threshold A as suspicious points; Among them, The first The suspiciousness of edge pixels The calculation method of is as follows (5): ;(5) In the formula, Indicates In the category The first-order difference chain code value of edge pixels; Indicates In the category Gray value of edge pixels; Indicates The grayscale mean of all pixels in a class; Represents the normalization function The calculation formula of universality rate is: ; in, The fuzzy parameter is The clustering results of The coordinates corresponding to the suspicious points; The fuzzy parameter is The distance between the clustering result of The coordinates of the nearest suspicious point to the suspicious point; express Gray value of for The gray value of .
2. The stomach CT image feature recognition and segmentation system according to claim 1, characterized in that: The CT image preprocessing module further includes: The first preprocessing submodule is used to grayscale the stomach CT image to obtain a grayscale image; and perform linear transformation on the grayscale image to increase image contrast.
3. The stomach CT image feature recognition and segmentation system according to claim 2, characterized in that: The CT image preprocessing module further includes: The second preprocessing submodule is used to find the outermost pixels of the CT image after the linear transformation; make a window of preset size with each outermost pixel as the center, and mark all the pixels in the window as interference areas.
4. The stomach CT image feature recognition and segmentation system according to claim 1, characterized in that: The clustering parameters include at least: the number of cluster centers and clustering fuzzy parameters.
5. The stomach CT image feature recognition and segmentation system according to claim 4, characterized in that: The segmentation submodule is further used for: Calculate regional consistency of multiple tissue regions in the correction results; Marking the region where the regional consistency is greater than a second threshold as a consistency region; The remaining connected domain obtained by performing a difference between the CT image and the consistent region is the target region.
6. The stomach CT image feature recognition and segmentation system according to claim 5, characterized in that: The identification module is further used for: Use the multi-threshold processing method to segment the target area and obtain the connected domain inside the target area that meets the preset conditions; For each connected domain, an outer boundary pixel point sequence of the connected domain is obtained, and a ratio of the number of pixel points in the outer boundary pixel point sequence in the target area to the number of pixel points in the entire outer boundary pixel point sequence is calculated; If the ratio is greater than a third threshold, the connected domain is determined to be a suspected lesion.
7. The stomach CT image feature recognition and segmentation system according to claim 6, characterized in that: The step of obtaining the outer boundary pixel point sequence of the connected domain is as follows: for any pixel point in each connected domain, determining whether the pixel points in the eight neighborhoods of the pixel point are the pixel points of the connected domain; If not, and the pixel points in the eight neighborhoods of the pixel point are pixel points in the target area or the background area, then the pixel points in the eight neighborhoods of the pixel point are the outer boundary pixels of the connected domain; The pixel points in the eight neighborhoods of the pixel point are added to the outer boundary pixel point sequence of the connected domain.
8. The stomach CT image feature recognition and segmentation system according to any one of claims 1 to 7, characterized in that: The target area is a fat area.
