A detection method and device based on lumbar spine X-ray image

By detecting and identifying lumbar X-ray images, and using image detection models and target image processing models, the problem of difficulty in diagnosing spondylolysis and high missed diagnosis rate on lumbar X-rays has been solved, and the high efficiency and high miss diagnosis rate of lumbar X-rays have been achieved. Accurate detection.

CN118521532BActive Publication Date: 2024-10-29AIR FORCE MEDICAL CENT PLA
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410514006.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-26
Publication Date
2024-10-29
Estimated Expiration
2044-04-26

AI Technical Summary

Technical Problem

It is difficult to diagnose spondylolysis on lumbar spine X-ray films, and the missed diagnosis rate is high. It is difficult to effectively improve the accuracy and stability of lumbar spine X-ray image detection with existing technology.

Method used

Using a detection method based on lumbar X-ray images, by obtaining lumbar X-ray image information, using the image detection model for detection processing, and using the target image processing model for identification processing, the accuracy and stability of detection are improved, and the detection of lumbar spondylolysis can be achieved. Efficient and accurate detection.

Benefits of technology

It improves the accuracy and stability of lumbar spine X-ray image detection, enables efficient and accurate lumbar spondylolysis detection on lumbar spine X-ray films, and reduces the missed diagnosis rate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118521532B_ABST
    Figure CN118521532B_ABST
Patent Text Reader

Abstract

The present invention discloses a detection method and device based on lumbar X-ray images, the method comprising: acquiring lumbar X-ray image information; performing detection and processing on the lumbar X-ray image information using an image detection model to obtain first sample image detection result information; performing recognition and processing on the first sample image result information using a target image processing model to obtain target image detection result information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of image processing, and in particular to a detection method and device based on lumbar vertebrae X-ray images. Background Art

[0002] As a conventional detection method, lumbar X-rays have certain limitations. The anatomical position of the lumbar isthmus and the surrounding tissues is complex, and the changes after the isthmus fracture are often not clearly displayed on the X-ray film. The diagnosis of spondylolysis on lumbar X-rays is difficult and the missed diagnosis rate is high. Therefore, a detection method and device based on lumbar X-ray images are provided to improve the accuracy and stability of lumbar X-ray image detection, thereby realizing efficient and accurate lumbar spondylolysis detection on lumbar X-rays. Summary of the invention

[0003] The technical problem to be solved by the present invention is to provide a detection method and device based on lumbar X-ray images, which is conducive to improving the accuracy and stability of lumbar X-ray image detection, thereby realizing efficient and accurate lumbar spondylolysis detection in lumbar X-ray films.

[0004] In order to solve the above technical problems, the first aspect of the embodiment of the present invention discloses a detection method based on lumbar spine X-ray images, the method comprising:

[0005] Obtain lumbar spine X-ray image information;

[0006] Using an image detection model to detect and process the lumbar spine X-ray image information to obtain first sample image detection result information;

[0007] The target image processing model is used to perform recognition processing on the first sample image result information to obtain target image detection result information.

[0008] A second aspect of an embodiment of the present invention discloses a detection device based on lumbar spine X-ray images, the device comprising:

[0009] An acquisition module, used for acquiring lumbar spine X-ray image information;

[0010] A first processing module is used to detect and process the lumbar spine X-ray image information using an image detection model to obtain first sample image detection result information;

[0011] The second processing module is used to use the target image processing model to perform recognition processing on the first sample image result information to obtain target image detection result information.

[0012] The third aspect of the present invention discloses another detection device based on lumbar spine X-ray images, the device comprising:

[0013] A memory storing executable program code;

[0014] a processor coupled to the memory;

[0015] The processor calls the executable program code stored in the memory to execute part or all of the steps in the detection method based on lumbar X-ray images disclosed in the first aspect of the embodiment of the present invention.

[0016] The fourth aspect of the present invention discloses a computer-readable storage medium, which stores computer instructions. When the computer instructions are called, they are used to execute some or all of the steps in the detection method based on lumbar X-ray images disclosed in the first aspect of an embodiment of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. 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 creative work.

[0018] Figure 1 It is a flow chart of a detection method based on lumbar spine X-ray images disclosed in an embodiment of the present invention;

[0019] Figure 2 It is a structural schematic diagram of a detection device based on lumbar spine X-ray images disclosed in an embodiment of the present invention;

[0020] Figure 3 is a schematic structural diagram of another detection device based on lumbar spine X-ray images disclosed in an embodiment of the present invention;

[0021] Figure 4 is a structural schematic diagram of an image detection model disclosed in an embodiment of the present invention;

[0022] Figure 5 It is a structural schematic diagram of a target image processing model disclosed in an embodiment of the present invention. DETAILED DESCRIPTION

[0023] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0024] The terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, device, product or equipment that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or equipment.

[0025] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0026] The present invention discloses a detection method and device based on lumbar X-ray images, which are beneficial to improving the accuracy and stability of lumbar X-ray image detection, thereby realizing efficient and accurate lumbar spondylolysis detection of lumbar X-ray films. Detailed descriptions are given below.

[0027] Embodiment 1

[0028] See also Figure 1 , Figure 1 : is a flow chart of a detection method based on lumbar spine X-ray images disclosed in an embodiment of the present invention. Figure 1 The detection method based on lumbar X-ray images described above is applied to a management system, such as a local server or a cloud server for management, and the embodiments of the present invention are not limited thereto. Figure 1 As shown, the detection method based on lumbar spine X-ray images may include the following operations:

[0029] 101. Obtain lumbar spine X-ray image information.

[0030] 102. Use the image detection model to detect and process the lumbar spine X-ray image information to obtain first sample image detection result information.

[0031] 103. Use the target image processing model to perform recognition processing on the first sample image result information to obtain target image detection result information.

[0032] It should be noted that the above-mentioned lumbar spine X-ray image information represents an X-ray image of the structure and state of the lumbar spine.

[0033] It should be noted that the detection method based on lumbar X-ray images of the present application can be used to train and identify lumbar X-ray films, which can achieve faster and more accurate detection and provide reliable support for the imaging diagnosis of isthmic spondylosis.

[0034] It can be seen that implementing the detection method based on lumbar X-ray images described in the embodiment of the present invention is conducive to improving the accuracy and stability of lumbar X-ray image detection, thereby realizing efficient and accurate lumbar spondylolysis detection in lumbar X-ray films.

[0035] In an optional embodiment, the above-mentioned detection and processing of the lumbar spine X-ray image information using the image detection model to obtain the first sample image detection result information includes:

[0036] Pre-processing the lumbar spine X-ray image information to obtain target detection input image information; the target detection input image information includes first detection input image information and second detection input image information;

[0037] The image detection model is used to perform detection processing on the target detection input image information to obtain the first sample image detection result information.

[0038] It should be noted that the first detection input image information and the second detection input image information are used as the first model input and the second model input of the image detection model for processing, and the embodiment of the present invention does not limit this.

[0039] It can be seen that implementing the detection method based on lumbar X-ray images described in the embodiment of the present invention is conducive to improving the accuracy and stability of lumbar X-ray image detection, thereby realizing efficient and accurate lumbar spondylolysis detection in lumbar X-ray films.

[0040] In another optional embodiment, the lumbar spine X-ray image information is pre-processed to obtain target detection input image information, including:

[0041] The image conversion model is used to convert the lumbar spine X-ray image information to obtain converted image information;

[0042] Among them, the image conversion model is:

[0043]

[0044] Wherein, X is the converted image information; Y is the lumbar spine X-ray image information; a is the first conversion coefficient; A is the two-dimensional conversion vector; β is the conversion angle;

[0045] The lumbar spine X-ray image information and the converted image information are normalized in sequence to obtain first detection input image information and second detection input image information.

[0046] It should be noted that the above-mentioned two-dimensional conversion vector, the first conversion coefficient and the conversion angle can be set by the user or by the default value given by the system, which is not limited in the embodiment of the present invention. Furthermore, the above-mentioned conversion angle is a value between -45° and 45°, which is not limited in the embodiment of the present invention. Furthermore, the above-mentioned first conversion coefficient is a value between 0.8-1.2. It should be noted that the values ​​of the two vector elements of the above-mentioned two-dimensional conversion vector are values ​​of the image height and height of the lumbar spine X-ray image not exceeding 0.1 times.

[0047] It should be noted that the above-mentioned normalization processing of the lumbar spine X-ray image information and the conversion image information in sequence is to directly sum the pixel values ​​of all pixel points of the image corresponding to the lumbar spine X-ray image information and the conversion image information and then calculate the difference between the pixel value of each pixel point and the sum of the pixel values ​​of all pixels, so as to obtain the normalized pixel value corresponding to each pixel point, or it is implemented based on the standard deviation normalization method, which is not limited to the embodiments of the present invention.

[0048] It can be seen that implementing the detection method based on lumbar X-ray images described in the embodiment of the present invention is conducive to improving the accuracy and stability of lumbar X-ray image detection, thereby realizing efficient and accurate lumbar spondylolysis detection in lumbar X-ray films.

[0049] In yet another optional embodiment, Figure 4 As shown, the image detection model includes a first convolution module, a second convolution module, a third convolution module, a fourth convolution module, a first fusion module, a second fusion module, a third fusion module, a first normalization module, a second normalization module, and a first activation module; wherein,

[0050] The input end of the first convolution module is connected to the first model input of the image detection model, and the output end of the first convolution module is respectively connected to the input end of the first fusion module and the input end of the second fusion module; the output end of the first fusion module is connected to the input end of the third convolution module; the output end of the third convolution module is connected to the input end of the first normalization module; the output end of the first normalization module is connected to the input end of the third fusion module; the input end of the second convolution module is connected to the second model input of the image detection model, and the output end of the second convolution module is respectively connected to the input end of the second convolution module and the input end of the first fusion module; the output end of the second fusion module is connected to the input end of the fourth convolution module; the output end of the fourth convolution module is connected to the input end of the second normalization module; the output end of the second normalization module is connected to the input end of the third fusion module; the output end of the third fusion module is connected to the input end of the first activation module; the output end of the first activation module is connected to the first model output of the image detection model.

[0051] It should be noted that the convolution kernel size of the above-mentioned first convolution module, second convolution module, third convolution module and fourth convolution module is one of 1*1, 3*1, 5*1 and 5*3, and the number of channels is one of 32, 64 and 128, which is not limited in the embodiment of the present invention.

[0052] It should be noted that the above-mentioned first fusion module, second fusion module and third fusion module are constructed based on matrix addition operation, which is not limited in the embodiment of the present invention.

[0053] It should be noted that the above-mentioned first normalization module and second normalization module are constructed based on the batch normalization layer to improve the training speed, stability and generalization ability of the network, which is not limited in the embodiment of the present invention.

[0054] It should be noted that the first activation module is constructed based on the sigmoid activation function, which is not limited in the embodiment of the present invention.

[0055] It can be seen that implementing the detection method based on lumbar X-ray images described in the embodiment of the present invention is conducive to improving the accuracy and stability of lumbar X-ray image detection, thereby realizing efficient and accurate lumbar spondylolysis detection in lumbar X-ray films.

[0056] In yet another optional embodiment, Figure 5 As shown, the target image processing model includes a fifth convolution module, a sixth convolution module, a seventh convolution module, an eighth convolution module, a ninth convolution module, a tenth convolution module, an eleventh convolution module, a twelfth convolution module, a first upsampling module, a second upsampling module, a first multi-head attention module, a second multi-head attention module, a third multi-head attention module, a fourth multi-head attention module, a second activation module, a third activation module, a fourth activation module, a fifth activation module, a sixth activation module, a seventh activation module, a third normalization module, a fourth normalization module, a fifth normalization module, a fourth fusion module and a fifth fusion module; wherein,

[0057] The input end of the fifth convolution module is connected to the third model input of the target image processing model, and the output end of the fifth convolution module is connected to the input end of the sixth convolution module; the output end of the sixth convolution module is connected to the input end of the first multi-head attention module; the output end of the first multi-head attention module is connected to the input end of the second activation module; the output end of the second activation module is connected to the input end of the second multi-head attention module; the output end of the second multi-head attention module is respectively connected to the input end of the seventh convolution module and the input end of the third activation module; the output end of the seventh convolution module is connected to the input end of the third normalization module; the output end of the third normalization module is respectively connected to the input end of the eighth convolution module and the input end of the fifth fusion module; the output end of the eighth convolution module is connected to the input end of the tenth convolution module; the output end of the tenth convolution module is connected to the input end of the fourth normalization module; the output end of the fourth normalization module is respectively connected to the input end of the eleventh convolution module and the input end of the fifth fusion module; the output end of the eleventh convolution module is connected to the input end of the twelfth convolution module; the output end of the third activation module is connected to the input end of the third multi-head attention module. input end; the output end of the third multi-head attention module is respectively connected to the input end of the fourth fusion module and the input end of the fifth activation module; the output end of the fourth fusion module is connected to the output end of the ninth convolution module; the output end of the ninth convolution module is respectively connected to the input end of the second upsampling module and the input end of the tenth convolution module; the output end of the second upsampling module is connected to the input end of the seventh convolution module; the output end of the fifth activation module is connected to the input end of the first pooling module; the output end of the first pooling module is connected to the input end of the fourth multi-head attention module; the output end of the fourth multi-head attention module is connected to the input end of the sixth activation module; the output end of the sixth activation module is respectively connected to the input end of the first upsampling module and the input end of the twelfth convolution module; the output end of the first upsampling module is connected to the input end of the fourth fusion module; the output end of the twelfth convolution module is connected to the input end of the fifth normalization module; the output end of the fifth normalization module is connected to the input end of the fifth fusion module; the output end of the fifth fusion module is connected to the input end of the seventh activation module; the output end of the seventh activation module is connected to the second model output of the target image processing model.

[0058] It should be noted that the convolution kernel size of the above-mentioned fifth convolution module, sixth convolution module, seventh convolution module, eighth convolution module, ninth convolution module, tenth convolution module, eleventh convolution module and twelfth convolution module is one of 1*1, 3*1, 5*1 and 5*3, and the number of channels is one of 32, 64 and 128, which is not limited in the embodiment of the present invention.

[0059] It should be noted that the first upsampling module and the second upsampling module represent models of upsampling operations.

[0060] It should be noted that the first multi-head attention module, the second multi-head attention module, the third multi-head attention module, and the fourth multi-head attention module are constructed based on the multi-head self-attention mechanism. Furthermore, the multi-head self-attention mechanism allows the model to simultaneously focus on multiple positions in the sequence when processing sequence data, rather than just focusing on adjacent elements.

[0061] It should be noted that the second activation module, the third activation module, the fourth activation module, the fifth activation module, the sixth activation module, and the seventh activation module are constructed based on the sigmoid activation function, which is not limited in the embodiment of the present invention.

[0062] It should be noted that the third normalization module, the fourth normalization module, and the fifth normalization module are constructed based on the batch normalization layer to improve the training speed, stability, and generalization ability of the network, which is not limited in the embodiment of the present invention.

[0063] It should be noted that the fourth fusion module and the fifth fusion module are constructed based on matrix addition operations, which is not limited in the embodiment of the present invention.

[0064] It can be seen that implementing the detection method based on lumbar X-ray images described in the embodiment of the present invention is conducive to improving the accuracy and stability of lumbar X-ray image detection, thereby realizing efficient and accurate lumbar spondylolysis detection in lumbar X-ray films.

[0065] In an optional embodiment, the target image processing model is obtained based on the following steps:

[0066] Obtaining initial image sample information and model training result information; the model training result information includes the number of model training samples and the number threshold;

[0067] The initial sample images in the initial image sample information are screened and processed using the number of model training samples to obtain target image sample information; the target image sample information includes D target sample images; D is consistent with the number of model training samples;

[0068] Inputting the target image sample information into the initial image processing model for model training, and obtaining the training image processing model and model training result information;

[0069] Determine whether the number of training times corresponding to the model training result information is equal to the number threshold, and obtain the number judgment result;

[0070] When the result of the number of judgments is no, the training image processing model is used to replace and update the model parameters of the initial image processing model, and the execution is triggered to screen the initial sample images in the initial image sample information using the model training sample number to obtain the target image sample information;

[0071] When the result of the number of judgments is yes, the training image processing model is determined to be the target image processing model.

[0072] It should be noted that the number of model training samples and the threshold of times can be set by the user or by the default value given by the system, which is not limited in the embodiment of the present invention. Further, the number of model training samples is preferably 100, which is not limited in the embodiment of the present invention. Further, the threshold of times is preferably 20, which is not limited in the embodiment of the present invention.

[0073] It should be noted that the above-mentioned screening process of the initial sample images in the initial image sample information by using the number of model training samples is to randomly select D initial sample images from the initial sample images in the initial image sample information to obtain the target image sample information.

[0074] It should be noted that the model structures of the above-mentioned initial image processing model and the target image processing model are consistent.

[0075] It can be seen that implementing the detection method based on lumbar X-ray images described in the embodiment of the present invention is conducive to improving the accuracy and stability of lumbar X-ray image detection, thereby realizing efficient and accurate lumbar spondylolysis detection in lumbar X-ray films.

[0076] In another optional embodiment, obtaining initial image sample information includes:

[0077] Obtain lumbar spine detection video information;

[0078] Perform frame-by-frame image interception on the lumbar vertebra detection video information to obtain first image sample information; the first image sample information includes at least A first sample images; A is a positive integer not less than 3000;

[0079] The first image sample information is screened to obtain second image sample information; the second image sample information includes B second sample images; B is a positive integer not greater than 2000;

[0080] Performing data enhancement processing on the second image sample information to obtain third image sample information; the third image sample information includes C third sample images; C is a positive integer not less than 5000;

[0081] The third image sample information is subjected to image resizing processing to obtain initial image sample information; the initial image sample information includes C initial sample images.

[0082] It should be noted that the above-mentioned lumbar vertebra detection video information is a video of lumbar vertebra X-ray detection, and the video length is not less than 5 minutes, which is not limited in the embodiment of the present invention.

[0083] It should be noted that the above-mentioned frame-by-frame image capture of the lumbar vertebrae detection video information is to segment the video in the lumbar vertebrae detection video information frame by frame, so as to obtain corresponding first image sample information.

[0084] It should be noted that the above-mentioned data enhancement processing of the second image sample information includes performing operations such as image rotation, image cropping, image stretching, etc. on the second sample image, which is not limited in the embodiment of the present invention.

[0085] It should be noted that the above-mentioned image size adjustment processing performed on the third image sample information is to adjust the image specifications of all third sample images to 256*256, which is not limited in the embodiment of the present invention.

[0086] It should be noted that the above-mentioned screening process of the first image sample information is to remove unclear images with jitters and the like in the first sample images, and to remove images that do not include the lumbar vertebrae, which is not limited in the embodiment of the present invention.

[0087] It can be seen that implementing the detection method based on lumbar X-ray images described in the embodiment of the present invention is conducive to improving the accuracy and stability of lumbar X-ray image detection, thereby realizing efficient and accurate lumbar spondylolysis detection in lumbar X-ray films.

[0088] Embodiment 2

[0089] See also Figure 2 , Figure 2 is a schematic diagram of the structure of a detection device based on lumbar X-ray images disclosed in an embodiment of the present invention. Figure 2 The described device can be applied to a warehouse management system, such as a local server or cloud server for warehouse logistics detection and management based on lumbar X-ray images, and the embodiments of the present invention are not limited thereto. Figure 2 As shown, the device may include:

[0090] An acquisition module 201 is used to acquire lumbar spine X-ray image information;

[0091] A first processing module 202 is used to detect and process the lumbar spine X-ray image information using an image detection model to obtain first sample image detection result information;

[0092] The second processing module 203 is used to perform recognition processing on the first sample image result information using the target image processing model to obtain target image detection result information.

[0093] It can be seen that the implementation Figure 2 The described detection device based on lumbar X-ray images is beneficial to improving the accuracy and stability of lumbar X-ray image detection, thereby realizing efficient and accurate lumbar spondylolysis detection of lumbar X-ray films.

[0094] In another optional embodiment, Figure 2 As shown, the first processing module 202 uses the image detection model to detect and process the lumbar spine X-ray image information to obtain first sample image detection result information, including:

[0095] Pre-processing the lumbar spine X-ray image information to obtain target detection input image information; the target detection input image information includes first detection input image information and second detection input image information;

[0096] The image detection model is used to perform detection processing on the target detection input image information to obtain the first sample image detection result information.

[0097] It can be seen that implementation Figure 2 The described detection device based on lumbar X-ray images is beneficial to improving the accuracy and stability of lumbar X-ray image detection, thereby realizing efficient and accurate lumbar spondylolysis detection of lumbar X-ray films.

[0098] In yet another optional embodiment, Figure 2 As shown, the first processing module 202 pre-processes the lumbar spine X-ray image information to obtain target detection input image information, including:

[0099] The image conversion model is used to convert the lumbar spine X-ray image information to obtain converted image information;

[0100] Among them, the image conversion model is:

[0101]

[0102] Wherein, X is the converted image information; Y is the lumbar spine X-ray image information; a is the first conversion coefficient; A is the two-dimensional conversion vector; β is the conversion angle;

[0103] The lumbar spine X-ray image information and the converted image information are normalized in sequence to obtain first detection input image information and second detection input image information.

[0104] It can be seen that implementation Figure 2 The described detection device based on lumbar X-ray images is beneficial to improving the accuracy and stability of lumbar X-ray image detection, thereby realizing efficient and accurate lumbar spondylolysis detection of lumbar X-ray films.

[0105] In yet another optional embodiment, Figure 2 As shown, the image detection model includes a first convolution module, a second convolution module, a third convolution module, a fourth convolution module, a first fusion module, a second fusion module, a third fusion module, a first normalization module, a second normalization module, and a first activation module; wherein,

[0106] The input end of the first convolution module is connected to the first model input of the image detection model, and the output end of the first convolution module is respectively connected to the input end of the first fusion module and the input end of the second fusion module; the output end of the first fusion module is connected to the input end of the third convolution module; the output end of the third convolution module is connected to the input end of the first normalization module; the output end of the first normalization module is connected to the input end of the third fusion module; the input end of the second convolution module is connected to the second model input of the image detection model, and the output end of the second convolution module is respectively connected to the input end of the second convolution module and the input end of the first fusion module; the output end of the second fusion module is connected to the input end of the fourth convolution module; the output end of the fourth convolution module is connected to the input end of the second normalization module; the output end of the second normalization module is connected to the input end of the third fusion module; the output end of the third fusion module is connected to the input end of the first activation module; the output end of the first activation module is connected to the first model output of the image detection model.

[0107] It can be seen that the implementation Figure 2 The described detection device based on lumbar X-ray images is beneficial to improving the accuracy and stability of lumbar X-ray image detection, thereby realizing efficient and accurate lumbar spondylolysis detection of lumbar X-ray films.

[0108] In yet another optional embodiment, Figure 2 As shown, the target image processing model includes a fifth convolution module, a sixth convolution module, a seventh convolution module, an eighth convolution module, a ninth convolution module, a tenth convolution module, an eleventh convolution module, a twelfth convolution module, a first upsampling module, a second upsampling module, a first multi-head attention module, a second multi-head attention module, a third multi-head attention module, a fourth multi-head attention module, a second activation module, a third activation module, a fourth activation module, a fifth activation module, a sixth activation module, a seventh activation module, a third normalization module, a fourth normalization module, a fifth normalization module, a fourth fusion module and a fifth fusion module; wherein,

[0109] The input end of the fifth convolution module is connected to the third model input of the target image processing model, and the output end of the fifth convolution module is connected to the input end of the sixth convolution module; the output end of the sixth convolution module is connected to the input end of the first multi-head attention module; the output end of the first multi-head attention module is connected to the input end of the second activation module; the output end of the second activation module is connected to the input end of the second multi-head attention module; the output end of the second multi-head attention module is respectively connected to the input end of the seventh convolution module and the input end of the third activation module; the output end of the seventh convolution module is connected to the input end of the third normalization module; the output end of the third normalization module is respectively connected to the input end of the eighth convolution module and the input end of the fifth fusion module; the output end of the eighth convolution module is connected to the input end of the tenth convolution module; the output end of the tenth convolution module is connected to the input end of the fourth normalization module; the output end of the fourth normalization module is respectively connected to the input end of the eleventh convolution module and the input end of the fifth fusion module; the output end of the eleventh convolution module is connected to the input end of the twelfth convolution module; the output end of the third activation module is connected to the input end of the third multi-head attention module. input end; the output end of the third multi-head attention module is respectively connected to the input end of the fourth fusion module and the input end of the fifth activation module; the output end of the fourth fusion module is connected to the output end of the ninth convolution module; the output end of the ninth convolution module is respectively connected to the input end of the second upsampling module and the input end of the tenth convolution module; the output end of the second upsampling module is connected to the input end of the seventh convolution module; the output end of the fifth activation module is connected to the input end of the first pooling module; the output end of the first pooling module is connected to the input end of the fourth multi-head attention module; the output end of the fourth multi-head attention module is connected to the input end of the sixth activation module; the output end of the sixth activation module is respectively connected to the input end of the first upsampling module and the input end of the twelfth convolution module; the output end of the first upsampling module is connected to the input end of the fourth fusion module; the output end of the twelfth convolution module is connected to the input end of the fifth normalization module; the output end of the fifth normalization module is connected to the input end of the fifth fusion module; the output end of the fifth fusion module is connected to the input end of the seventh activation module; the output end of the seventh activation module is connected to the second model output of the target image processing model.

[0110] It can be seen that implementation Figure 2 The described detection device based on lumbar X-ray images is beneficial to improving the accuracy and stability of lumbar X-ray image detection, thereby realizing efficient and accurate lumbar spondylolysis detection of lumbar X-ray films.

[0111] In yet another optional embodiment, Figure 2 As shown, the target image processing model is obtained based on the following steps:

[0112] Obtaining initial image sample information and model training result information; the model training result information includes the number of model training samples and the number threshold;

[0113] The initial sample images in the initial image sample information are screened and processed using the number of model training samples to obtain target image sample information; the target image sample information includes D target sample images; D is consistent with the number of model training samples;

[0114] Inputting the target image sample information into the initial image processing model for model training, and obtaining the training image processing model and model training result information;

[0115] Determine whether the number of training times corresponding to the model training result information is equal to the number threshold, and obtain the number judgment result;

[0116] When the result of the number of judgments is no, the training image processing model is used to replace and update the model parameters of the initial image processing model, and the execution is triggered to screen the initial sample images in the initial image sample information using the model training sample number to obtain the target image sample information;

[0117] When the result of the number of judgments is yes, the training image processing model is determined to be the target image processing model.

[0118] It can be seen that implementation Figure 2 The described detection device based on lumbar X-ray images is beneficial to improving the accuracy and stability of lumbar X-ray image detection, thereby realizing efficient and accurate lumbar spondylolysis detection of lumbar X-ray films.

[0119] In yet another optional embodiment, Figure 2 As shown, the initial image sample information is obtained, including:

[0120] Obtain lumbar spine detection video information;

[0121] Perform frame-by-frame image interception on the lumbar vertebra detection video information to obtain first image sample information; the first image sample information includes at least A first sample images; A is a positive integer not less than 3000;

[0122] The first image sample information is screened to obtain second image sample information; the second image sample information includes B second sample images; B is a positive integer not greater than 2000;

[0123] Performing data enhancement processing on the second image sample information to obtain third image sample information; the third image sample information includes C third sample images; C is a positive integer not less than 5000;

[0124] The third image sample information is subjected to image resizing processing to obtain initial image sample information; the initial image sample information includes C initial sample images.

[0125] It can be seen that implementation Figure 2The described detection device based on lumbar X-ray images is beneficial to improving the accuracy and stability of lumbar X-ray image detection, thereby realizing efficient and accurate lumbar spondylolysis detection of lumbar X-ray films.

[0126] Embodiment 3

[0127] See also Figure 3 , Figure 3 is a schematic diagram of the structure of another detection device based on lumbar spine X-ray images disclosed in an embodiment of the present invention. Figure 3 The described device can be applied to a warehouse management system, such as a local server or cloud server for warehouse logistics detection and management based on lumbar X-ray images, and the embodiments of the present invention are not limited thereto. Figure 3 As shown, the device may include:

[0128] A memory 301 storing executable program codes;

[0129] a processor 302 coupled to the memory 301;

[0130] The processor 302 calls the executable program code stored in the memory 301 to execute the steps of the detection method based on lumbar vertebrae X-ray images described in the first embodiment.

[0131] Embodiment 4

[0132] An embodiment of the present invention discloses a computer-readable storage medium storing a computer program for electronic data exchange, wherein the computer program enables a computer to execute the steps of the detection method based on lumbar X-ray images described in the first embodiment.

[0133] Embodiment 5

[0134] An embodiment of the present invention discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable a computer to execute the steps of the detection method based on lumbar X-ray images described in Example 1.

[0135] The device embodiments described above are only illustrative, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, i.e., they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative work.

[0136] Through the specific description of the above embodiments, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the above technical solution can be essentially or partly contributed to the prior art in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.

[0137] Finally, it should be noted that the detection method and device based on lumbar X-ray images disclosed in the embodiments of the present invention are only preferred embodiments of the present invention, which are only used to illustrate the technical solution of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A detection method based on lumbar spine X-ray images, It is characterized in that The method comprises: Obtain lumbar spine X-ray image information; Using an image detection model to detect and process the lumbar spine X-ray image information to obtain first sample image detection result information; Using the target image processing model to perform recognition processing on the first sample image result information to obtain target image detection result information; Wherein, the target image processing model includes a fifth convolution module, a sixth convolution module, a seventh convolution module, an eighth convolution module, a ninth convolution module, a tenth convolution module, an eleventh convolution module, a twelfth convolution module, a first upsampling module, a second upsampling module, a first multi-head attention module, a second multi-head attention module, a third multi-head attention module, a fourth multi-head attention module, a second activation module, a third activation module, a fourth activation module, a fifth activation module, a sixth activation module, a seventh activation module, a third normalization module, a fourth normalization module, a fifth normalization module, a fourth fusion module and a fifth fusion module; wherein, The input end of the fifth convolution module is connected to the third model input of the target image processing model, and the output end of the fifth convolution module is connected to the input end of the sixth convolution module; the output end of the sixth convolution module is connected to the input end of the first multi-head attention module; the output end of the first multi-head attention module is connected to the input end of the second activation module; the output end of the second activation module is connected to the input end of the second multi-head attention module; the output end of the second multi-head attention module is respectively connected to the input end of the seventh convolution module and the input end of the third activation module; the output end of the seventh convolution module is connected to the input end of the second multi-head attention module. The input end of the third normalization module; the output end of the third normalization module is respectively connected to the input end of the eighth convolution module and the input end of the fifth fusion module; the output end of the eighth convolution module is connected to the input end of the tenth convolution module; the output end of the tenth convolution module is connected to the input end of the fourth normalization module; the output end of the fourth normalization module is respectively connected to the input end of the eleventh convolution module and the input end of the fifth fusion module; the output end of the eleventh convolution module is connected to the input end of the twelfth convolution module; the output end of the third activation module is connected to the input end of the third multi-head attention module. input end; the output end of the third multi-head attention module is respectively connected to the input end of the fourth fusion module and the input end of the fifth activation module; the output end of the fourth fusion module is connected to the output end of the ninth convolution module; the output end of the ninth convolution module is respectively connected to the input end of the second up-sampling module and the input end of the tenth convolution module; the output end of the second up-sampling module is connected to the input end of the seventh convolution module; the output end of the fifth activation module is connected to the input end of the first pooling module; the output end of the first pooling module is connected to the input end of the fourth multi-head attention module; the output end of the fourth multi-head attention module is connected to the input end of the sixth activation module; the output end of the sixth activation module is respectively connected to the input end of the first up-sampling module and the input end of the twelfth convolution module; the output end of the first up-sampling module is connected to the input end of the fourth fusion module; the output end of the twelfth convolution module is connected to the input end of the fifth normalization module; the output end of the fifth normalization module is connected to the input end of the fifth fusion module; the output end of the fifth fusion module is connected to the input end of the seventh activation module; the output end of the seventh activation module is connected to the second model output of the target image processing model; The detecting and processing of the lumbar spine X-ray image information by using the image detection model to obtain the first sample image detection result information includes: Pre-processing the lumbar spine X-ray image information to obtain target detection input image information; the target detection input image information includes first detection input image information and second detection input image information; Using an image detection model to perform detection processing on the target detection input image information to obtain first sample image detection result information; The pre-processing of the lumbar spine X-ray image information to obtain target detection input image information includes: Using an image conversion model to convert the lumbar spine X-ray image information to obtain converted image information; Wherein, the image conversion model is: Wherein, X is the converted image information; Y is the lumbar spine X-ray image information; a is the first conversion coefficient; A is the two-dimensional conversion vector; β is the conversion angle; Normalizing the lumbar spine X-ray image information and the converted image information in sequence to obtain the first detection input image information and the second detection input image information; The image detection model includes a first convolution module, a second convolution module, a third convolution module, a fourth convolution module, a first fusion module, a second fusion module, a third fusion module, a first normalization module, a second normalization module, and a first activation module; wherein, The input end of the first convolution module is connected to the first model input of the image detection model, and the output end of the first convolution module is respectively connected to the input end of the first fusion module and the input end of the second fusion module; the output end of the first fusion module is connected to the input end of the third convolution module; the output end of the third convolution module is connected to the input end of the first normalization module; the output end of the first normalization module is connected to the input end of the third fusion module; the input end of the second convolution module is connected to the second model input of the image detection model, and the output end of the second convolution module is respectively connected to the input end of the second convolution module and the input end of the first fusion module; the output end of the second fusion module is connected to the input end of the fourth convolution module; the output end of the fourth convolution module is connected to the input end of the second normalization module; the output end of the second normalization module is connected to the input end of the third fusion module; the output end of the third fusion module is connected to the input end of the first activation module; the output end of the first activation module is connected to the first model output of the image detection model.

2. The detection method based on lumbar vertebrae X-ray images according to claim 1, It is characterized in that The target image processing model is obtained based on the following steps: Obtaining initial image sample information and model training result information; the model training result information includes the number of model training samples and the number threshold; The initial sample images in the initial image sample information are screened using the model training sample number to obtain target image sample information; the target image sample information includes D target sample images; and D is consistent with the model training sample number; Inputting the target image sample information into the initial image processing model for model training to obtain a training image processing model and model training result information; Determine whether the number of training times corresponding to the model training result information is equal to the number threshold, and obtain a number determination result; When the result of the number of times is no, the training image processing model is used to replace and update the model parameters of the initial image processing model, and the method of using the model training sample number to filter the initial sample image in the initial image sample information is triggered to obtain the target image sample information; When the result of the number of judgments is yes, the training image processing model is determined to be the target image processing model.

3. The detection method based on lumbar vertebrae X-ray images according to claim 2, It is characterized in that The obtaining of initial image sample information includes: Obtain lumbar spine detection video information; Perform frame-by-frame image interception on the lumbar vertebra detection video information to obtain first image sample information; the first image sample information includes at least A first sample images; A is a positive integer not less than 3000; The first image sample information is screened to obtain second image sample information; the second image sample information includes B second sample images; B is a positive integer not greater than 2000; Performing data enhancement processing on the second image sample information to obtain third image sample information; the third image sample information includes C third sample images; C is a positive integer not less than 5000; The third image sample information is subjected to image resizing processing to obtain initial image sample information; the initial image sample information includes the C initial sample images.

4. A detection device based on lumbar spine X-ray images, It is characterized in that The device comprises: An acquisition module, used for acquiring lumbar spine X-ray image information; A first processing module is used to detect and process the lumbar spine X-ray image information using an image detection model to obtain first sample image detection result information; A second processing module is used to perform recognition processing on the first sample image result information using a target image processing model to obtain target image detection result information; Wherein, the target image processing model includes a fifth convolution module, a sixth convolution module, a seventh convolution module, an eighth convolution module, a ninth convolution module, a tenth convolution module, an eleventh convolution module, a twelfth convolution module, a first upsampling module, a second upsampling module, a first multi-head attention module, a second multi-head attention module, a third multi-head attention module, a fourth multi-head attention module, a second activation module, a third activation module, a fourth activation module, a fifth activation module, a sixth activation module, a seventh activation module, a third normalization module, a fourth normalization module, a fifth normalization module, a fourth fusion module and a fifth fusion module; wherein, The input end of the fifth convolution module is connected to the third model input of the target image processing model, and the output end of the fifth convolution module is connected to the input end of the sixth convolution module; the output end of the sixth convolution module is connected to the input end of the first multi-head attention module; the output end of the first multi-head attention module is connected to the input end of the second activation module; the output end of the second activation module is connected to the input end of the second multi-head attention module; the output end of the second multi-head attention module is respectively connected to the input end of the seventh convolution module and the input end of the third activation module; the output end of the seventh convolution module is connected to the input end of the second multi-head attention module. The input end of the third normalization module; the output end of the third normalization module is respectively connected to the input end of the eighth convolution module and the input end of the fifth fusion module; the output end of the eighth convolution module is connected to the input end of the tenth convolution module; the output end of the tenth convolution module is connected to the input end of the fourth normalization module; the output end of the fourth normalization module is respectively connected to the input end of the eleventh convolution module and the input end of the fifth fusion module; the output end of the eleventh convolution module is connected to the input end of the twelfth convolution module; the output end of the third activation module is connected to the input end of the third multi-head attention module. input end; the output end of the third multi-head attention module is respectively connected to the input end of the fourth fusion module and the input end of the fifth activation module; the output end of the fourth fusion module is connected to the output end of the ninth convolution module; the output end of the ninth convolution module is respectively connected to the input end of the second up-sampling module and the input end of the tenth convolution module; the output end of the second up-sampling module is connected to the input end of the seventh convolution module; the output end of the fifth activation module is connected to the input end of the first pooling module; the output end of the first pooling module is connected to the input end of the fourth multi-head attention module; the output end of the fourth multi-head attention module is connected to the input end of the sixth activation module; the output end of the sixth activation module is respectively connected to the input end of the first up-sampling module and the input end of the twelfth convolution module; the output end of the first up-sampling module is connected to the input end of the fourth fusion module; the output end of the twelfth convolution module is connected to the input end of the fifth normalization module; the output end of the fifth normalization module is connected to the input end of the fifth fusion module; the output end of the fifth fusion module is connected to the input end of the seventh activation module; the output end of the seventh activation module is connected to the second model output of the target image processing model; The detecting and processing of the lumbar spine X-ray image information by using the image detection model to obtain the first sample image detection result information includes: Pre-processing the lumbar spine X-ray image information to obtain target detection input image information; the target detection input image information includes first detection input image information and second detection input image information; Using an image detection model to perform detection processing on the target detection input image information to obtain first sample image detection result information; The pre-processing of the lumbar spine X-ray image information to obtain target detection input image information includes: Using an image conversion model to convert the lumbar spine X-ray image information to obtain converted image information; Wherein, the image conversion model is: Wherein, X is the converted image information; Y is the lumbar spine X-ray image information; a is the first conversion coefficient; A is the two-dimensional conversion vector; β is the conversion angle; Normalizing the lumbar spine X-ray image information and the converted image information in sequence to obtain the first detection input image information and the second detection input image information; The image detection model includes a first convolution module, a second convolution module, a third convolution module, a fourth convolution module, a first fusion module, a second fusion module, a third fusion module, a first normalization module, a second normalization module, and a first activation module; wherein, The input end of the first convolution module is connected to the first model input of the image detection model, and the output end of the first convolution module is respectively connected to the input end of the first fusion module and the input end of the second fusion module; the output end of the first fusion module is connected to the input end of the third convolution module; the output end of the third convolution module is connected to the input end of the first normalization module; the output end of the first normalization module is connected to the input end of the third fusion module; the input end of the second convolution module is connected to the second model input of the image detection model, and the output end of the second convolution module is respectively connected to the input end of the second convolution module and the input end of the first fusion module; the output end of the second fusion module is connected to the input end of the fourth convolution module; the output end of the fourth convolution module is connected to the input end of the second normalization module; the output end of the second normalization module is connected to the input end of the third fusion module; the output end of the third fusion module is connected to the input end of the first activation module; the output end of the first activation module is connected to the first model output of the image detection model.

5. A detection device based on lumbar spine X-ray images, It is characterized in that The device comprises: A memory storing executable program code; a processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the detection method based on lumbar X-ray images as described in any one of claims 1-3.

6. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer instructions, and when the computer instructions are called, they are used to execute the detection method based on lumbar X-ray images as described in any one of claims 1-3.

Citation Information

Patent Citations

  • System and method for output of lumbar vertebra pathology diagnosis result based on neural network

    WO2021121159A1