Method and electronic device for estimating osteoporosis

The X-ray image is processed by the convolutional neural network model, a bone probability heat map is generated and combined with the X-ray image, solving the problem of insufficient osteoporosis detection accuracy in the existing technology and achieving higher bone density prediction accuracy. .

CN118799247APending Publication Date: 2024-10-18ACER INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310400864.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-04-14
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

It is difficult to accurately determine osteoporosis with existing technology, especially chest X-ray images, which suffer from insufficient accuracy.

Method used

A method including a first convolutional neural network model and a second convolutional neural network model is used to obtain a bone probability heat map through X-ray images, and the bone probability heat map and X-ray images are combined to estimate the bone density estimate, Improve the accuracy of bone density testing.

Benefits of technology

It significantly improves the anti-interference and stability of bone density prediction, improves the accuracy of overall bone density prediction, and can more accurately assess osteoporosis status.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118799247A_ABST
    Figure CN118799247A_ABST
Patent Text Reader

Abstract

The invention provides a method and an electronic device for estimating osteoporosis. A method of estimating osteoporosis includes the following steps. And acquiring an X-ray image. Inputting the X-ray image into a first convolutional neural network model to generate a bone probability heat map of the X-ray image; and estimating a bone density estimated value according to the bone probability heat map, the X-ray image and a second convolutional neural network model. Therefore, the accuracy of estimating the bone density state according to the X-ray image can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a medical image evaluation technology, and in particular to a method and an electronic device for estimating osteoporosis. Background Art

[0002] With the advancement of science and technology, the application of artificial intelligence (AI) technology in the medical field has received considerable attention. The application of AI technology to improve medical quality and reduce the burden on doctors has become an important topic. Taiwan has entered an aging society, and the number of people with osteoporosis is increasing. Osteoporosis does not have obvious symptoms, but osteoporosis can cause bone fragility and increase the risk of fractures. In other words, patients may suffer fractures due to minor trauma, which may further cause many symptoms and functional impairments, and even cause death. Therefore, the prevention and screening of osteoporosis is an important medical and public health issue.

[0003] At present, chest X-ray examination is a very common medical examination and is an easy examination item for the general public. Chest X-ray can directly capture the sternum and spine, so it is conducive to bone density detection. However, there are still many issues that need to be explored on how to determine osteoporosis based on chest X-ray images to ensure that osteoporosis can be determined more accurately. Summary of the invention

[0004] The present invention relates to a method and an electronic device for estimating osteoporosis, which can improve the accuracy of estimating bone density status according to X-ray images.

[0005] The embodiment of the present invention provides a method for estimating osteoporosis, which is suitable for an electronic device and includes the following steps: obtaining an X-ray image; inputting the X-ray image into a first convolutional neural network model to generate a bone probability heatmap of the X-ray image; estimating a bone density estimate based on the bone probability heatmap, the X-ray image, and the second convolutional neural network model.

[0006] The embodiment of the present invention provides an electronic device for estimating osteoporosis, which includes a storage device and a processor. The processor is coupled to the storage device and is configured to perform the following operations. An X-ray image is acquired. The X-ray image is input into a first convolutional neural network model to generate a bone probability heat map of the X-ray image. An estimated bone density is estimated based on the bone probability heat map, the X-ray image, and the second convolutional neural network model.

[0007] Based on the above, the method and electronic device for estimating osteoporosis according to the embodiment of the present invention can estimate the bone density based on the information provided by the entire X-ray image and the bone probability heat map, thereby greatly improving the anti-interference and stability, and improving the overall bone density prediction accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] Figure 1 is a schematic diagram of an electronic device according to an embodiment of the present invention;

[0009] Figure 2 is a flow chart of a method for estimating osteoporosis according to an embodiment of the present invention;

[0010] Figure 3 is a schematic diagram showing the estimation of bone density using a first convolutional neural network model and a second convolutional neural network model according to an embodiment of the present invention;

[0011] Figure 4 is a schematic diagram of a second convolutional neural network model according to an embodiment of the present invention;

[0012] Figure 5 is a schematic diagram showing the estimation of bone density using a first convolutional neural network model and a second convolutional neural network model according to an embodiment of the present invention;

[0013] Figure 6 is a schematic diagram showing the estimation of bone density using a first convolutional neural network model and a second convolutional neural network model according to an embodiment of the present invention;

[0014] Figure 7 It is a schematic diagram showing the generation of a real graph for training a first convolutional neural network model according to an embodiment of the present invention.

[0015] Description of Reference Numerals

[0016] 100: electronic device;

[0017] 110: transceiver;

[0018] 120: storage device;

[0019] 130: processor;

[0020] Img_x: X-ray image;

[0021] M1: the first convolutional neural network model;

[0022] H1: bone probability heat map;

[0023] M2: the second convolutional neural network model;

[0024] E1: estimated bone density;

[0025] Img_Bn: bone enhanced image;

[0026] EP1: Enhanced processing;

[0027] C1: concatenation results;

[0028] M2_net1: feature acquisition network;

[0029] M2_net2: fully connected network;

[0030] F_m: feature map;

[0031] CT1, CT2, CT3: CT images;

[0032] H_groundtruth: real image;

[0033] Img_xt: training X-ray images;

[0034] S202~S206: steps. DETAILED DESCRIPTION

[0035] Reference will now be made in detail to exemplary embodiments of the present invention, examples of which are illustrated in the accompanying drawings. Whenever possible, the same reference numerals are used in the drawings and the description to refer to the same or like parts.

[0036] Please refer to Figure 1 , which is a schematic diagram of an electronic device according to an embodiment of the present invention. The electronic device 100 is a computer device with computing capabilities. In different embodiments, the electronic device 100 is, for example, various computer devices and / or server devices, but is not limited thereto. Figure 1 As shown, the electronic device 100 includes a transceiver 110 , a storage device 120 , and a processor 130 .

[0037] The transceiver 110 transmits and receives signals in a wireless or wired manner. The transceiver 130 may also perform operations such as low noise amplification, impedance matching, mixing, up or down frequency conversion, filtering, amplification, and the like.

[0038] The storage device 120 is, for example, any type of fixed or removable random access memory (RAM), read-only memory (ROM), flash memory, hard disk drive (HDD), solid state drive (SSD) or similar components or a combination of the above components, and is used to store multiple modules, various program codes or various instructions that can be executed by the processor 130.

[0039] The processor 130 is coupled to the transceiver 110 and the storage device 120, and may be a general-purpose processor, a special-purpose processor, a conventional processor, a digital signal processor, a plurality of microprocessors, one or more microprocessors combined with a digital signal processor core, a controller, a microcontroller, an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), any other type of integrated circuit, a state machine, an Advanced RISC Machine (ARM)-based processor, or the like.

[0040] In an embodiment of the present invention, the processor 130 can access the modules and program codes recorded in the storage device 120 to implement the method for estimating osteoporosis proposed by the present invention, the details of which are described as follows.

[0041] Please refer to Figure 2 and Figure 3 ,in Figure 2 is a flow chart of a method for estimating osteoporosis according to an embodiment of the present invention. Figure 3 FIG. 1 is a schematic diagram showing how to estimate bone density using a first convolutional neural network model and a second convolutional neural network model according to an embodiment of the present invention. Figure 1 The electronic device 100 is executed as follows: Figure 1 The components shown and Figure 3 Description of the contents Figure 2 Details of each step.

[0042] First, in step S202, the processor 130 may acquire an X-ray image Img_x. In some embodiments, the processor 130 may acquire the X-ray image Img_x through the transceiver 110. The X-ray image Img_x is generated by a device that can emit X-rays, such as an X-ray machine. The X-ray image Img_x is composed of a plurality of pixels arranged in an array. Based on the different absorption capabilities of human tissues to X-rays, the original pixel value of each pixel on the X-ray image Img_x depends on the X-ray dose of the X-ray penetrating the human body. It should also be noted that when X-rays penetrate human tissues, the human tissues penetrated by the X-rays may include skin, fat, muscles, organs and / or bones. Therefore, the pixel value of each pixel on the X-ray image Img_x depends on the composition of one or more human tissues penetrated by the X-rays.

[0043] In some embodiments, the X-ray image Img_x may be a chest X-ray image. Alternatively, in other embodiments, the X-ray image Img_x may be an X-ray image of other parts of the body.

[0044] Then, in step S204, the processor 130 may input the X-ray image Img_x into the first convolutional neural network model M1 to generate a bone probability heat map H1 of the X-ray image Img_x. In detail, the first convolutional neural network model M1 is a trained deep learning model. The model parameters of the trained first convolutional neural network model M1 may be recorded in the storage device 120. The first convolutional neural network model M1 may include multiple convolutional layers and multiple pooling layers. The convolutional layer may use one or more convolution kernels (Kernel) to perform convolution operations. The pooling layer is used to perform pooling operations. In some embodiments, the first convolutional neural network model M1 may use the U-Net architecture as the backbone network. The U-Net architecture may include a downsampling network part and an upsampling network part. Alternatively, in other embodiments, the first convolutional neural network model M1 may use the M-Net architecture, the U-Net++ architecture, or other optimized convolutional neural network architectures as the backbone network.

[0045] In more detail, the processor 130 may input the X-ray image Img_x into the first convolutional neural network model M1 so that the first convolutional neural network model M1 outputs the corresponding bone probability heat map H1. The bone probability heat map H1 includes multiple bone weight values, which may be probability values ​​respectively. The multiple bone weight values ​​on the bone probability heat map H1 correspond one-to-one to the pixels on the X-ray image Img_x. In some embodiments, if the X-ray image Img_x has m*n pixels, the bone probability heat map H1 output by the first convolutional neural network model M1 may include m*n bone weight values. In other embodiments, if the X-ray image Img_x has m*n pixels, the bone probability heat map output by the first convolutional neural network model M1 may include u*v bone weight values. The processor 130 may further perform scaling processing on the bone probability heat map including u*v bone weight values ​​to obtain a bone probability heat map H1 including m*n bone weight values. It is known that the pixel value of each pixel on the X-ray image Img_x depends on the composition state of the various human tissues that the X-ray penetrates. Correspondingly, a certain bone weight value of the bone probability heat map H1 can represent the probability value of the bone component corresponding to a certain pixel on the X-ray image Img_x. In other words, the higher the bone weight value on the bone probability heat map H1, the larger the bone component corresponding to the corresponding pixel on the X-ray image Img_x.

[0046] It should also be noted that, in order to enable the first convolutional neural network model M1 to have the above capabilities, multiple CT images can be used to generate ground truth information for training the first convolutional neural network model M1. This part will be described in detail later.

[0047] Finally, in step S206, the processor 130 may estimate the bone density estimation value E1 according to the bone probability heat map H1, the X-ray image Img_x and the second convolutional neural network model M2. In different embodiments, the bone density estimation value E1 may include bone mineral density (BMD), T-score or Z-score.

[0048] In detail, the second convolutional neural network model M2 is a trained deep learning model. The model parameters of the trained second convolutional neural network model M2 can be recorded in the storage device 120. The second convolutional neural network model M2 may include a feature acquisition network and a fully connected network. The feature acquisition network is a convolutional neural network used to acquire feature information, which may include multiple convolutional layers and multiple pooling layers. The fully connected network is used to perform regression operations to generate a bone density estimation value E1. In other words, the output information of the second convolutional neural network model M2 is the bone density estimation value E1.

[0049] It should be noted that in different embodiments, the input information of the second convolutional neural network model M2 can be implemented in different ways. However, in some embodiments, the input information of the second convolutional neural network model M2 must include the bone probability heat map H1. By providing the bone probability heat map H1 to the second convolutional neural network model M2, the second convolutional neural network model M2 can obtain the probability of the bone component of each pixel on the X-ray image Img_x. Therefore, the second convolutional neural network model M2 can decide which pixels on the reference X-ray image Img_x based on the bone probability heat map H1, so as to more accurately estimate the bone density estimation value E1. In other words, the second convolutional neural network model M2 can refer to the bone weight value on the bone probability heat map H1 to achieve the effect of strengthening the focus on the bones.

[0050] like Figure 3 As shown, in some embodiments, the input information of the second convolutional neural network model M2 may include a bone enhanced image Img_Bn and a bone probability heat map H1. Here, the processor 130 may generate a bone enhanced image Img_Bn based on the X-ray image Img_x and the bone probability heat map H1. In other words, the processor 130 may perform an enhancement process EP1 on the X-ray image Img_x based on the bone probability heat map H1 to generate a bone enhanced image Img_Bn. The bone enhanced image Img_Bn may be regarded as an enhanced X-ray image that has undergone the enhancement process EP1.

[0051] In detail, the processor 130 may adjust the original pixel value of each pixel on the X-ray image Img_x according to the bone weight value on the bone probability heat map H1, thereby generating an enhanced pixel value for each pixel on Img_Bn. In some embodiments, the enhancement process EP1 includes the following operations. The processor 130 may calculate the normalized pixel value of each pixel on the X-ray image Img_x according to a preset ratio parameter. Then, the processor 130 may calculate the enhanced pixel value of each pixel on the bone enhanced image Img_Bn according to the preset ratio parameter and the normalized pixel value, original pixel value and bone weight value corresponding to each pixel on the X-ray image Img_x. The bone probability heat map H1 includes the bone weight value corresponding to each pixel on the X-ray image Img_x.

[0052] For example, the processor 130 may calculate the normalized pixel value of each pixel on the X-ray image Img_x according to the following formula (1), and calculate the enhanced pixel value of each pixel on the bone enhanced image Img_Bn according to the following formula (2).

[0053]

[0054]

[0055] in, is the normalized pixel value of pixel Px,y on the X-ray image Img_x; is the original pixel value of pixel Px,y on the X-ray image Img_x; A mean A is the average of the original pixel values ​​of all pixels on the X-ray image Img_x; SD is the standard deviation of the original pixel values ​​of all pixels on the X-ray image Img_x; is the bone weight implantation corresponding to the pixel Px,y of the X-ray image Img_x on the bone probability heat map H1; is the enhanced pixel value of pixel Pex,y on the bone enhanced image Img_Bn; α is a preset ratio parameter. Here, x and y represent pixel positions.

[0056] Based on formula (1) and formula (2), when the preset ratio parameter α increases, the enhancement range of the X-ray image Img_x according to the bone probability heat map H1 can be increased. When the preset ratio parameter α decreases, the enhancement range of the X-ray image Img_x according to the bone probability heat map H1 can be reduced.

[0057] Alternatively, for example, the processor 130 may calculate the enhanced pixel value of each pixel on the bone-enhanced image ImgBn according to the following formula (3).

[0058]

[0059] in, is the original pixel value of pixel Px,y on the X-ray image Img_x; is the bone weight implantation corresponding to the pixel Px,y of the X-ray image Img_x on the bone probability heat map H1; is the enhanced pixel value of pixel Pex,y on the bone enhanced image Img_Bn; α is a preset ratio parameter. Here, x and y represent pixel positions.

[0060] Based on formula (3), when the preset ratio parameter α increases, the weight of the X-ray image Img_x can be increased and the weight of the bone probability heat map H1 can be reduced. When the preset ratio parameter α decreases, the weight of the X-ray image Img_x can be reduced and the weight of the bone probability heat map H1 can be increased.

[0061] By using the bone probability heat map H1 to perform enhancement processing EP1 on the X-ray image Img_x, the enhanced pixel values ​​corresponding to high bone weights in the bone-enhanced image Img_Bn are generated through a higher amplitude enhancement, while the enhanced pixel values ​​corresponding to low bone weights in the bone-enhanced image Img_Bn are generated through a lower amplitude enhancement. In other words, the pixels corresponding to high bone components in the X-ray image Img_x can be effectively enhanced. Figure 3 As shown, the bone enhanced image Img_Bn can present human bones more clearly.

[0062] Afterwards, the processor 130 may input the bone enhanced image Img_Bn and the bone probability heat map H1 into the second convolutional neural network model M2 to estimate the bone density estimation value E1. The second convolutional neural network model M2 may be a single-input single-output model. In some embodiments, the second convolutional neural network model M2 may include a feature acquisition network and a fully connected network. The feature acquisition network is connected to the fully connected network. In some embodiments, the fully connected network may include a global average pooling (GAP) layer. In some embodiments, the fully connected network may be implemented by a global average pooling (GAP) layer.

[0063] In detail, Figure 4 is a schematic diagram of a second convolutional neural network model according to an embodiment of the present invention. Figure 4In this embodiment, the processor 130 may concatenate the bone enhanced image Img_Bn and the bone probability heat map H1 to generate a concatenation result C1. The concatenation result C1 is generated by combining the bone enhanced image Img_Bn and the bone probability heat map H1. The concatenation process is a merging of the number of channels. Here, the number of channels of the bone enhanced image Img_Bn and the number of channels of the bone probability heat map H1 are 1. Through the concatenation process, the number of channels of the concatenation result C1 is 2. However, in other embodiments, the processor 130 may fuse the bone enhanced image Img_Bn and the bone probability heat map H1 in a fusion manner.

[0064] At Figure 4 In the illustrated embodiment, the processor 130 may input the concatenation result C1 of the bone enhancement image Img_Bn and the bone probability heat map H1 into the second convolutional neural network model M2 to estimate the bone density estimation value E1. Figure 4 In the embodiment, the second convolutional neural network model M2 includes a feature acquisition network M2_net1 and a fully connected network M2_net2. The fully connected network M2_net2 may include a global average pooling layer or be replaced by a global average pooling layer. The number and configuration of the convolutional layers and pooling layers in the feature acquisition network M2_net1 can be set according to actual needs. In some embodiments, the feature acquisition network M2_net1 is, for example, a densely connected convolution network (DenseNet), but is not limited to this. The feature acquisition network M2_net1 can perform feature acquisition (including convolution processing and pooling processing, etc.) based on the series result C1 to generate multiple feature maps F_m. Among them, the number of feature maps output by each convolutional layer in the feature acquisition network M2_net1 depends on the number of convolution kernels used in each convolutional layer.

[0065] Next, the processor 130 may feed the plurality of feature maps F_m into the fully connected network M2_net2. The fully connected network M2_net2 may perform a regression operation based on the plurality of feature maps F_m and output a bone density estimation value E1. In some embodiments, the feature maps F_m may be processed by a global average pooling layer before performing a regression operation to obtain a bone density estimation value E1.

[0066] It can be seen that the second convolutional neural network model M2 can know which pixels in the bone enhanced image Img_Bn have higher reference value based on the bone probability heat map H1, and know which pixels in the bone enhanced image Img_Bn have less reference value. Therefore, the accuracy of the bone density estimation value E1 estimated by the second convolutional neural network model M2 can be effectively improved. In addition, the bone probability heat map H1 can achieve the human bone perception at the pixel level, thereby greatly improving the anti-interference and stability.

[0067] It should also be noted that during the training process of the second convolutional neural network model M2, the actual bone density in the training data can be obtained through a bone density measuring instrument. In addition, the X-ray image training set in the training data can be obtained by shooting with an X-ray machine. Alternatively, the X-ray image training set in the training data can be generated by simulating multiple computed tomography (CT) images. In addition, after completing the training of the first convolutional neural network model M1, the processor 130 can generate multiple bone probability heat maps for model training based on the X-ray image training set and the trained first convolutional neural network model M1. During the training process of the second convolutional neural network model M2, the processor 130 can calculate the loss value based on the actual bone density, the bone density estimate output by the second convolutional neural network model M2 and the loss function. The processor 130 can adjust the model weight of the second convolutional neural network model M2 according to the loss value generated by the loss function, and determine whether the second convolutional neural network model M2 has been learned.

[0068] also, Figure 3 The example of implementation is that the input information of the second convolutional neural network model M2 includes the bone enhancement image Img_Bn and the bone probability heat map H1. However, in other embodiments, the input information of the second convolutional neural network model M2 may include the X-ray image Img_x and the bone probability heat map H1. Alternatively, in still other embodiments, the input information of the second convolutional neural network model M2 may include the X-ray image Img_x, the bone enhancement image Img_Bn, and the bone probability heat map H1.

[0069] Please refer to Figure 5 , which is a schematic diagram showing how to estimate bone density using a first convolutional neural network model and a second convolutional neural network model according to an embodiment of the present invention. After the processor 130 generates a bone probability heat map H1 of the X-ray image Img_x using the first convolutional neural network model M1, the processor 130 may input the X-ray image Img_x and the bone probability heat map H1 into the second convolutional neural network model M2 to estimate the bone density estimate E1. Here, the processor 130 may, for example, Figure 4The mechanism shown is used to concatenate the X-ray image Img_x and the bone probability heat map H1, and then feed the concatenation result with a channel number of 2 into the feature acquisition network M2_net1 in the second convolutional neural network model M2.

[0070] Please refer to Figure 6 , which is a schematic diagram of estimating a bone density estimate using a first convolutional neural network model and a second convolutional neural network model according to an embodiment of the present invention. The processor 130 uses the first convolutional neural network model M1 to generate a bone probability heat map H1 of the X-ray image Img_x, and performs enhancement processing EP1 on the X-ray image Img_x according to the bone probability heat map H1 to generate a bone enhanced image Img_Bn, the details of which have been described above and will not be repeated here. Afterwards, the processor 130 may input the X-ray image Img_x, the bone enhanced image Img_Bn, and the bone probability heat map H1 into the second convolutional neural network model to estimate the bone density estimate E1. Here, the processor 130 may, for example, based on Figure 4 The mechanism shown is used to concatenate the X-ray image Img_x, the bone enhancement image Img_Bn and the bone probability heat map H1 to generate a concatenation result with a channel number of 3. Afterwards, the processor 130 may feed the concatenation result with a channel number of 3 into the feature acquisition network M2_net1 in the second convolutional neural network model M2.

[0071] For the training of the first convolutional neural network model M1, please refer to Figure 7 , which is a schematic diagram of generating a real graph for training a first convolutional neural network model according to an embodiment of the present invention. In some embodiments, the processor 130 may use multiple CT images (e.g. Figure 7 The CT images CT1, CT2, CT3 shown are used to train the first convolutional neural network model M1. The ground truth map H_groundtruth used to train the first convolutional neural network model M1 is generated based on these CT images.

[0072] In detail, the CT image is actually a cross-sectional scan image of the human body. Here, the CT image is represented as an XY plane image. Correspondingly, the X-ray image is actually a projection image of the human body, so it can be represented as an XZ plane image. According to the CT value of each pixel on the CT image, the processor 130 can directly classify the pixel points on the CT image into bone category or non-bone category. More specifically, pixel points with a CT value (also known as Hounsfield unit (HU) value, HU value) between 300 and 700 can be classified as bone category. On the contrary, pixel points with a CT value not between 300 and 700 can be classified as non-bone category. Figure 7In the example of , according to the CT value of each pixel on the CT image CT1 (ie, the first CT image), the processor 130 may classify each pixel on the CT image CT1 (ie, the first CT image) into a bone category or a non-bone category.

[0073] Under the condition that all pixels of the CT images can be classified as bone categories or non-bone categories, the processor 130 can simulate and generate training X-ray images Img_xt for training the first convolutional neural network model M1 based on multiple CT images along the Z axis (for example, CT images CT1, CT2, and CT3). The processor 130 can, for example, simulate and generate training X-ray images Img_xt based on the technology described in the document "Bone Structures Extraction and Enhancement in Chest Radiographs via CNN Trained on Synthetic Data". Therefore, the relevant details can be referred to the above document and will not be repeated here. Alternatively, in other embodiments, the X-ray image training set used to train a convolutional neural network model M1 can be generated by actually shooting with an X-ray machine.

[0074] In addition, in some embodiments, the processor 130 may sum up the CT values ​​of pixels whose X-axis coordinate components (i.e., first coordinate components) are the same as n and classified as bone categories on the CT image CT1 (i.e., the first CT image) to obtain a first summed value, where n is an integer. The processor 130 may sum up the CT values ​​of all pixels whose X-axis coordinate components (i.e., first coordinate components) are the same as n on the CT image CT1 (i.e., the first CT image) to obtain a second summed value. In other words, the CT values ​​of pixels whose X-axis coordinates are the same and classified as bone categories may be summed to generate a first summed value. In addition, the CT values ​​of pixels whose X-axis coordinates are the same may also be summed to generate a second summed value. Thereafter, by dividing the first summed value by the second summed value, the processor 130 may obtain a bone probability thermal truth value on the real image H_groundtruth. Thus, based on the information of multiple CT images along the Z axis, the processor 130 may obtain all bone probability thermal truth values ​​on the real image H_groundtruth. It can be known that based on a CT image, the processor 130 can generate a plurality of bone probabilistic thermal truth values ​​in a horizontal row along the X-axis direction on the ground truth map H_groundtruth.

[0075] For example, the processor 130 may generate the bone probability thermal truth value of the ground truth map H_groundtruth according to the following formulas (4) to (6).

[0076]

[0077]

[0078]

[0079] Among them, HU represents the CT value of CT image; is the sum of the CT values ​​corresponding to the bone category in a straight line along the Y-axis direction on the CT image (i.e., the first summed value); It is the sum of the CT values ​​corresponding to the non-bone category in a straight line along the Y-axis direction on the CT image; x and z represent the position of the true value of the bone probability thermal force; y represents the Y-axis position of the CT value. In addition, Represents the sum of all CT values ​​on a line along the Y-axis direction on the CT image (ie, the second summed value). It is the true value of bone probability heat on the real map H_groundtruth.

[0080] In this way, through formula (3) to formula (5), the processor 130 can obtain the true value of the thermal probability of all bones on the real image H_groundtruth based on multiple CT images. Therefore, the processor 130 can train the first convolutional neural network model M1 based on the real image H_groundtruth and the training X-ray image Img_xt. More specifically, the processor 130 can input the training X-ray image Img_xt into the first convolutional neural network model M1 to generate a prediction result, and the processor 130 can calculate the gap between the above prediction result and the real image H_groundtruth according to the loss function to update the model parameters of the first convolutional neural network model M1. When the loss value generated by the loss function meets the conditions, the processor 130 can determine that the training of the first convolutional neural network model M1 is completed. Therefore, the trained first convolutional neural network model M1 can be used to assist in estimating the estimated value E1 of the human body's bone density.

[0081] However, in other embodiments, a dual-energy X-ray absorptiometry (DXA) can directly output a bone X-ray image and a chest X-ray image. Therefore, the bone X-ray image generated by the dual-energy X-ray machine can be directly used as a real image, and the chest X-ray image generated by the dual-energy X-ray machine can be used as a training X-ray image to train a first convolutional neural network model M1 for estimating a bone probability heat map.

[0082] In an embodiment of the present invention, the processor 130 may provide the bone density estimation value E1 to relevant medical personnel for reference in diagnosis, but is not limited thereto.

[0083] In summary, the method for estimating osteoporosis proposed in the present invention can first use a convolutional neural network model to generate a bone probability heat map of an X-ray image. Afterwards, another convolutional neural network model can estimate the bone density of the subject based on the bone probability heat map and the X-ray image. It can be seen that the embodiment of the present invention can use the bones on the entire X-ray image, and there is no need to obtain a specific part range and discard part of the bones on the X-ray image. In addition, the embodiment of the present invention can simultaneously input the clarified bone enhanced image and the bone probability heat map into the convolutional neural network model, so that the convolutional neural network model can refer to the bone probability heat map to achieve a more focused effect on the bone for estimation. Therefore, the anti-interference and stability can be greatly improved, and the overall bone density prediction accuracy can be improved.

[0084] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for estimating osteoporosis, suitable for electronic devices, characterized in that: include: Obtaining X-ray images; Inputting the X-ray image into a first convolutional neural network model to generate a bone probability heat map of the X-ray image; as well as The bone density estimate is estimated based on the bone probability heat map, the X-ray image and the second convolutional neural network model.

2. The method for estimating osteoporosis according to claim 1, characterized in that: The step of estimating the bone density estimation value according to the bone probability heat map, the X-ray image and the second convolutional neural network model comprises: The X-ray image and the bone probability heat map are input into the second convolutional neural network model to estimate the bone density estimate.

3. The method for estimating osteoporosis according to claim 1, characterized in that: The step of estimating the bone density estimation value according to the bone probability heat map, the X-ray image and the second convolutional neural network model comprises: generating a bone enhancement image according to the X-ray image and the bone probability heat map; and The bone enhanced image and the bone probability heat map are input into the second convolutional neural network model to estimate the bone density estimation value.

4. The method for estimating osteoporosis according to claim 3, characterized in that: The step of generating the bone enhancement image according to the X-ray image and the bone probability heat map comprises: Calculating a normalized pixel value of each pixel on the X-ray image according to a preset ratio parameter; and The enhanced pixel value of each pixel on the bone enhanced image is calculated according to the preset ratio parameter, the normalized pixel value corresponding to each pixel on the X-ray image, the original pixel value and the bone weight value, The bone probability heat map includes the bone weight value corresponding to each pixel on the X-ray image.

5. The method for estimating osteoporosis according to claim 3, characterized in that: The step of inputting the bone enhancement image and the bone probability heat map into the second convolutional neural network model to estimate the bone density estimation value includes: The X-ray image, the bone enhancement image and the bone probability heat map are input into the second convolutional neural network model to estimate the bone density estimation value.

6. The method for estimating osteoporosis according to claim 3, characterized in that: The step of inputting the bone enhancement image and the bone probability heat map into the second convolutional neural network model to estimate the bone density estimation value includes: Concatenating the bone enhancement image and the bone probability heat map; and The concatenation result of the bone enhancement image and the bone probability heat map is input into the second convolutional neural network model to estimate the bone density estimation value. The number of channels of the bone enhanced image and the number of channels of the bone probability heat map are 1, and the number of channels of the concatenated result is 2.

7. The method for estimating osteoporosis according to claim 1, characterized in that: The second convolutional neural network model includes a feature acquisition network, and the second convolutional neural network model includes a fully connected network, and the feature acquisition network is connected to the fully connected network.

8. The method for estimating osteoporosis according to claim 7, characterized in that: The fully connected network includes a global average pooling layer.

9. The method for estimating osteoporosis according to claim 1, characterized in that: The bone density estimate includes bone mineral density, T score or Z score.

10. The method for estimating osteoporosis according to claim 1, characterized in that: Also includes: The first convolutional neural network model is trained using multiple CT images, wherein a real image used to train the first convolutional neural network model is generated based on the multiple CT images.

11. The method for estimating osteoporosis according to claim 10, characterized in that: The multiple CT images include a first CT image, and the step of using the multiple CT images to train the first convolutional neural network model includes: Classifying each pixel on the first CT image into a bone class or a non-bone class; Summing the CT values ​​of pixels on the first CT image whose first coordinate component is n and classified as the bone category to obtain a first summed value, and summing the CT values ​​of all pixels on the first CT image whose first coordinate component is n to obtain a second summed value; and The bone probability thermal real value on the real map is obtained by dividing the first total value by the second total value.

12. An electronic device for estimating osteoporosis, characterized in that: include: A storage device, recording a plurality of modules; as well as A processor is coupled to the storage device and is configured to access the module to execute: Obtaining X-ray images; Inputting the X-ray image into a first convolutional neural network model to generate a bone probability heat map of the X-ray image; and The bone density estimate is estimated based on the bone probability heat map, the X-ray image and the second convolutional neural network model.