A lumbar disc herniation detection method based on region growing
By performing pixel clustering and grayscale difference analysis on lumbar vertebra images, the initial weight parameters and degree of membership are determined, which solves the problem of selecting fuzzy areas for initial seed points and improves the accuracy of lumbar disc herniation detection.
Patent Information
- Application Number
- CN202410897039.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-05
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-07-05
AI Technical Summary
When the existing region growing algorithm detects lumbar disc herniation, because the initial seed point is easy to select a fuzzy area, the detection result has a large deviation, which reduces the accuracy of the detection.
By clustering pixels on the lumbar spine image, the fuzzy area and the lumbar spine area are divided, the initial weight parameters are modified according to the grayscale difference and area, the degree of membership is adjusted, the optimal seed point is determined, and regional growth is performed to detect the abnormality of the lumbar intervertebral disc.
The accuracy of lumbar disc herniation detection is improved, the interference of fuzzy areas as seed points is eliminated, the optimal seed points are determined, and the accuracy of detection is enhanced.
Smart Images

Figure CN118447017B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of image processing, and in particular to a lumbar disc herniation detection method based on region growing. Background Art
[0002] Lumbar disc herniation is a degenerative disease of the intervertebral disc that usually occurs in the lumbar region. The intervertebral disc is a soft, tough substance located between the bones of the spine that has the function of slowing down the movement of the spine and absorbing shock. A disc herniation occurs when the outer annulus fibrosus of the intervertebral disc is damaged, causing the soft nucleus pulposus inside to bulge out or leak outside the disc.
[0003] Abnormal detection of lumbar disc herniation can be analyzed by region growing algorithm. Since there are lumbar vertebral bodies and spinal canals at the location of the lumbar disc, if the initial seed point is randomly selected using the conventional region growing algorithm, the initial seed point may be selected in the fuzzy area between the lumbar disc, cone and spinal canal. When the initial seed point is in the fuzzy area, there is a large deviation in the result after region growing, which reduces the accuracy of lumbar disc herniation detection. Summary of the invention
[0004] The invention provides a lumbar disc herniation detection method based on region growing to solve the existing problems.
[0005] The present invention provides a method for detecting lumbar disc herniation based on region growing, which adopts the following technical scheme:
[0006] An embodiment of the present invention provides a method for detecting lumbar disc herniation based on region growing, the method comprising the following steps:
[0007] Acquire lumbar spine images;
[0008] Clustering the pixels in the lumbar vertebra image according to the difference in grayscale values of the pixels to obtain several clusters, and dividing the lumbar vertebra image into several fuzzy areas and several lumbar vertebra areas according to the grayscale difference of the pixels in each cluster;
[0009] According to the grayscale distribution difference of the lumbar region, the initial weight parameter of each lumbar region is obtained, and the initial weight parameter is corrected according to the area size of the lumbar region to obtain the membership weight of each lumbar region, and the lumbar region connected to each fuzzy region is recorded as the reference region of each fuzzy region, and the membership degree of each pixel point in the fuzzy region to each reference region corresponding to the fuzzy region is obtained according to the grayscale value of each pixel point in the fuzzy region and the grayscale difference of the pixel point in each reference region corresponding to the fuzzy region, the distance between each pixel point in the fuzzy region and the center point of each reference region corresponding to the fuzzy region, and the membership weight of each reference region, and according to the membership degree of each pixel point in the fuzzy region to each reference region corresponding to the fuzzy region, all lumbar regions are adjusted to obtain a number of adjusted lumbar regions;
[0010] According to the several adjusted lumbar regions, several small regions are obtained, the abnormal degree of lumbar disc herniation is obtained according to the area difference of the small regions, and the abnormality of the lumbar disc is detected according to the abnormal degree of lumbar disc herniation.
[0011] Furthermore, the pixel points in the lumbar vertebra image are clustered according to the difference in the grayscale values of the pixel points to obtain a plurality of clusters, and the lumbar vertebra image is divided into a plurality of fuzzy areas and a plurality of lumbar vertebra areas according to the grayscale difference of the pixel points in each cluster, and the specific steps included are as follows:
[0012] According to the difference in the gray value of the pixels in the lumbar vertebrae image, all the pixels in the lumbar vertebrae image are clustered by the k-means clustering algorithm to obtain several clusters;
[0013] According to the grayscale difference of the pixels in each cluster, the blur degree of each cluster is obtained, and the lumbar vertebra image is divided into a number of blur regions and a number of lumbar vertebra regions according to the blur degree of each cluster.
[0014] Furthermore, the calculation formula of the fuzziness degree of each cluster is as follows:
[0015]
[0016] In the formula, Indicates The first The gray value of a pixel, Indicates The mean gray value of all pixels in a cluster. Represents the number of all pixels in each cluster. is the absolute value symbol, represents the linear normalization function, Indicates The fuzziness of a cluster.
[0017] Furthermore, the lumbar vertebra image is divided into a plurality of fuzzy regions and a plurality of lumbar vertebra regions according to the blur degree of each cluster, and the specific steps include the following:
[0018] Clusters with a blur degree greater than or equal to the preset threshold A are recorded as fuzzy clusters, and clusters with a blur degree less than the preset threshold A are recorded as non-fuzzy clusters; the area composed of all pixels in each fuzzy cluster is recorded as a fuzzy area; the area composed of all pixels in each non-fuzzy cluster is recorded as a lumbar spine area.
[0019] Furthermore, the initial weight parameter of each lumbar region is obtained according to the grayscale distribution difference of the lumbar region, and the specific steps include the following:
[0020] Calculate the mean gray value of all pixels in each lumbar region and put the mean gray value in The lumbar area within is recorded as the lumbar disc area, and the mean gray value is The lumbar area within the lumbar spine is recorded as the lumbar spinal canal area, and the mean gray value is The lumbar region within is recorded as the lumbar vertebral body region; T1 and T2 are two preset parameters;
[0021] The initial weight parameter of the lumbar disc region is recorded as , the initial weight parameters of the lumbar spinal canal region are recorded as , the initial weight parameter of the lumbar vertebral body region is recorded as ;in, There are three preset parameters.
[0022] Furthermore, the initial weight parameter is modified according to the area size of the lumbar region to obtain the membership weight of each lumbar region, and the specific steps include the following:
[0023] The product of the area of each lumbar region and the initial weight parameter of each lumbar region is used as the membership weight of each lumbar region.
[0024] Furthermore, the degree of membership of each pixel in the blurred area to each reference area corresponding to the blurred area is obtained according to the grayscale difference between the grayscale value of each pixel in the blurred area and the grayscale of the pixel in each reference area corresponding to the blurred area, the distance between each pixel in the blurred area and the center point of each reference area corresponding to the blurred area, and the membership weight of each reference area, including the calculation formula as follows:
[0025]
[0026] In the formula, Indicates The fuzzy area corresponds to The membership weights of the reference regions, Indicates In the fuzzy area Pixels and The fuzzy area corresponds to The Euclidean distance between the center points of the reference regions, Indicates In the fuzzy area The gray value of a pixel, Indicates The fuzzy area corresponds to The mean grayscale value of all pixels in the reference area, is the absolute value symbol, represents an exponential function with a natural constant as base, Indicates In the fuzzy area The pixel belongs to The fuzzy area corresponds to The degree of membership of a reference area.
[0027] Furthermore, the method of adjusting all lumbar vertebrae regions according to the degree of membership of each pixel point in the fuzzy region to each reference region corresponding to the fuzzy region to obtain a plurality of adjusted lumbar vertebrae regions includes the following specific steps:
[0028] The pixel points in the fuzzy area are divided into reference areas with the largest membership degree, and a number of adjusted lumbar vertebrae areas are obtained.
[0029] Furthermore, the step of obtaining a plurality of small regions according to the plurality of adjusted lumbar regions includes the following specific steps:
[0030] The center point of each adjusted lumbar region is recorded as a seed point. Thus, several seed points are obtained. Region growing is performed based on the seed points using a region growing algorithm to obtain several small regions.
[0031] Furthermore, the abnormal degree of lumbar disc herniation is obtained according to the area difference of the small area, and the abnormality detection of the lumbar disc is performed according to the abnormal degree of lumbar disc herniation, including the following specific steps:
[0032] Calculate the mean grayscale value of all pixels in each small area, and sum the mean grayscale value of all pixels in The small area within is recorded as the target area; T1 is the preset parameter;
[0033] The sum of the areas of all target regions is recorded as SM; the sum of the areas of all small regions is recorded as ST;
[0034] The calculation formula for the abnormal degree of lumbar disc herniation is:
[0035]
[0036] In the formula, Indicates the abnormal degree of lumbar disc herniation;
[0037] When the abnormal degree of lumbar disc herniation is greater than or equal to the preset threshold value U, it is determined that the lumbar disc has an abnormal herniation. When the abnormal degree of lumbar disc herniation is less than the preset threshold value U, it is determined that the lumbar disc has not an abnormal herniation.
[0038] The beneficial effects of the technical solution of the present invention are as follows: the present invention clusters the pixel points in the lumbar image to obtain a number of clusters, divides the lumbar image into a number of fuzzy areas and lumbar areas according to the grayscale difference of the pixel points in each cluster, and screens out the pixel points between the lumbar intervertebral disc, lumbar vertebral body and lumbar spinal canal; determines the seed point according to the grayscale difference of the pixel points in the fuzzy area and the lumbar area and the distance between the pixel points, thereby eliminating the interference of the fuzzy area as the seed point; obtains a number of small areas according to the seed point, obtains the abnormal degree of lumbar disc herniation according to the area difference of the small areas, performs abnormal detection of the lumbar disc according to the abnormal degree of lumbar disc herniation, determines the optimal seed point, and improves the accuracy of lumbar disc herniation detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be 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.
[0040] Figure 1 The present invention is a flowchart of the steps of a method for detecting lumbar disc herniation based on region growing. DETAILED DESCRIPTION
[0041] 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 method, structure, characteristics and effects of a lumbar disc herniation detection method based on regional growth 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.
[0042] 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.
[0043] The specific scheme of the lumbar disc herniation detection method based on region growing provided by the present invention is described in detail below with reference to the accompanying drawings.
[0044] See also Figure 1 , which shows a flowchart of a method for detecting lumbar disc herniation based on region growing provided by an embodiment of the present invention, the method comprising the following steps:
[0045] Step S001: Acquire lumbar spine images.
[0046] It should be noted that, in order to detect the herniation of the lumbar intervertebral disc, lumbar images are usually collected, and whether there is a herniation of the lumbar intervertebral disc is analyzed based on the lumbar images. In order to reduce the influence of other biological tissue areas, the collected images are preprocessed.
[0047] Specifically, the lumbar MRI is collected, and the lumbar MRI is segmented by superpixel to remove all regions outside the lumbar vertebrae. At this time, the lumbar MRI after all regions outside the lumbar vertebrae are removed is recorded as the lumbar vertebrae image. The superpixel segmentation is a well-known technology and will not be described in detail here. The lumbar MRI is a grayscale image.
[0048] At this point, the lumbar spine image is obtained.
[0049] Step S002: clustering the pixels in the lumbar vertebra image according to the difference in grayscale values of the pixels to obtain a number of clusters, and dividing the lumbar vertebra image into a number of fuzzy areas and a number of lumbar vertebra areas according to the grayscale difference of the pixels in each cluster.
[0050] It should be noted that due to the complex tissue structure of the lumbar spine and the fact that lumbar disc herniation will significantly change the morphological structure and grayscale information of the region, the regional growing algorithm is often difficult to adapt to its complex situation. Specifically, there will be fuzzy areas in the connection areas between the vertebral body and the intervertebral disc, and the intervertebral disc and the spinal canal. When the seed point is located in the fuzzy area, it is impossible to accurately distinguish the areas of the cone, intervertebral disc and spinal canal. Therefore, in order to avoid the initial seed point being located in the fuzzy area between the cone area, intervertebral disc area and spinal canal area, it is necessary to first determine the approximate areas of the cone, intervertebral disc and spinal canal, and determine the seed point based on the approximate areas of the cone, intervertebral disc and spinal canal.
[0051] It should be further explained that, since there are differences in the grayscale values of the cone, intervertebral disc and spinal canal in the collected lumbar vertebrae images, in the grayscale images of the lumbar intervertebral disc, cone and spinal canal, the lumbar intervertebral disc usually has a darker grayscale value, the cone has a higher grayscale value, and the spinal canal may have a grayscale value between the two. Therefore, the approximate areas of the three can be first determined based on the grayscale differences between the three.
[0052] Specifically, all pixels in the lumbar vertebrae image are clustered according to the difference in grayscale values of pixels in the lumbar vertebrae image through the k-means clustering algorithm to obtain several clusters; wherein the k-means clustering algorithm is a well-known technology and will not be described in detail here.
[0053] It should be noted that when the cluster is a part of the cone region, intervertebral disc region and spinal canal region, the grayscale difference of all pixels in the cluster is small. When the cluster is a fuzzy region between the cone region, intervertebral disc region and spinal canal region, the grayscale difference of all pixels in the cluster is large. Therefore, the grayscale difference of all pixels in each cluster can be used to analyze the fuzzy region and the lumbar region. The lumbar region includes the lumbar cone region, lumbar intervertebral disc region and lumbar spinal canal region.
[0054] Specifically, according to the grayscale difference of the pixels in each cluster, the blur degree of each cluster is obtained, which is specifically expressed by the formula:
[0055]
[0056] In the formula, Indicates The first The gray value of a pixel, Indicates The mean gray value of all pixels in a cluster. Represents the number of all pixels in each cluster. is the absolute value symbol, represents the linear normalization function, Indicates The fuzziness of a cluster.
[0057] in, It represents the difference between the gray value of each pixel in the cluster and the mean gray value of all pixels. The larger the difference is, the greater the blurriness of the cluster is, indicating that the pixels in the cluster are in the fuzzy area. The smaller the difference is, the smaller the blurriness of the cluster is, indicating that the pixels in the cluster are not in the fuzzy area, that is, they are in the lumbar area.
[0058] At this point, the fuzziness level of each cluster is obtained.
[0059] A threshold value A is preset, wherein this embodiment is described by taking A=0.5 as an example, and this embodiment is not specifically limited, wherein A may be determined according to the specific implementation situation. Clusters whose blur degree is greater than or equal to the preset threshold value A are recorded as fuzzy clusters, and clusters whose blur degree is less than the preset threshold value A are recorded as non-fuzzy clusters. The area composed of all pixels in each fuzzy cluster is recorded as a fuzzy area; the area composed of all pixels in each non-fuzzy cluster is recorded as a lumbar region.
[0060] At this point, all the fuzzy areas and lumbar spine areas are obtained.
[0061] Step S003: According to the grayscale distribution difference of the lumbar vertebrae area, the initial weight parameters of each lumbar vertebrae area are obtained, and the initial weight parameters are corrected according to the area size of the lumbar vertebrae area to obtain the membership weight of each lumbar vertebrae area, and the membership degree of each pixel point in the fuzzy area to each reference area corresponding to the fuzzy area is obtained according to the grayscale value of each pixel point in the fuzzy area and the grayscale difference of the pixel point in each reference area corresponding to the fuzzy area, the distance between each pixel point in the fuzzy area and the center point of each reference area corresponding to the fuzzy area, and the membership weight of each reference area; according to the membership degree of each pixel point in the fuzzy area to each reference area corresponding to the fuzzy area, several adjusted lumbar vertebrae areas are determined.
[0062] It should be noted that due to the differences in the structural extension properties of the biological tissues of the lumbar intervertebral disc, lumbar spinal canal and lumbar cone, that is, the extension properties of the lumbar intervertebral disc are higher than those of the lumbar spinal canal, and the extension properties of the lumbar spinal canal are higher than those of the lumbar vertebral body, the weight of each pixel point in the fuzzy area divided into the lumbar area can be obtained based on these extension properties.
[0063] It should be further explained that when the extension characteristics of a biological tissue structure are greater, the area of the corresponding region of the biological tissue should be larger. In addition, in the grayscale images of the lumbar intervertebral disc, cone and spinal canal, the lumbar intervertebral disc usually has a darker grayscale value, the cone has a higher grayscale value, and the spinal canal may have a grayscale value between the two. Therefore, the region belonging to the lumbar intervertebral disc region, the cone region and the spinal canal region can be analyzed based on the average grayscale value of all pixels in the lumbar region.
[0064] Specifically, two parameters T1 and T2 are preset, wherein this embodiment is described by taking T1=125 and T2=190 as an example, and this embodiment is not specifically limited, wherein T1 and T2 may be determined according to specific implementation conditions. Calculate the mean grayscale value of all pixels in each lumbar region, and place the mean grayscale value in The lumbar area within is recorded as the lumbar disc area, and the mean gray value is The lumbar area within the lumbar spine is recorded as the lumbar spinal canal area, and the mean gray value is The lumbar vertebra area within the lumbar spine is recorded as the lumbar vertebral body area. So far, the lumbar intervertebral disc area, lumbar spinal canal area and lumbar vertebral body area are obtained.
[0065] It should be noted that due to the different extension characteristics of the lumbar intervertebral disc area, lumbar spinal canal area and lumbar vertebral body area, the weights of the pixels in the fuzzy area belonging to the three areas are also different. Therefore, initial weights are assigned to the three types of areas according to the extension characteristics of the lumbar intervertebral disc area, lumbar spinal canal area and lumbar vertebral body area.
[0066] Specifically, three parameters are preset , wherein this embodiment is based on This example is described as an example, and this embodiment is not specifically limited. It can be determined according to the specific implementation situation. The initial weight parameter of the lumbar disc area is recorded as , the initial weight parameters of the lumbar spinal canal region are recorded as , the initial weight parameter of the lumbar vertebral body region is recorded as .
[0067] It should be further explained that, since the better the extension characteristics, the larger the corresponding area should be, the greater the possibility of dividing the pixels in the blurred area into an area with better extension and larger area, so the initial weight parameters of the area can be corrected according to the size of the area.
[0068] Specifically, the initial weight parameter is modified according to the area size of the lumbar region to obtain the membership weight of each lumbar region, which is expressed as follows:
[0069]
[0070] In the formula, represents the initial weight parameter of each lumbar region, represents the area of each lumbar region, Represents the membership weight of each lumbar region.
[0071] Among them, when the area of each lumbar region is larger, the lumbar region membership weight is larger; when the area of each lumbar region is smaller, the lumbar region membership weight is smaller.
[0072] It should be noted that since the blurred areas are all between the lumbar regions, that is, the closer the distance between the pixel points in the blurred area and the lumbar region is, the greater the possibility that the pixel points in the blurred area are divided into the lumbar region with a short distance. When the grayscale difference between the pixel points in the blurred area and the pixel points in the lumbar region of the blurred area is smaller, the greater the possibility that the pixel points in the blurred area are divided into the lumbar region with the smaller grayscale difference.
[0073] Specifically, the lumbar region connected to each fuzzy region is recorded as the reference region of each fuzzy region; thus, a plurality of reference regions of each fuzzy region are obtained.
[0074] The pixel point at the lower left corner of the lumbar image is used as the coordinate origin, the horizontal rightward direction is used as the horizontal axis, and the vertical upward direction is used as the vertical axis to establish a coordinate system for calculating the Euclidean distance between pixels. According to the gray value difference between each pixel point in the fuzzy area and the gray value difference between each pixel point in each reference area corresponding to the fuzzy area, the Euclidean distance between each pixel point in the fuzzy area and the center point of each reference area corresponding to the fuzzy area, and the membership weight of each reference area, the membership degree of each pixel point in the fuzzy area to each reference area corresponding to the fuzzy area is obtained, which is expressed by the formula:
[0075]
[0076] In the formula, Indicates The fuzzy area corresponds to The membership weights of the reference regions, Indicates In the fuzzy area Pixels and The fuzzy area corresponds to The Euclidean distance between the center points of the reference regions, Indicates In the fuzzy area The gray value of a pixel, Indicates The fuzzy area corresponds to The mean grayscale value of all pixels in the reference area, is the absolute value symbol, represents an exponential function with a natural constant as base, Indicates In the fuzzy area The pixel belongs to The fuzzy area corresponds to The degree of membership of a reference area.
[0077] Among them, the larger the Euclidean distance between the pixel point in the blurred area and the center point of the reference area corresponding to the blurred area, the lower the possibility that the pixel point in the blurred area belongs to the reference area corresponding to the blurred area; the smaller the Euclidean distance between the pixel point in the blurred area and the center point of the reference area corresponding to the blurred area, the higher the possibility that the pixel point in the blurred area belongs to the reference area corresponding to the blurred area. It represents the difference between the gray value of the pixel in the blurred area and the mean gray value of all the pixels in the reference area corresponding to the blurred area. The greater the difference between the gray value of the pixel in the blurred area and the mean gray value of all the pixels in the reference area corresponding to the blurred area, the lower the possibility that the pixel in the blurred area belongs to the reference area corresponding to the blurred area; the smaller the difference between the gray value of the pixel in the blurred area and the mean gray value of all the pixels in the reference area corresponding to the blurred area, the higher the possibility that the pixel in the blurred area belongs to the reference area corresponding to the blurred area. The difference represents the absolute value of the difference.
[0078] At this point, the degree of membership of the pixel point in the blurred area to the reference area corresponding to the blurred area is obtained.
[0079] The pixels in the fuzzy area are divided into the reference area with the largest membership. At this point, all the pixels in all the fuzzy areas have been divided.
[0080] At this point, the lumbar spine area is obtained after several adjustments.
[0081] Step S004: obtaining a plurality of small areas based on the adjusted lumbar vertebrae regions, obtaining the abnormality degree of lumbar disc herniation based on the area difference of the small areas, and performing lumbar disc abnormality detection based on the abnormality degree of lumbar disc herniation.
[0082] It should be noted that, since region growing is suitable for regions with relatively uniform characteristics, the selection of seed points will also have a great impact on the segmented regions. Therefore, the center point of the adjusted lumbar region is used for region growing to avoid errors.
[0083] The center point of each adjusted lumbar region is recorded as a seed point, so that several seed points are obtained, and region growing is performed according to the seed points through a region growing algorithm to obtain several small regions. The region growing algorithm is a well-known technology and will not be described in detail here.
[0084] Calculate the mean grayscale value of all pixels in each small area, and sum the mean grayscale value of all pixels in The small area within is recorded as the target area, where T1 is the preset parameter.
[0085] A threshold value U is preset, wherein this embodiment is described by taking U=0.5 as an example, and this embodiment is not specifically limited, wherein U can be determined according to the specific implementation situation. The sum of the areas of all target areas is recorded as SM; the sum of the areas of all small areas is recorded as ST, and the abnormal degree of lumbar disc herniation is obtained according to the difference between the area of the target area and the area of all small areas, which is expressed by the formula:
[0086]
[0087] In the formula, represents the sum of the areas of all target regions, represents the sum of the areas of all small regions, Indicates the abnormal degree of lumbar disc herniation.
[0088] When the abnormal degree of lumbar disc herniation is greater than or equal to the preset threshold value U, it is determined that the lumbar disc has an abnormal herniation. When the abnormal degree of lumbar disc herniation is less than the preset threshold value U, it is determined that the lumbar disc has not an abnormal herniation.
[0089] At this point, this embodiment is completed.
[0090] It should be noted that the The model is only used to represent negative correlation and constrain the output of the model to be in In the specific implementation, it can be replaced by other models with the same purpose. This embodiment is only based on The model is described as an example without any specific limitation. is the input to the model.
[0091] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A lumbar disc herniation detection method based on region growing, characterized in that: The method comprises the following steps: Acquire lumbar spine images; Clustering the pixels in the lumbar vertebra image according to the difference in grayscale values of the pixels to obtain several clusters, and dividing the lumbar vertebra image into several fuzzy areas and several lumbar vertebra areas according to the grayscale difference of the pixels in each cluster; According to the grayscale distribution difference of the lumbar region, the initial weight parameter of each lumbar region is obtained, and the initial weight parameter is corrected according to the area size of the lumbar region to obtain the membership weight of each lumbar region, and the lumbar region connected to each fuzzy region is recorded as the reference region of each fuzzy region, and the membership degree of each pixel point in the fuzzy region to each reference region corresponding to the fuzzy region is obtained according to the grayscale value of each pixel point in the fuzzy region and the grayscale difference of the pixel point in each reference region corresponding to the fuzzy region, the distance between each pixel point in the fuzzy region and the center point of each reference region corresponding to the fuzzy region, and the membership weight of each reference region, and according to the membership degree of each pixel point in the fuzzy region to each reference region corresponding to the fuzzy region, all lumbar regions are adjusted to obtain a number of adjusted lumbar regions; According to the adjusted lumbar regions, several small regions are obtained, the abnormal degree of lumbar disc herniation is obtained according to the area difference of the small regions, and the abnormality of the lumbar disc is detected according to the abnormal degree of lumbar disc herniation; The method of obtaining a plurality of small areas according to a plurality of adjusted lumbar regions includes the following specific steps: The center point of each adjusted lumbar region is recorded as a seed point. Thus, several seed points are obtained. Region growing is performed based on the seed points through the region growing algorithm to obtain several small regions. The method of obtaining the abnormal degree of lumbar disc herniation according to the area difference of the small area and performing abnormal detection of the lumbar disc according to the abnormal degree of lumbar disc herniation includes the following specific steps: Calculate the mean grayscale value of all pixels in each small area, and sum the mean grayscale value of all pixels in The small area within is recorded as the target area; T1 is the preset parameter; The sum of the areas of all target regions is recorded as SM; the sum of the areas of all small regions is recorded as ST; The calculation formula for the abnormal degree of lumbar disc herniation is: In the formula, Indicates the abnormal degree of lumbar disc herniation; When the abnormal degree of lumbar disc herniation is greater than or equal to the preset threshold value U, it is determined that the lumbar disc has an abnormal herniation. When the abnormal degree of lumbar disc herniation is less than the preset threshold value U, it is determined that the lumbar disc has not an abnormal herniation.
2. According to claim 1, a method for detecting lumbar disc herniation based on region growing, characterized in that: The pixel points in the lumbar vertebra image are clustered according to the difference in the grayscale values of the pixel points to obtain a plurality of clusters, and the lumbar vertebra image is divided into a plurality of fuzzy areas and a plurality of lumbar vertebra areas according to the grayscale difference of the pixel points in each cluster. The specific steps include the following: According to the difference in the gray value of the pixels in the lumbar vertebrae image, all the pixels in the lumbar vertebrae image are clustered by the k-means clustering algorithm to obtain several clusters; According to the grayscale difference of the pixels in each cluster, the blur degree of each cluster is obtained, and the lumbar vertebra image is divided into a number of blur regions and a number of lumbar vertebra regions according to the blur degree of each cluster.
3. According to claim 2, a method for detecting lumbar disc herniation based on region growing, characterized in that: The calculation formula of the fuzziness degree of each cluster is as follows: In the formula, Indicates The first The gray value of a pixel, Indicates The mean gray value of all pixels in a cluster. Represents the number of all pixels in each cluster. is the absolute value symbol, represents the linear normalization function, Indicates The fuzziness of a cluster.
4. According to claim 2, a method for detecting lumbar disc herniation based on region growing is characterized in that: The method of dividing the lumbar vertebra image into a plurality of fuzzy regions and a plurality of lumbar vertebra regions according to the blur degree of each cluster includes the following specific steps: Clusters with a blur degree greater than or equal to the preset threshold A are recorded as fuzzy clusters, and clusters with a blur degree less than the preset threshold A are recorded as non-fuzzy clusters; the area composed of all pixels in each fuzzy cluster is recorded as a fuzzy area; the area composed of all pixels in each non-fuzzy cluster is recorded as a lumbar spine area.
5. According to claim 1, a method for detecting lumbar disc herniation based on region growing, characterized in that: The initial weight parameter of each lumbar region is obtained according to the grayscale distribution difference of the lumbar region, and the specific steps include the following: Calculate the mean gray value of all pixels in each lumbar region and put the mean gray value in The lumbar area within is recorded as the lumbar disc area, and the mean gray value is The lumbar area within the lumbar spine is recorded as the lumbar spinal canal area, and the mean gray value is The lumbar region within is recorded as the lumbar vertebral body region; T1 and T2 are two preset parameters; The initial weight parameter of the lumbar disc region is recorded as , the initial weight parameters of the lumbar spinal canal region are recorded as , the initial weight parameter of the lumbar vertebral area is recorded as ;in, There are three preset parameters.
6. The method for detecting lumbar disc herniation based on region growing according to claim 1, characterized in that: The initial weight parameter is modified according to the area size of the lumbar region to obtain the membership weight of each lumbar region, and the specific steps include the following: The product of the area of each lumbar region and the initial weight parameter of each lumbar region is used as the membership weight of each lumbar region.
7. The method for detecting lumbar disc herniation based on region growing according to claim 1, characterized in that: The degree of membership of each pixel in the fuzzy area to each reference area corresponding to the fuzzy area is obtained according to the grayscale difference between the grayscale value of each pixel in the fuzzy area and the grayscale of the pixel in each reference area corresponding to the fuzzy area, the distance between each pixel in the fuzzy area and the center point of each reference area corresponding to the fuzzy area, and the membership weight of each reference area, including the calculation formula as follows: In the formula, Indicates The fuzzy area corresponds to The membership weights of the reference regions, Indicates In the fuzzy area Pixels and The fuzzy area corresponds to The Euclidean distance between the center points of the reference regions, Indicates In the fuzzy area The gray value of a pixel, Indicates The fuzzy area corresponds to The mean grayscale value of all pixels in the reference area, is the absolute value symbol, represents an exponential function with a natural constant as base, Indicates In the fuzzy area The pixel belongs to The fuzzy area corresponds to The degree of membership of a reference area.
8. The method for detecting lumbar disc herniation based on region growing according to claim 1, characterized in that: The method of adjusting all lumbar regions according to the degree of membership of each pixel point in the fuzzy region to each reference region corresponding to the fuzzy region to obtain a plurality of adjusted lumbar regions includes the following specific steps: The pixel points in the fuzzy area are divided into reference areas with the largest membership degree, and a number of adjusted lumbar vertebrae areas are obtained.
