WO2023241032A1 - Deep learning-based method and system for intelligently identifying osteoarthritis - Google Patents

Deep learning-based method and system for intelligently identifying osteoarthritis Download PDF

Info

Publication number
WO2023241032A1
WO2023241032A1 PCT/CN2023/071148 CN2023071148W WO2023241032A1 WO 2023241032 A1 WO2023241032 A1 WO 2023241032A1 CN 2023071148 W CN2023071148 W CN 2023071148W WO 2023241032 A1 WO2023241032 A1 WO 2023241032A1
Authority
WO
WIPO (PCT)
Prior art keywords
bone
discrete points
gap
area
points
Prior art date
Application number
PCT/CN2023/071148
Other languages
French (fr)
Chinese (zh)
Inventor
张逸凌
刘星宇
Original Assignee
北京长木谷医疗科技有限公司
张逸凌
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京长木谷医疗科技有限公司, 张逸凌 filed Critical 北京长木谷医疗科技有限公司
Publication of WO2023241032A1 publication Critical patent/WO2023241032A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0012Biomedical image inspection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/12Edge-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/13Edge detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20081Training; Learning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20084Artificial neural networks [ANN]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30004Biomedical image processing
    • G06T2207/30008Bone
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30004Biomedical image processing
    • G06T2207/30096Tumor; Lesion
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Definitions

  • This application relates to the field of image processing technology, and in particular to a method and system for intelligently identifying osteoarthritis based on deep learning.
  • Bone gap refers to the distance between different types of bones. Accurately determining the gaps between bones is of great significance in the medical field.
  • the user when determining the bone gap, the user usually evaluates the gap between the bones by taking medical images and observing with the naked eye.
  • This application provides a method and system for intelligently identifying osteoarthritis based on deep learning, which is used to solve the shortcoming of low accuracy in determining bone gaps in the existing technology and improve the accuracy of determined bone gaps.
  • This application provides a method for intelligently identifying osteoarthritis based on deep learning, including:
  • a plurality of discrete points located on the first contour area at the distal end of the first bone are projected onto the second contour area at the proximal end of the second bone to obtain a multi-point coordinate system corresponding to the plurality of discrete points in a one-to-one manner. projection points;
  • the gap between the first bone and the second bone is determined according to the distance between the plurality of discrete points and respective corresponding projection points of the plurality of discrete points.
  • the first step is determined based on the distance between the plurality of discrete points and the projection points corresponding to the plurality of discrete points.
  • the gap between the bone and said second bone including:
  • the smallest distance among multiple distances is determined as the gap between the first bone and the second bone.
  • the first step is determined based on the distance between the plurality of discrete points and the projection points corresponding to the plurality of discrete points.
  • the gap between the bone and said second bone including:
  • An average of the plurality of distances is determined as the gap between the first bone and the second bone.
  • determining the first outline area of the first bone and the second outline area of the second bone in the image to be processed includes:
  • the image to be processed is input into a pre-trained bone segmentation model to obtain the area where the first bone is located and the area where the second bone is located, wherein the bone segmentation model utilizes multiple
  • the sample images are obtained after training, wherein the plurality of sample images are images containing different types of bones;
  • Contour extraction is performed on the area where the first bone is located and the area where the second bone is located, respectively, to obtain a first outline area of the first bone and a second outline area of the second bone.
  • a plurality of discrete points located on the first contour area at the distal end of the first bone are projected to the second bone before obtaining a plurality of projection points corresponding to the plurality of discrete points on the proximal second contour area, the method further includes:
  • a plurality of discrete points are determined on the first contour area of the distal end of the first bone between the medial edge boundary point and the lateral edge boundary point.
  • the method further includes:
  • the degree of disease of the joint where the first bone and the second bone are located is determined.
  • This application also provides a system for intelligent identification of osteoarthritis based on deep learning, including:
  • the acquisition module is configured to acquire the image to be processed
  • a determination module configured to determine the first outline area of the first bone and the second outline area of the second bone in the image to be processed
  • the projection module is configured to project a plurality of discrete points located on the first contour area at the distal end of the first bone to the second contour area at the proximal end of the second bone to obtain the results corresponding to the plurality of discrete points.
  • the determination module is further configured to determine the gap between the first bone and the second bone based on the distance between the plurality of discrete points and the corresponding projection points of the plurality of discrete points.
  • This application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor.
  • the processor executes the program, it implements any of the above deep learning-based methods.
  • This application also provides a non-transitory computer-readable storage medium on which a computer program is stored.
  • the computer program is executed by a processor, the method for intelligently identifying osteoarthritis based on deep learning is implemented as described in any one of the above.
  • This application also provides a computer program product, which includes a computer program that, when executed by a processor, implements any one of the above deep learning-based intelligent identification methods for osteoarthritis.
  • the method and system for intelligent identification of osteoarthritis based on deep learning provided by this application, by acquiring the image to be processed, determine the first outline area of the first bone and the second outline area of the second bone in the image to be processed, and locate them A plurality of discrete points on the first contour area at the distal end of the first bone are projected onto the second contour area at the proximal end of the second bone.
  • the distance between the discrete points and the corresponding projection points of the plurality of discrete points determines the gap between the first bone and the second bone, since the plurality of discrete points located at the distal end of the first bone can be projected to the second contour area to determine the gap between the first bone and the second bone based on the distance between the discrete point and the projection point, thereby improving the accuracy of the determined bone gap. And, based on the determined gap between the first bone and the second bone, whether osteoarthritis exists between the first bone and the second bone can also be identified.
  • Figure 1 is a schematic flowchart of a method for intelligently identifying osteoarthritis based on deep learning provided by an embodiment of the present application
  • Figure 2 is a schematic structural diagram of the bone segmentation model
  • Figure 3 is a schematic diagram of multiple discrete points and the projection of each discrete point provided by the embodiment of the present application;
  • Figure 4 is a schematic structural diagram of the Hourglass neural network
  • Figure 5 is a schematic diagram of a system for intelligently identifying osteoarthritis based on deep learning provided by an embodiment of the present application
  • Figure 6 illustrates a schematic diagram of the physical structure of an electronic device.
  • the method for intelligently identifying osteoarthritis based on deep learning determines the contour areas corresponding to different types of bones in the image to be processed, and projects multiple discrete points on the contour area of one of the bones. onto another contour area to determine the distance between bones based on the distance between discrete points before and after projection.
  • the determination of the distance in the three-dimensional space can be converted into the determination of the distance between two points in the two-dimensional space, thereby improving the accuracy of the determined bone gap.
  • Figure 1 is a schematic flowchart of a method for intelligently identifying osteoarthritis based on deep learning provided by an embodiment of the present application.
  • the execution subject of the method for intelligently identifying osteoarthritis based on deep learning may be an electronic device. As shown in Figure 1, the method includes:
  • Step 101 Obtain the image to be processed.
  • the images to be processed include various types of medical images, such as computed tomography (CT) images, Magnetic Resonance Imaging (MRI) images, ultrasound images, X-ray images, and DynaCT images , positron emission computerized tomography (PET) image.
  • CT computed tomography
  • MRI Magnetic Resonance Imaging
  • PET DynaCT images
  • PET positron emission computerized tomography
  • the image to be processed may include a two-dimensional image or a three-dimensional image.
  • Step 102 Determine the first outline area of the first bone and the second outline area of the second bone in the image to be processed.
  • the first bone and the second bone may be different types of bones.
  • the first bone may be the femur and the second bone may be the tibia.
  • the first bone and the second bone can also be other bones, such as fibula, patella, etc.
  • the first bone is the femur and the second bone is the tibia.
  • the method of determining the outline areas of other types of bones is similar to the way of determining the outline areas of the femur and tibia, and will not be used here. Again.
  • the image to be processed can be input into a pre-trained bone segmentation model to obtain the area where the first bone is located and the area where the second bone is located, and the area where the first bone is located and the area where the second bone is located are respectively processed.
  • Contour extraction obtaining the first contour area of the first bone and the second contour area of the second bone.
  • the bone segmentation model is obtained by training the initial bone segmentation model using multiple sample images, where the multiple sample images are images containing different types of bones.
  • the image to be processed is input into a pre-trained bone segmentation model, and different types of bones included in the image to be processed can be divided or segmented, thereby segmenting the area where the first bone is located and the area where the second bone is located. .
  • contour extraction is performed on the area where the first bone is located and the area where the second bone is located, so that the first outline area of the first bone and the second outline area of the second bone can be obtained.
  • Figure 2 is a schematic structural diagram of a bone segmentation model.
  • the image segmentation algorithm in the embodiment of this application adopts a deeplabv3+ network structure, which includes an encoder (Encoder) and a decoder (Decoder).
  • the first module connected in the Encoder is Deep Convolutional Neural Networks (DCNN), which represents the backbone network used to extract image features.
  • DCNN Deep Convolutional Neural Networks
  • the image to be processed is input to the encoder, two effective feature layers are generated through DCNN, namely the shallow feature layer and the deep feature layer.
  • the height and width of the shallow feature layer will be larger, while the downsampling of the deep feature layer will There are more, so the height and width will be smaller.
  • the ASPP network includes a 1*1 convolution, three 3*3 atrous convolutions and a global pooling to complete the backbone network. The output is processed. Among them, three 3*3 atrous convolutions with different sampling rates can be used for feature extraction. For example, the sampling rates of three 3*3 atrous convolutions are 6, 12 and 18 respectively.
  • the ASPP network samples the input deep feature layer in parallel with atrous convolutions with different sampling rates, which can better capture the contextual information of the image. After that, the results are connected and a 1*1 convolution is used to reduce the number of channels to obtain a feature layer with a reduced number of channels.
  • the shallow feature layer generated by DCNN enters the decoder (Decoder), and after 1x1 convolution, it is transformed into the same shape as the feature layer with the number of channels reduced.
  • the feature layer with high semantic information and reduced channel number generated by the encoder enters the Decoder for upsampling, and then is feature fused with the result obtained by 1x1 convolution of the shallow feature layer, and then through 3x3 convolution for feature fusion. Extract, and use the results of feature extraction to achieve regional segmentation of different types of bones to obtain feature maps.
  • Decoder is an upsampling oversymmetry, that is, a process of feature restoration, which can restore the feature map to be consistent with the size of the input image to be processed.
  • the deeplabv3+ image segmentation algorithm can be used to segment the tibia, femur and fibula areas in the image to be processed.
  • the sample images required for training the bone segmentation model can be a medical image set.
  • the medical image set includes multiple images containing different types of bones. In these images, areas of different types of bones are manually marked. , as label information.
  • the above medical image set can also be divided into a training set and a test set, and the annotated medical images can be used as images in the training set to train the initial bone segmentation model. As images in the test set, the trained model is tested.
  • Input the sample image into the initial bone segmentation model, and the segmentation results of different types of bones will be output. Compare the segmentation result with the label information to obtain the loss information, adjust the network parameters of the initial bone segmentation model based on the loss information, and repeat the above training process until the loss information is minimal or the obtained bone segmentation model converges. The training process ends, and the final model is determined as the bone segmentation model.
  • the first bone and the second bone in the image to be processed can be segmented, and then the first outline area of the first bone and the second outline area of the second bone can be extracted. Contour regions, improve the efficiency and accuracy of different types of bone segmentation.
  • Step 103 Project multiple discrete points located on the first contour area at the distal end of the first bone onto the second contour area at the proximal end of the second bone to obtain multiple projection points that correspond one-to-one to the multiple discrete points.
  • the inner edge boundary point of the distal end of the first bone and the lateral edge boundary point of the distal end of the first bone can be determined first, between the inner edge boundary point and the lateral edge boundary point.
  • a plurality of discrete points are determined on the first contour area of the distal end of the first bone.
  • Figure 3 is a schematic diagram of multiple discrete points and the projection of discrete points provided by the embodiment of the present application.
  • the first outline area of the first bone is the outline area of the femur
  • the second outline area of the second bone is Taking the outline area of the tibia as an example, after the outline area is determined, the medial edge boundary point P1 and the lateral edge boundary point Pn will be determined in the outline area of the distal femur.
  • FIG. 4 is a schematic structural diagram of the Hourglass neural network.
  • the network is an hourglass. structure that can output pixel-level predictions.
  • the network consists of a convolution layer (C1-C7) and a pooling layer.
  • the feature map (C1a-C4a) in the middle part is a copy layer of the convolution layer.
  • New feature information can be obtained to achieve the effect of feature fusion, which is the C1b-C4b part in the figure.
  • the entire Hourglass is symmetrical. For every network layer in the process of obtaining low-resolution features, there will be a corresponding network layer in the upsampling process.
  • a large feature layer namely C1b
  • This layer retains the information of all layers and is equal to the size of the input original image.
  • a heatmap representing the probability of key points is generated through 1x1 convolution. , take the point with the maximum probability value in the heat map as the feature point, and the location of this feature point is the predicted femur boundary point location.
  • the curvature of each point in the contour area of the distal femur can also be calculated, and the two points with the largest curvatures are determined as the medial edge boundary point P1 and the lateral edge boundary point Pn.
  • multiple discrete points can be determined on the first contour area between the inner edge boundary point P1 and the outer edge boundary point Pn, such as P1, P2, P3, P4...Pn, wherein among the multiple discrete points , the distance between any two adjacent discrete points can be the same or different. It can be understood that the smaller the distance between adjacent discrete points, that is, the greater the number of extracted discrete points, the more accurate the determined gap between the first bone and the second bone.
  • the first bone by determining the medial edge boundary point of the distal end of the first bone and the lateral edge boundary point of the distal end of the first bone, and between the medial edge boundary point and the lateral edge boundary point, the first bone A plurality of discrete points are determined on the first contour area at the distal end, so that the distance between the first bone and the second bone can be determined through specific discrete points on the contour area of the first bone that are close to the contour area of the second bone. , thereby improving the accuracy of the determined gap between the first bone and the second bone.
  • the plurality of discrete points on the first contour area can be projected onto the second contour area at the proximal end of the second bone to obtain multiple projection points.
  • discrete points P1, P2, P3, P4...Pn are vertically projected onto the second contour area of the proximal tibia to obtain multiple projection points P1', P2', P3', P4'... Pn'.
  • Step 104 Determine the gap between the first bone and the second bone based on the distance between the plurality of discrete points and the projection points corresponding to the plurality of discrete points.
  • the distance between each discrete point and its corresponding projection point can be calculated, thereby determining the gap between the first bone and the second bone.
  • the smallest distance among the plurality of distances is determined as the first The gap between the bone and the second bone.
  • the projection point corresponding to the discrete point P1 is P1'
  • the projection point corresponding to the discrete point P2 is P2'
  • the projection point corresponding to the discrete point Pn is Pn'
  • the discrete point P1 can be calculated and the distance L1 between the projection point P1', the distance L2 between the discrete point P2 and the projection point P2',..., the distance Ln between the discrete point Pn and the projection point Pn'.
  • the smallest distance Lmin among all distances is determined as the gap between the first bone and the second bone.
  • the distance between the discrete point Pn and the projection point Pn' can be determined as the gap between the first bone and the second bone.
  • the minimum distance is determined as the gap between the first bone and the second bone, which can be used for subsequent determination based on the bone gap.
  • the degree of joint disease provides a favorable basis.
  • the average value of the multiple distances is determined as the first bone and The gap between the second bones.
  • the average value of multiple distances is determined as the gap between the first bone and the second bone, thereby improving the determination The accuracy of the gap.
  • the gap can also be matched with multiple preset gap ranges, a target gap range in which the gap is located is determined, and based on the target gap range, the The degree of disease at the joint where the first and second bones are located.
  • the gap is matched with multiple preset gap ranges to determine the target gap range in which the gap is located.
  • the preset multiple gap ranges include 0.3cm-0.5cm, 0.5cm-0.7cm, 0.7cm-0.9cm, 0.9cm-1.1 cm, after matching the determined gap with multiple preset gap ranges, it is determined that the gap 0.8cm between the first bone and the second bone is within the target gap range of 0.7cm-0.9cm.
  • each preset gap range corresponds to a degree of disease.
  • 0.3cm-0.5cm corresponds to grade four, which means that there are a large number of osteophytes in the articular cartilage joints, severe narrowing of the joint space, and obvious subchondral bone sclerosis and deformity.
  • 0.5 cm-0.7cm corresponds to grade three, indicating moderate narrowing of the articular cartilage joint space and sclerosis of the subchondral bone.
  • 0.7cm-0.9cm corresponds to grade two, indicating the presence of obvious osteophytes in the articular cartilage and mild narrowing of the joint space.
  • 0.9 cm-1.1cm corresponds to the first level, indicating suspicious narrowing of the joint space and possible labial hyperplasia.
  • the degree of disease at the joint where the first bone and the second bone are located can be further determined.
  • the degree of disease can be determined to be level two, that is to say, the degree of disease at the joint between the first bone and the second bone can be determined. Osteoarthritis occurs between bones.
  • the method for intelligently identifying osteoarthritis based on deep learning obtains the image to be processed, determines the first outline area of the first bone and the second outline area of the second bone in the image to be processed, and locates them. A plurality of discrete points on the first contour area at the distal end of the first bone are projected onto the second contour area at the proximal end of the second bone.
  • the distance between the discrete points and the corresponding projection points of the plurality of discrete points determines the gap between the first bone and the second bone, since the plurality of discrete points located at the distal end of the first bone can be projected to the second contour area to determine the gap between the first bone and the second bone based on the distance between the discrete point and the projection point, thereby improving the accuracy of the determined bone gap. And, based on the determined gap between the first bone and the second bone, it can also be determined whether osteoarthritis exists between the first bone and the second bone.
  • the following is a description of the system for intelligently identifying osteoarthritis based on deep learning provided by the embodiments of the present application.
  • the system for intelligently identifying osteoarthritis based on deep learning described below is different from the system for intelligently identifying osteoarthritis based on deep learning described above. Methods can be compared to each other.
  • Figure 5 is a schematic diagram of a system for intelligently identifying osteoarthritis based on deep learning provided by an embodiment of the present application. As shown in Figure 5, the device includes:
  • the acquisition module 11 is configured to acquire the image to be processed
  • the determination module 12 is configured to determine the first outline area of the first bone and the second outline area of the second bone in the image to be processed;
  • the projection module 13 is configured to project a plurality of discrete points located on the first contour area at the distal end of the first bone onto the second contour area at the proximal end of the second bone, to obtain the same as the plurality of discrete points. Multiple projection points corresponding to discrete points one-to-one;
  • the determination module 12 is further configured to determine the gap between the first bone and the second bone based on the distance between the plurality of discrete points and the projection points corresponding to the plurality of discrete points. .
  • the determination module 12 is specifically configured as:
  • the smallest distance among multiple distances is determined as the gap between the first bone and the second bone.
  • the determination module 12 is specifically configured as:
  • An average of the plurality of distances is determined as the gap between the first bone and the second bone.
  • the determination module 12 is specifically configured as:
  • the image to be processed is input into a pre-trained bone segmentation model to obtain the area where the first bone is located and the area where the second bone is located, wherein the bone segmentation model utilizes multiple
  • the sample images are obtained after training, wherein the plurality of sample images are images containing different types of bones;
  • Contour extraction is performed on the area where the first bone is located and the area where the second bone is located, respectively, to obtain a first outline area of the first bone and a second outline area of the second bone.
  • the determination module 12 is also configured to:
  • a plurality of discrete points are determined on the first contour area of the distal end of the first bone between the medial edge boundary point and the lateral edge boundary point.
  • the determination module 12 is also configured to:
  • the degree of disease of the joint where the first bone and the second bone are located is determined.
  • the device of this embodiment can be used to execute the method of any of the foregoing electronic device side method embodiments. Its specific implementation process and technical effects are similar to those in the electronic device side method embodiments. For details, please refer to Electronic Device Side Method Implementation The detailed introduction in the example will not be repeated here.
  • Figure 6 illustrates a schematic diagram of the physical structure of an electronic device.
  • the electronic device may include: a processor (processor) 410, a communications interface (Communications Interface) 420, a memory (memory) 430 and a communication bus 440.
  • the processor 410, the communication interface 420, and the memory 430 complete communication with each other through the communication bus 440.
  • the processor 410 can call logical instructions in the memory 430 to perform a method for intelligently identifying osteoarthritis based on deep learning.
  • the method includes: acquiring an image to be processed; and determining a first outline area of a first bone in the image to be processed.
  • the above-mentioned logical instructions in the memory 430 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.
  • the technical solution of the present application is essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product.
  • the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of this application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program code. .
  • the present application also provides a computer program product.
  • the computer program product includes a computer program.
  • the computer program can be stored on a non-transitory computer-readable storage medium.
  • the computer can Execute the method for intelligently identifying osteoarthritis based on deep learning provided by each of the above methods.
  • the method includes: acquiring an image to be processed; determining the first contour area of the first bone and the second contour area of the second bone in the image to be processed.
  • Contour area project a plurality of discrete points located on the first contour area at the distal end of the first bone onto the second contour area at the proximal end of the second bone to obtain a one-to-one relationship with the plurality of discrete points.
  • Corresponding plurality of projection points determine the gap between the first bone and the second bone according to the distance between the plurality of discrete points and the corresponding projection points of the plurality of discrete points.
  • the present application also provides a non-transitory computer-readable storage medium on which a computer program is stored.
  • the computer program is implemented when executed by the processor to perform the intelligent identification of bone joints based on deep learning provided by the above methods.
  • inflammatory method includes: acquiring an image to be processed; determining a first outline area of a first bone and a second outline area of a second bone in the image to be processed; placing the first outline area located at the distal end of the first bone A plurality of discrete points on the contour area are projected onto the second contour area at the proximal end of the second bone to obtain a plurality of projection points corresponding to the plurality of discrete points; according to the plurality of discrete points and The distance between the corresponding projection points of the plurality of discrete points determines the gap between the first bone and the second bone.
  • the device embodiments described above are only illustrative.
  • the units described as separate components may or may not be physically separated.
  • the components shown as units may or may not be physical units, that is, they may be located in One location, or it can be distributed across multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. Persons of ordinary skill in the art can understand and implement the method without any creative effort.
  • each embodiment can be implemented by software plus a necessary general hardware platform, and of course, it can also be implemented by hardware.
  • the computer software product can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., including a number of instructions to cause a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in various embodiments or certain parts of the embodiments.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Data Mining & Analysis (AREA)
  • Radiology & Medical Imaging (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Medical Informatics (AREA)
  • Biomedical Technology (AREA)
  • Biophysics (AREA)
  • Computational Linguistics (AREA)
  • Quality & Reliability (AREA)
  • Evolutionary Computation (AREA)
  • Molecular Biology (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Image Analysis (AREA)
  • Apparatus For Radiation Diagnosis (AREA)

Abstract

The present application provides a deep learning-based method and system for intelligently identifying osteoarthritis, an electronic device, a readable storage medium, and a computer program product, applicable to the field of image processing. The method comprises: acquiring an image to be processed; determining a first contour area of a first bone and a second contour area of a second bone in the image to be processed; projecting multiple discrete points located on the first contour area of a distal end of the first bone to a second contour area of a proximal end of the second bone, to obtain multiple projection points corresponding one-to-one to the multiple discrete points; and determining a gap between the first bone and the second bone according to the distances between the multiple discrete points and the projection points corresponding to the multiple discrete points. The deep learning-based method and system for intelligently identifying osteoarthritis, the electronic device, the readable storage medium, and the computer program product provided by the present application may enhance the accuracy of determining an identified bone gap.

Description

基于深度学习的智能识别骨关节炎的方法及系统Method and system for intelligent identification of osteoarthritis based on deep learning
相关申请的交叉引用Cross-references to related applications
本申请要求于2022年06月15日提交的申请号为202210682179.8,名称为“基于深度学习的智能识别骨关节炎的方法及系统”的中国专利申请的优先权,其通过引用方式全部并入本文。This application claims priority to the Chinese patent application with application number 202210682179.8 submitted on June 15, 2022, titled "Method and System for Intelligent Identification of Osteoarthritis Based on Deep Learning", which is fully incorporated herein by reference. .
技术领域Technical field
本申请涉及图像处理技术领域,尤其涉及一种基于深度学习的智能识别骨关节炎的方法及系统。This application relates to the field of image processing technology, and in particular to a method and system for intelligently identifying osteoarthritis based on deep learning.
背景技术Background technique
骨骼间隙,是指不同类型的骨骼之间的距离。准确的确定骨骼之间的间隙,在医学领域中具有重要的意义。Bone gap refers to the distance between different types of bones. Accurately determining the gaps between bones is of great significance in the medical field.
现有技术中,在确定骨骼间隙时,通常都是通过拍摄医学图像后,用户通过肉眼进行观测,从而评估出骨骼之间的间隙。In the existing technology, when determining the bone gap, the user usually evaluates the gap between the bones by taking medical images and observing with the naked eye.
然而,上述方式得出的骨骼间隙精度不高。However, the accuracy of the bone gaps obtained by the above method is not high.
发明内容Contents of the invention
本申请提供一种基于深度学习的智能识别骨关节炎的方法及系统,用以解决现有技术中确定骨骼间隙的精度不高的缺陷,提高了确定出的骨骼间隙的精度。This application provides a method and system for intelligently identifying osteoarthritis based on deep learning, which is used to solve the shortcoming of low accuracy in determining bone gaps in the existing technology and improve the accuracy of determined bone gaps.
本申请提供一种基于深度学习的智能识别骨关节炎的方法,包括:This application provides a method for intelligently identifying osteoarthritis based on deep learning, including:
获取待处理图像;Get the image to be processed;
确定所述待处理图像中第一骨骼的第一轮廓区域和第二骨骼的第二轮廓区域;Determine the first outline area of the first bone and the second outline area of the second bone in the image to be processed;
将位于所述第一骨骼远端的第一轮廓区域上的多个离散点,投影至所述 第二骨骼近端的第二轮廓区域上,得到与所述多个离散点一一对应的多个投影点;A plurality of discrete points located on the first contour area at the distal end of the first bone are projected onto the second contour area at the proximal end of the second bone to obtain a multi-point coordinate system corresponding to the plurality of discrete points in a one-to-one manner. projection points;
根据所述多个离散点和所述多个离散点各自对应的投影点之间的距离,确定所述第一骨骼和所述第二骨骼之间的间隙。The gap between the first bone and the second bone is determined according to the distance between the plurality of discrete points and respective corresponding projection points of the plurality of discrete points.
根据本申请提供的一种基于深度学习的智能识别骨关节炎的方法,所述根据所述多个离散点和所述多个离散点各自对应的投影点之间的距离,确定所述第一骨骼和所述第二骨骼之间的间隙,包括:According to a method for intelligently identifying osteoarthritis based on deep learning provided by this application, the first step is determined based on the distance between the plurality of discrete points and the projection points corresponding to the plurality of discrete points. The gap between the bone and said second bone, including:
确定多个离散点中的每个离散点和所述每个离散点对应的投影点之间的距离;Determine the distance between each discrete point in the plurality of discrete points and the projection point corresponding to each discrete point;
将多个距离中的最小的距离,确定为所述第一骨骼和所述第二骨骼之间的间隙。The smallest distance among multiple distances is determined as the gap between the first bone and the second bone.
根据本申请提供的一种基于深度学习的智能识别骨关节炎的方法,所述根据所述多个离散点和所述多个离散点各自对应的投影点之间的距离,确定所述第一骨骼和所述第二骨骼之间的间隙,包括:According to a method for intelligently identifying osteoarthritis based on deep learning provided by this application, the first step is determined based on the distance between the plurality of discrete points and the projection points corresponding to the plurality of discrete points. The gap between the bone and said second bone, including:
确定多个离散点中的每个离散点和所述每个离散点对应的投影点之间的距离;Determine the distance between each discrete point in the plurality of discrete points and the projection point corresponding to each discrete point;
将多个距离的平均值确定为所述第一骨骼和所述第二骨骼之间的间隙。An average of the plurality of distances is determined as the gap between the first bone and the second bone.
根据本申请提供的一种基于深度学习的智能识别骨关节炎的方法,所述确定所述待处理图像中第一骨骼的第一轮廓区域和第二骨骼的第二轮廓区域,包括:According to a method for intelligently identifying osteoarthritis based on deep learning provided by this application, determining the first outline area of the first bone and the second outline area of the second bone in the image to be processed includes:
将所述待处理图像输入至预先训练的骨骼分割模型中,得到所述第一骨骼所在的区域和所述第二骨骼所在的区域,其中,所述骨骼分割模型通过初始骨骼分割模型利用多个样本图像进行训练后得到的,其中,所述多个样本图像为包含不同类型骨骼的图像;The image to be processed is input into a pre-trained bone segmentation model to obtain the area where the first bone is located and the area where the second bone is located, wherein the bone segmentation model utilizes multiple The sample images are obtained after training, wherein the plurality of sample images are images containing different types of bones;
分别对所述第一骨骼所在的区域和所述第二骨骼所在的区域进行轮廓提取,得到所述第一骨骼的第一轮廓区域和所述第二骨骼的第二轮廓区域。Contour extraction is performed on the area where the first bone is located and the area where the second bone is located, respectively, to obtain a first outline area of the first bone and a second outline area of the second bone.
根据本申请提供的一种基于深度学习的智能识别骨关节炎的方法,所述将位于所述第一骨骼的远端的第一轮廓区域上的多个离散点,投影至所述第二骨骼的近端的第二轮廓区域上,得到与所述多个离散点一一对应的多个投影点之前,所述方法还包括:According to a method for intelligently identifying osteoarthritis based on deep learning provided by this application, a plurality of discrete points located on the first contour area at the distal end of the first bone are projected to the second bone Before obtaining a plurality of projection points corresponding to the plurality of discrete points on the proximal second contour area, the method further includes:
确定所述第一骨骼的远端的内侧边缘边界点和所述第一骨骼的远端的外侧边缘边界点;determining a medial edge boundary point of the distal end of the first bone and a lateral edge boundary point of the distal end of the first bone;
在所述内侧边缘边界点和所述外侧边缘边界点之间,在所述第一骨骼的远端的第一轮廓区域上确定多个离散点。A plurality of discrete points are determined on the first contour area of the distal end of the first bone between the medial edge boundary point and the lateral edge boundary point.
根据本申请提供的一种基于深度学习的智能识别骨关节炎的方法,确定所述第一骨骼和所述第二骨骼之间的间隙之后,所述方法还包括:According to a method for intelligently identifying osteoarthritis based on deep learning provided in this application, after determining the gap between the first bone and the second bone, the method further includes:
将所述间隙与预设的多个间隙范围进行匹配,确定所述间隙所处的目标间隙范围;Match the gap with multiple preset gap ranges and determine the target gap range in which the gap is located;
根据所述目标间隙范围,确定所述第一骨骼和所述第二骨骼所在关节的病变程度。According to the target gap range, the degree of disease of the joint where the first bone and the second bone are located is determined.
本申请还提供一种基于深度学习的智能识别骨关节炎的系统,包括:This application also provides a system for intelligent identification of osteoarthritis based on deep learning, including:
获取模块,被配置为获取待处理图像;The acquisition module is configured to acquire the image to be processed;
确定模块,被配置为确定所述待处理图像中第一骨骼的第一轮廓区域和第二骨骼的第二轮廓区域;a determination module configured to determine the first outline area of the first bone and the second outline area of the second bone in the image to be processed;
投影模块,被配置为将位于所述第一骨骼远端的第一轮廓区域上的多个离散点,投影至所述第二骨骼近端的第二轮廓区域上,得到与所述多个离散点一一对应的多个投影点;The projection module is configured to project a plurality of discrete points located on the first contour area at the distal end of the first bone to the second contour area at the proximal end of the second bone to obtain the results corresponding to the plurality of discrete points. Multiple projection points with one-to-one correspondence;
所述确定模块,还被配置为根据所述多个离散点和所述多个离散点各自对应的投影点之间的距离,确定所述第一骨骼和所述第二骨骼之间的间隙。The determination module is further configured to determine the gap between the first bone and the second bone based on the distance between the plurality of discrete points and the corresponding projection points of the plurality of discrete points.
本申请还提供一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如上述任一种所述基于深度学习的智能识别骨关节炎的方法。This application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements any of the above deep learning-based methods. An intelligent method for identifying osteoarthritis.
本申请还提供一种非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如上述任一种所述基于深度学习的智能识别骨关节炎的方法。This application also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the method for intelligently identifying osteoarthritis based on deep learning is implemented as described in any one of the above.
本申请还提供一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时实现如上述任一种所述基于深度学习的智能识别骨关节炎的方法。This application also provides a computer program product, which includes a computer program that, when executed by a processor, implements any one of the above deep learning-based intelligent identification methods for osteoarthritis.
本申请提供的基于深度学习的智能识别骨关节炎的方法及系统,通过获取待处理图像,确定待处理图像中第一骨骼的第一轮廓区域和第二骨骼的第 二轮廓区域,并将位于第一骨骼远端的第一轮廓区域上的多个离散点,投影至第二骨骼近端的第二轮廓区域上,得到与多个离散点一一对应的多个投影点后,再根据多个离散点和多个离散点各自对应的投影点之间的距离,确定第一骨骼和第二骨骼之间的间隙,由于可以将位于第一骨骼远端的多个离散点投影到第二轮廓区域上,以根据离散点和投影点之间的距离,确定第一骨骼和第二骨骼之间的间隙,从而可以提高确定出的骨骼间隙的精度。并且,基于确定的第一骨骼和第二骨骼之间的间隙,还可以识别出第一骨骼和第二骨骼之间是否存在骨关节炎。The method and system for intelligent identification of osteoarthritis based on deep learning provided by this application, by acquiring the image to be processed, determine the first outline area of the first bone and the second outline area of the second bone in the image to be processed, and locate them A plurality of discrete points on the first contour area at the distal end of the first bone are projected onto the second contour area at the proximal end of the second bone. After obtaining a plurality of projection points corresponding to the plurality of discrete points one-to-one, based on the multiple The distance between the discrete points and the corresponding projection points of the plurality of discrete points determines the gap between the first bone and the second bone, since the plurality of discrete points located at the distal end of the first bone can be projected to the second contour area to determine the gap between the first bone and the second bone based on the distance between the discrete point and the projection point, thereby improving the accuracy of the determined bone gap. And, based on the determined gap between the first bone and the second bone, whether osteoarthritis exists between the first bone and the second bone can also be identified.
附图说明Description of the drawings
为了更清楚地说明本申请或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions in this application or the prior art more clearly, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings in the following description are of the present invention. For some embodiments of the application, those of ordinary skill in the art can also obtain other drawings based on these drawings without exerting creative efforts.
图1为本申请实施例提供的基于深度学习的智能识别骨关节炎的方法的流程示意图;Figure 1 is a schematic flowchart of a method for intelligently identifying osteoarthritis based on deep learning provided by an embodiment of the present application;
图2为骨骼分割模型的结构示意图;Figure 2 is a schematic structural diagram of the bone segmentation model;
图3为本申请实施例提供的多个离散点及每个离散点的投影示意图;Figure 3 is a schematic diagram of multiple discrete points and the projection of each discrete point provided by the embodiment of the present application;
图4为Hourglass神经网络的结构示意图;Figure 4 is a schematic structural diagram of the Hourglass neural network;
图5为本申请实施例提供的基于深度学习的智能识别骨关节炎的系统的示意图;Figure 5 is a schematic diagram of a system for intelligently identifying osteoarthritis based on deep learning provided by an embodiment of the present application;
图6示例了一种电子设备的实体结构示意图。Figure 6 illustrates a schematic diagram of the physical structure of an electronic device.
具体实施方式Detailed ways
为使本申请的目的、技术方案和优点更加清楚,下面将结合本申请中的附图,对本申请中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in this application. Obviously, the described embodiments are part of the embodiments of this application. , not all examples. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of this application.
本申请实施例提供的基于深度学习的智能识别骨关节炎的方法,通过确定待处理图像中不同类型的骨骼各自对应的轮廓区域,并通过将其中一个骨骼的轮廓区域上的多个离散点投影到另一个轮廓区域上,从而根据投影之前的离散点和投影之后的投影点之间的距离,确定骨骼之间的距离。通过上述方式,可以将确定三维空间的距离,转换为确定二维空间中两点之间的距离,从而可以提高确定出的骨骼间隙的精度。The method for intelligently identifying osteoarthritis based on deep learning provided in the embodiments of this application determines the contour areas corresponding to different types of bones in the image to be processed, and projects multiple discrete points on the contour area of one of the bones. onto another contour area to determine the distance between bones based on the distance between discrete points before and after projection. Through the above method, the determination of the distance in the three-dimensional space can be converted into the determination of the distance between two points in the two-dimensional space, thereby improving the accuracy of the determined bone gap.
下面结合图1-图4描述本申请实施例提供的基于深度学习的智能识别骨关节炎的方法。The method for intelligently identifying osteoarthritis based on deep learning provided by embodiments of the present application is described below with reference to Figures 1-4.
图1为本申请实施例提供的基于深度学习的智能识别骨关节炎的方法的流程示意图,该基于深度学习的智能识别骨关节炎的方法的执行主体可以为电子设备。如图1所示,该方法包括:Figure 1 is a schematic flowchart of a method for intelligently identifying osteoarthritis based on deep learning provided by an embodiment of the present application. The execution subject of the method for intelligently identifying osteoarthritis based on deep learning may be an electronic device. As shown in Figure 1, the method includes:
步骤101:获取待处理图像。Step 101: Obtain the image to be processed.
在本步骤中,待处理图像包括各种类型的医学图像,例如计算机断层扫描(computed tomograhy,CT)图像、磁共振成像(Magnetic Resonance Imaging,MRI)图像、超声波图像、X-射线图像、DynaCT图像、正电子发射断层扫描(positron emission computerized tomography,PET)图像。In this step, the images to be processed include various types of medical images, such as computed tomography (CT) images, Magnetic Resonance Imaging (MRI) images, ultrasound images, X-ray images, and DynaCT images , positron emission computerized tomography (PET) image.
另外,待处理图像可以包括二维图像或三维图像。In addition, the image to be processed may include a two-dimensional image or a three-dimensional image.
步骤102:确定待处理图像中第一骨骼的第一轮廓区域和第二骨骼的第二轮廓区域。Step 102: Determine the first outline area of the first bone and the second outline area of the second bone in the image to be processed.
在本步骤中,第一骨骼和第二骨骼可以为不同类型的骨骼。例如,第一骨骼可以为股骨,第二骨骼可以为胫骨。当然,第一骨骼和第二骨骼也可以为其他骨骼,如腓骨、髌骨等。本申请实施例中均以第一骨骼为股骨,第二骨骼为胫骨为例进行说明,对于确定其他类型的骨骼的轮廓区域的方式,与确定股骨和胫骨的轮廓区域的方式类似,此处不再赘述。In this step, the first bone and the second bone may be different types of bones. For example, the first bone may be the femur and the second bone may be the tibia. Of course, the first bone and the second bone can also be other bones, such as fibula, patella, etc. In the embodiments of this application, the first bone is the femur and the second bone is the tibia. The method of determining the outline areas of other types of bones is similar to the way of determining the outline areas of the femur and tibia, and will not be used here. Again.
可选地,可以将待处理图像输入至预先训练的骨骼分割模型中,得到第一骨骼所在的区域和第二骨骼所在的区域,分别对第一骨骼所在的区域和第二骨骼所在的区域进行轮廓提取,得到第一骨骼的第一轮廓区域和第二骨骼的第二轮廓区域。Optionally, the image to be processed can be input into a pre-trained bone segmentation model to obtain the area where the first bone is located and the area where the second bone is located, and the area where the first bone is located and the area where the second bone is located are respectively processed. Contour extraction, obtaining the first contour area of the first bone and the second contour area of the second bone.
其中,骨骼分割模型通过初始骨骼分割模型利用多个样本图像进行训练后得到的,其中,多个样本图像为包含不同类型骨骼的图像。Among them, the bone segmentation model is obtained by training the initial bone segmentation model using multiple sample images, where the multiple sample images are images containing different types of bones.
具体的,将待处理图像输入至预先训练的骨骼分割模型中,可以将待处理图像中包括的不同类型的骨骼进行划分或者分割,从而分割出第一骨骼所在的区域和第二骨骼所在的区域。分割完成后,对第一骨骼所在的区域和第二骨骼所在的区域进行轮廓提取,即可得到第一骨骼的第一轮廓区域和第二骨骼的第二轮廓区域。Specifically, the image to be processed is input into a pre-trained bone segmentation model, and different types of bones included in the image to be processed can be divided or segmented, thereby segmenting the area where the first bone is located and the area where the second bone is located. . After the segmentation is completed, contour extraction is performed on the area where the first bone is located and the area where the second bone is located, so that the first outline area of the first bone and the second outline area of the second bone can be obtained.
示例性的,图2为骨骼分割模型的结构示意图,如图2所示,本申请实施例中的图像分割算法采用deeplabv3+网络结构,该网络结构包括编码器(Encoder)和解码器(Decoder),其中,编码器(Encoder)中连接的第一个模块是深度卷积神经网络(Deep Convolutional Neural Networks,DCNN),其代表的是用于提取图片特征的主干网络。将待处理图像输入至编码器后,经过DCNN生成两个有效特征层,分别为浅层特征层和深层特征层,浅层特征层的高和宽会大一些,而深层特征层的下采样会多一些,所以高和宽会小一些。Exemplarily, Figure 2 is a schematic structural diagram of a bone segmentation model. As shown in Figure 2, the image segmentation algorithm in the embodiment of this application adopts a deeplabv3+ network structure, which includes an encoder (Encoder) and a decoder (Decoder). Among them, the first module connected in the Encoder is Deep Convolutional Neural Networks (DCNN), which represents the backbone network used to extract image features. After the image to be processed is input to the encoder, two effective feature layers are generated through DCNN, namely the shallow feature layer and the deep feature layer. The height and width of the shallow feature layer will be larger, while the downsampling of the deep feature layer will There are more, so the height and width will be smaller.
DCNN右边是一个空洞空间卷积池化金字塔(atrous spatial pyramid pooling,ASPP)网络,ASPP网络包括一个1*1的卷积、3个3*3的空洞卷积和一个全局池化来对主干网络的输出进行处理。其中,可以采用不同采样率的3个3*3的空洞卷积进行特征提取,示例性的,3个3*3的空洞卷积的采样率分别为6、12和18。ASPP网络对输入的深层特征层以不同采样率的空洞卷积并行采样,可以更好的捕捉图像的上下文信息。之后,再将其结果都连接起来并用一个1*1的卷积来缩减通道数,获得缩减了通道数的特征层。On the right side of DCNN is an atrous spatial convolutional pyramid pooling (ASPP) network. The ASPP network includes a 1*1 convolution, three 3*3 atrous convolutions and a global pooling to complete the backbone network. The output is processed. Among them, three 3*3 atrous convolutions with different sampling rates can be used for feature extraction. For example, the sampling rates of three 3*3 atrous convolutions are 6, 12 and 18 respectively. The ASPP network samples the input deep feature layer in parallel with atrous convolutions with different sampling rates, which can better capture the contextual information of the image. After that, the results are connected and a 1*1 convolution is used to reduce the number of channels to obtain a feature layer with a reduced number of channels.
由DCNN生成的浅层特征层进入到解码器(Decoder)中,经过1x1卷积后,将与缩减了通道数的特征层变换成相同形状。由编码器生成的具有高语义信息的缩减了通道数的特征层进入到Decoder中进行上采样,之后与浅层特征层经过1x1卷积得到的结果进行特征融合,之后经过3x3的卷积进行特征提取,并利用特征提取的结果来实现不同类型骨骼的区域分割,得到特征图。另外,Decoder是一个上采样过称,即特征还原的过程, 可以将特征图还原为与输入的待处理图像尺寸一致。The shallow feature layer generated by DCNN enters the decoder (Decoder), and after 1x1 convolution, it is transformed into the same shape as the feature layer with the number of channels reduced. The feature layer with high semantic information and reduced channel number generated by the encoder enters the Decoder for upsampling, and then is feature fused with the result obtained by 1x1 convolution of the shallow feature layer, and then through 3x3 convolution for feature fusion. Extract, and use the results of feature extraction to achieve regional segmentation of different types of bones to obtain feature maps. In addition, Decoder is an upsampling oversymmetry, that is, a process of feature restoration, which can restore the feature map to be consistent with the size of the input image to be processed.
通过deeplabv3+图像分割算法可以分割待处理图像中胫骨、股骨和腓骨区域。The deeplabv3+ image segmentation algorithm can be used to segment the tibia, femur and fibula areas in the image to be processed.
另外,用来训练骨骼分割模型所需要的样本图像可以为医学图像集,该医学图像集中包括多个包含有不同类型的骨骼的图像,在该些图像中,手动标注出不同类型的骨骼的区域,作为标签信息。为了提高训练出的模型的准确度,还可以将上述医学图像集划分为训练集和测试集,将标注后的医学图像作为训练集中的图像对初始骨骼分割模型进行训练,将未标注的医学图像作为测试集中的图像,对训练好的模型进行测试。In addition, the sample images required for training the bone segmentation model can be a medical image set. The medical image set includes multiple images containing different types of bones. In these images, areas of different types of bones are manually marked. , as label information. In order to improve the accuracy of the trained model, the above medical image set can also be divided into a training set and a test set, and the annotated medical images can be used as images in the training set to train the initial bone segmentation model. As images in the test set, the trained model is tested.
将样本图像输入至初始骨骼分割模型中,会输出不同类型的骨骼的分割结果。将该分割结果和标签信息进行比对,从而得到损失信息,基于该损失信息调整初始骨骼分割模型的网络参数,并重复执行上述的训练过程,直至该损失信息最小或者得到的骨骼分割模型收敛,该训练过程结束,并将最后得到的模型确定为骨骼分割模型。Input the sample image into the initial bone segmentation model, and the segmentation results of different types of bones will be output. Compare the segmentation result with the label information to obtain the loss information, adjust the network parameters of the initial bone segmentation model based on the loss information, and repeat the above training process until the loss information is minimal or the obtained bone segmentation model converges. The training process ends, and the final model is determined as the bone segmentation model.
在本实施例中,通过预先训练的骨骼分割模型,可以将待处理图像中的第一骨骼和第二骨骼进行分割,继而可以提取出第一骨骼的第一轮廓区域和第二骨骼的第二轮廓区域,提高了不同类型的骨骼分割的效率和准确性。In this embodiment, through the pre-trained bone segmentation model, the first bone and the second bone in the image to be processed can be segmented, and then the first outline area of the first bone and the second outline area of the second bone can be extracted. Contour regions, improve the efficiency and accuracy of different types of bone segmentation.
步骤103:将位于第一骨骼远端的第一轮廓区域上的多个离散点,投影至第二骨骼近端的第二轮廓区域上,得到与多个离散点一一对应的多个投影点。Step 103: Project multiple discrete points located on the first contour area at the distal end of the first bone onto the second contour area at the proximal end of the second bone to obtain multiple projection points that correspond one-to-one to the multiple discrete points. .
在本步骤中,在分割出第一骨骼的第一轮廓区域和第二骨骼的第二轮廓区域之后,可以在第一骨骼远端的第一轮廓区域上,确定多个离散点。In this step, after segmenting the first outline area of the first bone and the second outline area of the second bone, multiple discrete points may be determined on the first outline area at the distal end of the first bone.
可选地,在确定多个离散点时,可以先确定第一骨骼的远端的内侧边缘边界点和第一骨骼的远端的外侧边缘边界点,在内侧边缘边界点和外侧边缘边界点之间,在第一骨骼的远端的第一轮廓区域上确定多个离散点。Optionally, when determining multiple discrete points, the inner edge boundary point of the distal end of the first bone and the lateral edge boundary point of the distal end of the first bone can be determined first, between the inner edge boundary point and the lateral edge boundary point. During the period, a plurality of discrete points are determined on the first contour area of the distal end of the first bone.
具体的,图3为本申请实施例提供的多个离散点及离散点的投影示意图,如图3所示,以第一骨骼的第一轮廓区域为股骨的轮廓区域,第二骨 骼的第二轮廓区域为胫骨的轮廓区域为例,在确定出轮廓区域后,将在股骨远端的轮廓区域中确定内侧边缘边界点P1和外侧边缘边界点Pn。Specifically, Figure 3 is a schematic diagram of multiple discrete points and the projection of discrete points provided by the embodiment of the present application. As shown in Figure 3, the first outline area of the first bone is the outline area of the femur, and the second outline area of the second bone is Taking the outline area of the tibia as an example, after the outline area is determined, the medial edge boundary point P1 and the lateral edge boundary point Pn will be determined in the outline area of the distal femur.
在一种可能的实现方式中,对于股骨关键点检测,本申请中使用Hourglass神经网络关键点检测算法,其中,图4为Hourglass神经网络的结构示意图,如图4所示,该网络是一个沙漏结构,可以输出像素级的预测。该网络由卷积层(C1-C7)和池化层组成,中间部分的特征图(C1a-C4a)是卷积层的复制层,通过复制层与卷积层中相应层上采样相加,可以得到新的特征信息,达到特征融合的效果,即图中的C1b-C4b部分。整个Hourglass是对称的,获取低分辨率特征过程中每有一个网络层,则在上采样的过程中相应地就会有一个对应网络层。In a possible implementation, for femur key point detection, the Hourglass neural network key point detection algorithm is used in this application. Figure 4 is a schematic structural diagram of the Hourglass neural network. As shown in Figure 4, the network is an hourglass. structure that can output pixel-level predictions. The network consists of a convolution layer (C1-C7) and a pooling layer. The feature map (C1a-C4a) in the middle part is a copy layer of the convolution layer. By adding the copy layer and the upsampling of the corresponding layer in the convolution layer, New feature information can be obtained to achieve the effect of feature fusion, which is the C1b-C4b part in the figure. The entire Hourglass is symmetrical. For every network layer in the process of obtaining low-resolution features, there will be a corresponding network layer in the upsampling process.
这样将特征层叠加后得到一个大的特征层,即C1b,该层既保留了所有层的信息,又与输入原图大小相等,之后通过1x1卷积生成代表关键点概率的热力图(heatmap),取热力图中最大概率值点为特征点,该特征点位置即预测的股骨边界点位置。In this way, after superimposing the feature layers, a large feature layer, namely C1b, is obtained. This layer retains the information of all layers and is equal to the size of the input original image. Afterwards, a heatmap representing the probability of key points is generated through 1x1 convolution. , take the point with the maximum probability value in the heat map as the feature point, and the location of this feature point is the predicted femur boundary point location.
在另一种可能的实现方式中,也可以计算股骨远端的轮廓区域中各点的曲率,将曲率最大的两个点确定为内侧边缘边界点P1和外侧边缘边界点Pn。In another possible implementation, the curvature of each point in the contour area of the distal femur can also be calculated, and the two points with the largest curvatures are determined as the medial edge boundary point P1 and the lateral edge boundary point Pn.
进一步地,可以在内侧边缘边界点P1和外侧边缘边界点Pn之间,在第一轮廓区域上确定多个离散点,例如P1、P2、P3、P4……Pn,其中,多个离散点中,任意两个相邻的离散点之间的距离可以相同,也可以不同。可以理解的是,相邻的离散点之间的距离越小,也即提取的离散点数量越多,确定出的第一骨骼和第二骨骼之间的间隙越准确。Further, multiple discrete points can be determined on the first contour area between the inner edge boundary point P1 and the outer edge boundary point Pn, such as P1, P2, P3, P4...Pn, wherein among the multiple discrete points , the distance between any two adjacent discrete points can be the same or different. It can be understood that the smaller the distance between adjacent discrete points, that is, the greater the number of extracted discrete points, the more accurate the determined gap between the first bone and the second bone.
在本实施例中,通过确定第一骨骼的远端的内侧边缘边界点和第一骨骼的远端的外侧边缘边界点,并在内侧边缘边界点和外侧边缘边界点之间,在第一骨骼的远端的第一轮廓区域上确定多个离散点,这样可以通过第一骨骼的轮廓区域中,接近第二骨骼的轮廓区域上的特定离散点确定第一骨骼和第二骨骼之间的距离,从而可以提高确定出的第一骨骼和第二骨骼之间间隙的准确性。In this embodiment, by determining the medial edge boundary point of the distal end of the first bone and the lateral edge boundary point of the distal end of the first bone, and between the medial edge boundary point and the lateral edge boundary point, the first bone A plurality of discrete points are determined on the first contour area at the distal end, so that the distance between the first bone and the second bone can be determined through specific discrete points on the contour area of the first bone that are close to the contour area of the second bone. , thereby improving the accuracy of the determined gap between the first bone and the second bone.
在确定出多个离散点之后,可以将第一轮廓区域上的多个离散点,投 影至第二骨骼近端的第二轮廓区域上,得到多个投影点。如图3所示,将离散点P1、P2、P3、P4……Pn垂直投影至胫骨近端的第二轮廓区域上,得到多个投影点P1’、P2’、P3’、P4’……Pn’。After determining the plurality of discrete points, the plurality of discrete points on the first contour area can be projected onto the second contour area at the proximal end of the second bone to obtain multiple projection points. As shown in Figure 3, discrete points P1, P2, P3, P4...Pn are vertically projected onto the second contour area of the proximal tibia to obtain multiple projection points P1', P2', P3', P4'... Pn'.
步骤104:根据多个离散点和多个离散点各自对应的投影点之间的距离,确定第一骨骼和第二骨骼之间的间隙。Step 104: Determine the gap between the first bone and the second bone based on the distance between the plurality of discrete points and the projection points corresponding to the plurality of discrete points.
在本步骤中,将多个离散点进行垂直投影后,可以计算每个离散点和其对应的投影点之间的距离,从而确定出第一骨骼和第二骨骼之间的间隙。In this step, after vertically projecting multiple discrete points, the distance between each discrete point and its corresponding projection point can be calculated, thereby determining the gap between the first bone and the second bone.
在一种可能的实现方式中,在确定多个离散点中的每个离散点和每个离散点对应的投影点之间的距离后,将多个距离中的最小的距离,确定为第一骨骼和第二骨骼之间的间隙。In a possible implementation, after determining the distance between each discrete point among the plurality of discrete points and the projection point corresponding to each discrete point, the smallest distance among the plurality of distances is determined as the first The gap between the bone and the second bone.
具体的,如图3所示,离散点P1对应的投影点为P1’,离散点P2对应的投影点为P2’,……,离散点Pn对应的投影点为Pn’,可以计算离散点P1和投影点为P1’之间的距离L1,离散点P2和投影点为P2’之间的距离L2,……,离散点Pn和投影点为Pn’之间的距离Ln。在确定出每个离散点和对应的投影点之间的距离之后,将所有的距离中,最小的距离Lmin确定为第一骨骼和第二骨骼之间的间隙。例如,可以将离散点Pn和投影点为Pn’之间的距离确定为第一骨骼和第二骨骼之间的间隙。Specifically, as shown in Figure 3, the projection point corresponding to the discrete point P1 is P1', the projection point corresponding to the discrete point P2 is P2',..., the projection point corresponding to the discrete point Pn is Pn', the discrete point P1 can be calculated and the distance L1 between the projection point P1', the distance L2 between the discrete point P2 and the projection point P2',..., the distance Ln between the discrete point Pn and the projection point Pn'. After determining the distance between each discrete point and the corresponding projection point, the smallest distance Lmin among all distances is determined as the gap between the first bone and the second bone. For example, the distance between the discrete point Pn and the projection point Pn' can be determined as the gap between the first bone and the second bone.
在本实施例中,在确定每个离散点和其对应的投影点之间的距离后,将最小的距离,确定为第一骨骼和第二骨骼之间的间隙,可以为后续基于骨骼间隙确定关节病变程度提供了有利的依据。In this embodiment, after determining the distance between each discrete point and its corresponding projection point, the minimum distance is determined as the gap between the first bone and the second bone, which can be used for subsequent determination based on the bone gap. The degree of joint disease provides a favorable basis.
在另一种可能的实现方式中,在确定多个离散点中的每个离散点和每个离散点对应的投影点之间的距离后,将多个距离的平均值确定为第一骨骼和第二骨骼之间的间隙。In another possible implementation, after determining the distance between each discrete point among the multiple discrete points and the projection point corresponding to each discrete point, the average value of the multiple distances is determined as the first bone and The gap between the second bones.
具体的,如图3所示,在计算离散点P1和投影点为P1’之间的距离L1,离散点P2和投影点为P2’之间的距离L2,……,离散点Pn和投影点为Pn’之间的距离Ln后,将计算所有距离的平均值,并将该平均值确定为第一骨骼和第二骨骼之间的间隙。Specifically, as shown in Figure 3, when calculating the distance L1 between the discrete point P1 and the projection point P1', the distance L2 between the discrete point P2 and the projection point P2',..., the discrete point Pn and the projection point After being the distance Ln between Pn', the average of all distances is calculated and this average is determined as the gap between the first bone and the second bone.
在本实施例中,在确定每个离散点和其对应的投影点之间的距离后, 将多个距离的平均值,确定为第一骨骼和第二骨骼之间的间隙,从而可以提高确定出的间隙的精度。In this embodiment, after determining the distance between each discrete point and its corresponding projection point, the average value of multiple distances is determined as the gap between the first bone and the second bone, thereby improving the determination The accuracy of the gap.
可选地,在确定第一骨骼和第二骨骼之间的间隙之后,还可以将间隙和预设的多个间隙范围进行匹配,确定间隙所处的目标间隙范围,并根据目标间隙范围,确定第一骨骼和第二骨骼所在关节处的病变程度。Optionally, after determining the gap between the first bone and the second bone, the gap can also be matched with multiple preset gap ranges, a target gap range in which the gap is located is determined, and based on the target gap range, the The degree of disease at the joint where the first and second bones are located.
具体的,在一种应用场景中,在确定出第一骨骼和第二骨骼之间的间隙之后,将该间隙与预设的多个间隙范围进行匹配,以确定该间隙所处的目标间隙范围。举例来说,假设第一骨骼和第二骨骼之间的间隙为0.8cm,预设的多个间隙范围包括0.3cm-0.5cm、0.5cm-0.7cm、0.7cm-0.9cm、0.9cm-1.1cm,将确定出的间隙和预设的多个间隙范围进行匹配之后,确定第一骨骼和第二骨骼之间的间隙0.8cm处于目标间隙范围0.7cm-0.9cm中。Specifically, in one application scenario, after determining the gap between the first bone and the second bone, the gap is matched with multiple preset gap ranges to determine the target gap range in which the gap is located. . For example, assuming that the gap between the first bone and the second bone is 0.8cm, the preset multiple gap ranges include 0.3cm-0.5cm, 0.5cm-0.7cm, 0.7cm-0.9cm, 0.9cm-1.1 cm, after matching the determined gap with multiple preset gap ranges, it is determined that the gap 0.8cm between the first bone and the second bone is within the target gap range of 0.7cm-0.9cm.
另外,每个预设的间隙范围均对应一种病变程度,如0.3cm-0.5cm对应四级,表示关节软骨关节出现大量骨赘,关节间隙严重变窄,软骨下骨硬化及畸形明显,0.5cm-0.7cm对应三级,表示关节软骨关节间隙中度变窄,软骨下骨出现硬化,0.7cm-0.9cm对应二级,表示关节软骨存在明显的骨赘,关节间隙轻度变窄,0.9cm-1.1cm对应一级,表示关节间隙可疑变窄,可能唇状增生。因此,在确定出间隙所处的目标间隙范围后,将可以进一步确定第一骨骼和第二骨骼所在关节处的病变程度,例如可以确定病变程度为二级,也就是说第一骨骼和第二骨骼之间存在骨关节炎。In addition, each preset gap range corresponds to a degree of disease. For example, 0.3cm-0.5cm corresponds to grade four, which means that there are a large number of osteophytes in the articular cartilage joints, severe narrowing of the joint space, and obvious subchondral bone sclerosis and deformity. 0.5 cm-0.7cm corresponds to grade three, indicating moderate narrowing of the articular cartilage joint space and sclerosis of the subchondral bone. 0.7cm-0.9cm corresponds to grade two, indicating the presence of obvious osteophytes in the articular cartilage and mild narrowing of the joint space. 0.9 cm-1.1cm corresponds to the first level, indicating suspicious narrowing of the joint space and possible labial hyperplasia. Therefore, after determining the target gap range where the gap is located, the degree of disease at the joint where the first bone and the second bone are located can be further determined. For example, the degree of disease can be determined to be level two, that is to say, the degree of disease at the joint between the first bone and the second bone can be determined. Osteoarthritis occurs between bones.
本申请实施例提供的基于深度学习的智能识别骨关节炎的方法,通过获取待处理图像,确定待处理图像中第一骨骼的第一轮廓区域和第二骨骼的第二轮廓区域,并将位于第一骨骼远端的第一轮廓区域上的多个离散点,投影至第二骨骼近端的第二轮廓区域上,得到与多个离散点一一对应的多个投影点后,再根据多个离散点和多个离散点各自对应的投影点之间的距离,确定第一骨骼和第二骨骼之间的间隙,由于可以将位于第一骨骼远端的多个离散点投影到第二轮廓区域上,以根据离散点和投影点之间的距离,确定第一骨骼和第二骨骼之间的间隙,从而可以提高确定出的骨骼间隙的精度。并且,基于确定的第一骨骼和第二骨骼之间的间隙,还可以确定第一骨骼和第二骨骼之间是否存在骨关节炎。The method for intelligently identifying osteoarthritis based on deep learning provided by embodiments of the present application obtains the image to be processed, determines the first outline area of the first bone and the second outline area of the second bone in the image to be processed, and locates them. A plurality of discrete points on the first contour area at the distal end of the first bone are projected onto the second contour area at the proximal end of the second bone. After obtaining a plurality of projection points corresponding to the plurality of discrete points one-to-one, based on the multiple The distance between the discrete points and the corresponding projection points of the plurality of discrete points determines the gap between the first bone and the second bone, since the plurality of discrete points located at the distal end of the first bone can be projected to the second contour area to determine the gap between the first bone and the second bone based on the distance between the discrete point and the projection point, thereby improving the accuracy of the determined bone gap. And, based on the determined gap between the first bone and the second bone, it can also be determined whether osteoarthritis exists between the first bone and the second bone.
下面对本申请实施例提供的基于深度学习的智能识别骨关节炎的系统进行描述,下文描述的基于深度学习的智能识别骨关节炎的系统与上文描述的基于深度学习的智能识别骨关节炎的方法可相互对应参照。The following is a description of the system for intelligently identifying osteoarthritis based on deep learning provided by the embodiments of the present application. The system for intelligently identifying osteoarthritis based on deep learning described below is different from the system for intelligently identifying osteoarthritis based on deep learning described above. Methods can be compared to each other.
图5为本申请实施例提供的基于深度学习的智能识别骨关节炎的系统的示意图,如图5所示,该装置包括:Figure 5 is a schematic diagram of a system for intelligently identifying osteoarthritis based on deep learning provided by an embodiment of the present application. As shown in Figure 5, the device includes:
获取模块11,被配置为获取待处理图像;The acquisition module 11 is configured to acquire the image to be processed;
确定模块12,被配置为确定所述待处理图像中第一骨骼的第一轮廓区域和第二骨骼的第二轮廓区域;The determination module 12 is configured to determine the first outline area of the first bone and the second outline area of the second bone in the image to be processed;
投影模块13,被配置为将位于所述第一骨骼远端的第一轮廓区域上的多个离散点,投影至所述第二骨骼近端的第二轮廓区域上,得到与所述多个离散点一一对应的多个投影点;The projection module 13 is configured to project a plurality of discrete points located on the first contour area at the distal end of the first bone onto the second contour area at the proximal end of the second bone, to obtain the same as the plurality of discrete points. Multiple projection points corresponding to discrete points one-to-one;
所述确定模块12,还被配置为根据所述多个离散点和所述多个离散点各自对应的投影点之间的距离,确定所述第一骨骼和所述第二骨骼之间的间隙。The determination module 12 is further configured to determine the gap between the first bone and the second bone based on the distance between the plurality of discrete points and the projection points corresponding to the plurality of discrete points. .
可选地,所述确定模块12,具体被配置为:Optionally, the determination module 12 is specifically configured as:
确定多个离散点中的每个离散点和所述每个离散点对应的投影点之间的距离;Determine the distance between each discrete point in the plurality of discrete points and the projection point corresponding to each discrete point;
将多个距离中的最小的距离,确定为所述第一骨骼和所述第二骨骼之间的间隙。The smallest distance among multiple distances is determined as the gap between the first bone and the second bone.
可选地,所述确定模块12,具体被配置为:Optionally, the determination module 12 is specifically configured as:
确定多个离散点中的每个离散点和所述每个离散点对应的投影点之间的距离;Determine the distance between each discrete point in the plurality of discrete points and the projection point corresponding to each discrete point;
将多个距离的平均值确定为所述第一骨骼和所述第二骨骼之间的间隙。An average of the plurality of distances is determined as the gap between the first bone and the second bone.
可选地,所述确定模块12,具体被配置为:Optionally, the determination module 12 is specifically configured as:
将所述待处理图像输入至预先训练的骨骼分割模型中,得到所述第一骨骼所在的区域和所述第二骨骼所在的区域,其中,所述骨骼分割模型通 过初始骨骼分割模型利用多个样本图像进行训练后得到的,其中,所述多个样本图像为包含不同类型骨骼的图像;The image to be processed is input into a pre-trained bone segmentation model to obtain the area where the first bone is located and the area where the second bone is located, wherein the bone segmentation model utilizes multiple The sample images are obtained after training, wherein the plurality of sample images are images containing different types of bones;
分别对所述第一骨骼所在的区域和所述第二骨骼所在的区域进行轮廓提取,得到所述第一骨骼的第一轮廓区域和所述第二骨骼的第二轮廓区域。Contour extraction is performed on the area where the first bone is located and the area where the second bone is located, respectively, to obtain a first outline area of the first bone and a second outline area of the second bone.
可选地,所述确定模块12,还被配置为:Optionally, the determination module 12 is also configured to:
确定所述第一骨骼的远端的内侧边缘边界点和所述第一骨骼的远端的外侧边缘边界点;determining a medial edge boundary point of the distal end of the first bone and a lateral edge boundary point of the distal end of the first bone;
在所述内侧边缘边界点和所述外侧边缘边界点之间,在所述第一骨骼的远端的第一轮廓区域上确定多个离散点。A plurality of discrete points are determined on the first contour area of the distal end of the first bone between the medial edge boundary point and the lateral edge boundary point.
可选地,所述确定模块12,还被配置为:Optionally, the determination module 12 is also configured to:
将所述间隙与预设的多个间隙范围进行匹配,确定所述间隙所处的目标间隙范围;Match the gap with multiple preset gap ranges and determine the target gap range in which the gap is located;
根据所述目标间隙范围,确定所述第一骨骼和所述第二骨骼所在关节的病变程度。According to the target gap range, the degree of disease of the joint where the first bone and the second bone are located is determined.
本实施例的装置,可以用于执行前述电子设备侧方法实施例中任一实施例的方法,其具体实现过程与技术效果与电子设备侧方法实施例中类似,具体可以参见电子设备侧方法实施例中的详细介绍,此处不再赘述。The device of this embodiment can be used to execute the method of any of the foregoing electronic device side method embodiments. Its specific implementation process and technical effects are similar to those in the electronic device side method embodiments. For details, please refer to Electronic Device Side Method Implementation The detailed introduction in the example will not be repeated here.
图6示例了一种电子设备的实体结构示意图,如图6所示,该电子设备可以包括:处理器(processor)410、通信接口(Communications Interface)420、存储器(memory)430和通信总线440,其中,处理器410,通信接口420,存储器430通过通信总线440完成相互间的通信。处理器410可以调用存储器430中的逻辑指令,以执行基于深度学习的智能识别骨关节炎的方法,该方法包括:获取待处理图像;确定所述待处理图像中第一骨骼的第一轮廓区域和第二骨骼的第二轮廓区域;将位于所述第一骨骼远端的第一轮廓区域上的多个离散点,投影至所述第二骨骼近端的第二轮廓区域上,得到与所述多个离散点一一对应的多个投影点;根据所述多个离散点和所述多个离散点各自对应的投影点之间的距离,确定所述第一 骨骼和所述第二骨骼之间的间隙。Figure 6 illustrates a schematic diagram of the physical structure of an electronic device. As shown in Figure 6, the electronic device may include: a processor (processor) 410, a communications interface (Communications Interface) 420, a memory (memory) 430 and a communication bus 440. Among them, the processor 410, the communication interface 420, and the memory 430 complete communication with each other through the communication bus 440. The processor 410 can call logical instructions in the memory 430 to perform a method for intelligently identifying osteoarthritis based on deep learning. The method includes: acquiring an image to be processed; and determining a first outline area of a first bone in the image to be processed. and the second contour area of the second bone; project a plurality of discrete points located on the first contour area at the distal end of the first bone onto the second contour area at the proximal end of the second bone to obtain the corresponding A plurality of projection points corresponding to the plurality of discrete points in a one-to-one manner; determining the first skeleton and the second skeleton according to the distance between the plurality of discrete points and the projection points corresponding to the plurality of discrete points. the gap between.
此外,上述的存储器430中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。In addition, the above-mentioned logical instructions in the memory 430 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of this application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program code. .
另一方面,本申请还提供一种计算机程序产品,所述计算机程序产品包括计算机程序,计算机程序可存储在非暂态计算机可读存储介质上,所述计算机程序被处理器执行时,计算机能够执行上述各方法所提供的基于深度学习的智能识别骨关节炎的方法,该方法包括:获取待处理图像;确定所述待处理图像中第一骨骼的第一轮廓区域和第二骨骼的第二轮廓区域;将位于所述第一骨骼远端的第一轮廓区域上的多个离散点,投影至所述第二骨骼近端的第二轮廓区域上,得到与所述多个离散点一一对应的多个投影点;根据所述多个离散点和所述多个离散点各自对应的投影点之间的距离,确定所述第一骨骼和所述第二骨骼之间的间隙。On the other hand, the present application also provides a computer program product. The computer program product includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can Execute the method for intelligently identifying osteoarthritis based on deep learning provided by each of the above methods. The method includes: acquiring an image to be processed; determining the first contour area of the first bone and the second contour area of the second bone in the image to be processed. Contour area: project a plurality of discrete points located on the first contour area at the distal end of the first bone onto the second contour area at the proximal end of the second bone to obtain a one-to-one relationship with the plurality of discrete points. Corresponding plurality of projection points; determine the gap between the first bone and the second bone according to the distance between the plurality of discrete points and the corresponding projection points of the plurality of discrete points.
又一方面,本申请还提供一种非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现以执行上述各方法提供的基于深度学习的智能识别骨关节炎的方法,该方法包括:获取待处理图像;确定所述待处理图像中第一骨骼的第一轮廓区域和第二骨骼的第二轮廓区域;将位于所述第一骨骼远端的第一轮廓区域上的多个离散点,投影至所述第二骨骼近端的第二轮廓区域上,得到与所述多个离散点一一对应的多个投影点;根据所述多个离散点和所述多个离散点各自对应的投影点之间的距离,确定所述第一骨骼和所述第二骨骼之间的间隙。On the other hand, the present application also provides a non-transitory computer-readable storage medium on which a computer program is stored. The computer program is implemented when executed by the processor to perform the intelligent identification of bone joints based on deep learning provided by the above methods. inflammatory method, the method includes: acquiring an image to be processed; determining a first outline area of a first bone and a second outline area of a second bone in the image to be processed; placing the first outline area located at the distal end of the first bone A plurality of discrete points on the contour area are projected onto the second contour area at the proximal end of the second bone to obtain a plurality of projection points corresponding to the plurality of discrete points; according to the plurality of discrete points and The distance between the corresponding projection points of the plurality of discrete points determines the gap between the first bone and the second bone.
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以 是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The device embodiments described above are only illustrative. The units described as separate components may or may not be physically separated. The components shown as units may or may not be physical units, that is, they may be located in One location, or it can be distributed across multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. Persons of ordinary skill in the art can understand and implement the method without any creative effort.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the part of the above technical solution that essentially contributes to the existing technology can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., including a number of instructions to cause a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in various embodiments or certain parts of the embodiments.
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present application, but not to limit it; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that it can still be Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent substitutions are made to some of the technical features; however, these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions in the embodiments of the present application.

Claims (10)

  1. 一种基于深度学习的智能识别骨关节炎的方法,包括:A method for intelligent identification of osteoarthritis based on deep learning, including:
    获取待处理图像;Get the image to be processed;
    确定所述待处理图像中第一骨骼的第一轮廓区域和第二骨骼的第二轮廓区域;Determine the first outline area of the first bone and the second outline area of the second bone in the image to be processed;
    将位于所述第一骨骼远端的第一轮廓区域上的多个离散点,投影至所述第二骨骼近端的第二轮廓区域上,得到与所述多个离散点一一对应的多个投影点;A plurality of discrete points located on the first contour area at the distal end of the first bone are projected onto the second contour area at the proximal end of the second bone to obtain a multi-point coordinate system corresponding to the plurality of discrete points in a one-to-one manner. projection points;
    根据所述多个离散点和所述多个离散点各自对应的投影点之间的距离,确定所述第一骨骼和所述第二骨骼之间的间隙。The gap between the first bone and the second bone is determined according to the distance between the plurality of discrete points and respective corresponding projection points of the plurality of discrete points.
  2. 根据权利要求1所述的基于深度学习的智能识别骨关节炎的方法,其中,所述根据所述多个离散点和所述多个离散点各自对应的投影点之间的距离,确定所述第一骨骼和所述第二骨骼之间的间隙,包括:The method for intelligently identifying osteoarthritis based on deep learning according to claim 1, wherein the determination of the said plurality of discrete points is based on the distance between the plurality of discrete points and the projection points corresponding to the plurality of discrete points. The gap between the first bone and the second bone includes:
    确定多个离散点中的每个离散点和所述每个离散点对应的投影点之间的距离;Determine the distance between each discrete point in the plurality of discrete points and the projection point corresponding to each discrete point;
    将多个距离中的最小的距离,确定为所述第一骨骼和所述第二骨骼之间的间隙。The smallest distance among multiple distances is determined as the gap between the first bone and the second bone.
  3. 根据权利要求1所述的基于深度学习的智能识别骨关节炎的方法,其中,所述根据所述多个离散点和所述多个离散点各自对应的投影点之间的距离,确定所述第一骨骼和所述第二骨骼之间的间隙,包括:The method for intelligently identifying osteoarthritis based on deep learning according to claim 1, wherein the determination of the said plurality of discrete points is based on the distance between the plurality of discrete points and the projection points corresponding to the plurality of discrete points. The gap between the first bone and the second bone includes:
    确定多个离散点中的每个离散点和所述每个离散点对应的投影点之间的距离;Determine the distance between each discrete point in the plurality of discrete points and the projection point corresponding to each discrete point;
    将多个距离的平均值确定为所述第一骨骼和所述第二骨骼之间的间隙。An average of the plurality of distances is determined as the gap between the first bone and the second bone.
  4. 根据权利要求1-3任一项所述的基于深度学习的智能识别骨关节炎的方法,其中,所述确定所述待处理图像中第一骨骼的第一轮廓区域和第二骨骼的第二轮廓区域,包括:The method for intelligently identifying osteoarthritis based on deep learning according to any one of claims 1-3, wherein the determining the first contour area of the first bone and the second contour area of the second bone in the image to be processed Contour areas, including:
    将所述待处理图像输入至预先训练的骨骼分割模型中,得到所述第一骨骼所在的区域和所述第二骨骼所在的区域,其中,所述骨骼分割模型通过初始骨骼分割模型利用多个样本图像进行训练后得到的,其中,所述多个样本图像为包含不同类型骨骼的图像;The image to be processed is input into a pre-trained bone segmentation model to obtain the area where the first bone is located and the area where the second bone is located, wherein the bone segmentation model utilizes multiple The sample images are obtained after training, wherein the plurality of sample images are images containing different types of bones;
    分别对所述第一骨骼所在的区域和所述第二骨骼所在的区域进行轮廓提取,得到所述第一骨骼的第一轮廓区域和所述第二骨骼的第二轮廓区域。Contour extraction is performed on the area where the first bone is located and the area where the second bone is located, respectively, to obtain a first outline area of the first bone and a second outline area of the second bone.
  5. 根据权利要求1-3任一项所述的基于深度学习的智能识别骨关节炎的方法,其中,所述将位于所述第一骨骼的远端的第一轮廓区域上的多个离散点,投影至所述第二骨骼的近端的第二轮廓区域上,得到与所述多个离散点一一对应的多个投影点之前,所述方法还包括:The method for intelligently identifying osteoarthritis based on deep learning according to any one of claims 1-3, wherein the plurality of discrete points will be located on the first contour area of the distal end of the first bone, Before projecting onto the second contour area of the proximal end of the second bone to obtain a plurality of projection points corresponding to the plurality of discrete points, the method further includes:
    确定所述第一骨骼的远端的内侧边缘边界点和所述第一骨骼的远端的外侧边缘边界点;determining a medial edge boundary point of the distal end of the first bone and a lateral edge boundary point of the distal end of the first bone;
    在所述内侧边缘边界点和所述外侧边缘边界点之间,在所述第一骨骼的远端的第一轮廓区域上确定多个离散点。A plurality of discrete points are determined on the first contour area of the distal end of the first bone between the medial edge boundary point and the lateral edge boundary point.
  6. 根据权利要求1所述的基于深度学习的智能识别骨关节炎的方法,其中,确定所述第一骨骼和所述第二骨骼之间的间隙之后,所述方法还包括:The method for intelligently identifying osteoarthritis based on deep learning according to claim 1, wherein after determining the gap between the first bone and the second bone, the method further includes:
    将所述间隙与预设的多个间隙范围进行匹配,确定所述间隙所处的目标间隙范围;Match the gap with multiple preset gap ranges and determine the target gap range in which the gap is located;
    根据所述目标间隙范围,确定所述第一骨骼和所述第二骨骼所在关节的病变程度。According to the target gap range, the degree of disease of the joint where the first bone and the second bone are located is determined.
  7. 一种基于深度学习的智能识别骨关节炎的系统,包括:A system for intelligent identification of osteoarthritis based on deep learning, including:
    获取模块,被配置为获取待处理图像;The acquisition module is configured to acquire the image to be processed;
    确定模块,被配置为确定所述待处理图像中第一骨骼的第一轮廓区域和第二骨骼的第二轮廓区域;a determination module configured to determine the first outline area of the first bone and the second outline area of the second bone in the image to be processed;
    投影模块,被配置为将位于所述第一骨骼远端的第一轮廓区域上的多个离散点,投影至所述第二骨骼近端的第二轮廓区域上,得到与所述多个离散点一一对应的多个投影点;The projection module is configured to project a plurality of discrete points located on the first contour area at the distal end of the first bone to the second contour area at the proximal end of the second bone to obtain the results corresponding to the plurality of discrete points. Multiple projection points with one-to-one correspondence;
    所述确定模块,还被配置为根据所述多个离散点和所述多个离散点各自对应的投影点之间的距离,确定所述第一骨骼和所述第二骨骼之间的间隙。The determination module is further configured to determine the gap between the first bone and the second bone based on the distance between the plurality of discrete points and the corresponding projection points of the plurality of discrete points.
  8. 一种电子设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述程序时实现如权利要求1至7任一项所述基于深度学习的智能识别骨关节炎的方法。An electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the program, the computer program as claimed in any one of claims 1 to 7 is implemented. Describes a method for intelligent identification of osteoarthritis based on deep learning.
  9. 一种非暂态计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至7任一项所述的基于深度学习的 智能识别骨关节炎的方法。A non-transitory computer-readable storage medium with a computer program stored thereon. When the computer program is executed by a processor, the intelligent identification of osteoarthritis based on deep learning as described in any one of claims 1 to 7 is realized. method.
  10. 一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时实现如权利要求1至7任一项所述的基于深度学习的智能识别骨关节炎的方法。A computer program product, comprising a computer program that, when executed by a processor, implements the method for intelligently identifying osteoarthritis based on deep learning as described in any one of claims 1 to 7.
PCT/CN2023/071148 2022-06-15 2023-01-08 Deep learning-based method and system for intelligently identifying osteoarthritis WO2023241032A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210682179.8A CN115131301B (en) 2022-06-15 2022-06-15 Method and system for intelligently identifying osteoarthritis based on deep learning
CN202210682179.8 2022-06-15

Publications (1)

Publication Number Publication Date
WO2023241032A1 true WO2023241032A1 (en) 2023-12-21

Family

ID=83378650

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/071148 WO2023241032A1 (en) 2022-06-15 2023-01-08 Deep learning-based method and system for intelligently identifying osteoarthritis

Country Status (2)

Country Link
CN (1) CN115131301B (en)
WO (1) WO2023241032A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115131301B (en) * 2022-06-15 2023-04-18 北京长木谷医疗科技有限公司 Method and system for intelligently identifying osteoarthritis based on deep learning

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107392131A (en) * 2017-07-14 2017-11-24 天津大学 A kind of action identification method based on skeleton nodal distance
CN111768399A (en) * 2020-07-07 2020-10-13 上海商汤智能科技有限公司 Image processing method and device, electronic equipment and storage medium
US20210012492A1 (en) * 2018-03-21 2021-01-14 Vikas KARADE Systems and methods for obtaining 3-d images from x-ray information for deformed elongate bones
CN114027828A (en) * 2021-12-15 2022-02-11 杭州柳叶刀机器人有限公司 Knee joint clearance measuring method and device, terminal equipment and readable storage medium
CN115131301A (en) * 2022-06-15 2022-09-30 北京长木谷医疗科技有限公司 Method and system for intelligently identifying osteoarthritis based on deep learning

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112017148B (en) * 2019-05-31 2024-03-22 杭州三坛医疗科技有限公司 Method and device for extracting single-segment skeleton contour
CN113689402B (en) * 2021-08-24 2022-04-12 北京长木谷医疗科技有限公司 Deep learning-based femoral medullary cavity form identification method, device and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107392131A (en) * 2017-07-14 2017-11-24 天津大学 A kind of action identification method based on skeleton nodal distance
US20210012492A1 (en) * 2018-03-21 2021-01-14 Vikas KARADE Systems and methods for obtaining 3-d images from x-ray information for deformed elongate bones
CN111768399A (en) * 2020-07-07 2020-10-13 上海商汤智能科技有限公司 Image processing method and device, electronic equipment and storage medium
CN114027828A (en) * 2021-12-15 2022-02-11 杭州柳叶刀机器人有限公司 Knee joint clearance measuring method and device, terminal equipment and readable storage medium
CN115131301A (en) * 2022-06-15 2022-09-30 北京长木谷医疗科技有限公司 Method and system for intelligently identifying osteoarthritis based on deep learning

Also Published As

Publication number Publication date
CN115131301A (en) 2022-09-30
CN115131301B (en) 2023-04-18

Similar Documents

Publication Publication Date Title
CN109685060B (en) Image processing method and device
EP3509013A1 (en) Identification of a predefined object in a set of images from a medical image scanner during a surgical procedure
TWI755717B (en) Image processing method and apparatus, electronic device and computer-readable storage medium
CN109124662B (en) Rib center line detection device and method
WO2024011943A1 (en) Deep learning-based knee joint patella resurfacing three-dimensional preoperative planning method and system
CN113076987B (en) Osteophyte identification method, device, electronic equipment and storage medium
JP2005296605A (en) Method of segmenting a radiographic image into diagnostically relevant and diagnostically irrelevant regions
KR102228087B1 (en) Method and apparatus for segmentation of specific cartilage in medical image
WO2023241032A1 (en) Deep learning-based method and system for intelligently identifying osteoarthritis
CN108038840B (en) Image processing method and device, image processing equipment and storage medium
Song et al. An efficient deep learning based coarse-to-fine cephalometric landmark detection method
CN115439453A (en) Vertebral body positioning method and device, electronic equipment and storage medium
Fatima et al. Vertebrae localization and spine segmentation on radiographic images for feature‐based curvature classification for scoliosis
Koh et al. Automatic spinal canal detection in lumbar MR images in the sagittal view using dynamic programming
Radlak et al. Automatic detection of bones based on the confidence map for rheumatoid arthritis analysis
Al Abboodi et al. Supervised Transfer Learning for Multi Organs 3D Segmentation With Registration Tools for Metal Artifact Reduction in CT Images
Suran et al. Discovering shortest path between points in cerebrovascular system
CN114565646A (en) Image registration method, device, electronic device and readable storage medium
CN109272485B (en) Method and device for repairing three-dimensional model of blood vessel and electronic equipment
Onal et al. Automatic vertebra segmentation on dynamic magnetic resonance imaging
Dhar et al. Automatic tracing of mandibular canal pathways using deep learning
Zhang et al. VDVM: An automatic vertebrae detection and vertebral segment matching framework for C-arm X-ray image identification
KR102672531B1 (en) Method and apparatus for automatically estimating spine position in medical images using deep learning-based pose estimation
CN115880469B (en) Registration method of surface point cloud data and three-dimensional image
Khan et al. Transformative Deep Neural Network Approaches in Kidney Ultrasound Segmentation: Empirical Validation with an Annotated Dataset

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23822604

Country of ref document: EP

Kind code of ref document: A1