Bone joint image analysis method and system based on artificial neural network
By using the self-attention weight module based on artificial neural networks for feature enhancement in the diagnosis of osteoarthritis, the problems of noise and low contrast in magnetic resonance imaging are solved, the accuracy and efficiency of identifying osteoarthritis are improved, and a more efficient diagnostic results.
Patent Information
- Application Number
- CN202411090632.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-09
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-08-09
AI Technical Summary
Due to the high noise, many artifacts, and low contrast between the target and the background of magnetic resonance imaging in the diagnosis of osteoarthritis using the existing technology, the accuracy of identifying osteoarthritis is not high enough and the identification failure rate is high.
The bone joint image analysis method based on artificial neural network is adopted, feature enhancement is performed through the self-attention weight module, and the self-attention enhanced feature map is combined with the input bone joint image fusion to obtain different levels of bone joint image features, and through the artificial neural network Carry out targeted feature extraction and reduce the dimension of feature processing.
It improves the recognition accuracy and efficiency of osteoarthritis, enriches detailed feature information, reduces the recognition failure rate, and improves the efficiency and accuracy of the medical system.
Smart Images

Figure CN118628480A
Abstract
Description
Technical Field
[0001] The present application relates to the field of image processing technology, and in particular to a bone and joint image analysis method and system based on artificial neural network. Background Art
[0002] Osteoarthritis is a chronic joint disease characterized by degeneration, destruction and bone hyperplasia of articular cartilage. The knee joint is the most common site of osteoarthritis in clinical practice, so it is also called knee osteoarthritis. The main risk factors are degenerative changes in the knee joint, obesity and sequelae of injury. The clinical manifestations are knee pain, which is aggravated after activities, swelling, stiffness and even joint deformation. With the deepening of the aging of the population, the incidence of osteoarthritis has increased year by year, affecting the quality of life of patients and causing a serious economic burden on society. Therefore, early and accurate diagnosis of osteoarthritis has positive significance for the treatment and prognosis of the disease.
[0003] Magnetic resonance imaging (MRI) has the characteristics of high soft tissue resolution, non-invasiveness and no radiation. It can clearly show the changes in the joint structure and soft tissue of the knee joint. It is currently the most important imaging method for detecting osteoarthritis. The existing artificial neural network analyzes and processes images through deep learning, and can automatically identify image features, so as to quickly and accurately detect and identify osteoarthritis, provide doctors with intelligent auxiliary results as a reference, and help doctors provide patients with diagnosis results and treatment plans more promptly, reduce the workload of doctors, reduce the probability of missed diagnosis and misdiagnosis by doctors, and improve the work efficiency and accuracy of the medical system.
[0004] Inevitably, due to the problems of high noise, many artifacts, and low contrast between the target and the background in magnetic resonance imaging, the target features are difficult to identify, which can easily lead to failure in osteoarthritis identification and insufficient recognition accuracy. Therefore, there is an urgent need for a bone and joint image analysis method and system based on artificial neural networks that can improve the accuracy and efficiency of osteoarthritis identification. Summary of the invention
[0005] In view of the above problems, the present application is proposed to provide a bone joint image analysis method and system based on artificial neural network, which performs feature enhancement through the self-attention weight module, fuses the self-attention enhanced feature map with the input bone joint image to obtain bone joint image features at different levels, enriches the detailed feature information, and constructs an artificial neural network to specifically extract effective features and reduce the feature processing dimension to improve the recognition accuracy and efficiency of osteoarthritis.
[0006] In order to achieve the above object, the present application provides a bone joint image analysis method based on artificial neural network, comprising steps S11-S15: S11, scanning the bone joints of the target object to collect and generate bone joint images; S12, constructing a self-attention weight module, extracting features of the bone joint image, generating a reconstructed image corresponding to the bone joint image, and normalizing the residual between the bone joint image and the reconstructed image to obtain a self-attention weight; S13, using the self-attention weight to perform element-by-element multiplication on the bone and joint images to generate a self-attention enhanced feature map; S14, concatenating and fusing the bone joint image with the self-attention enhanced feature map to generate a fused feature map; S15, constructing an artificial neural network, extracting and analyzing the fused feature graph, performing osteoarthritis recognition, and generating recognition results.
[0007] Preferably, the construction of the self-attention weight module specifically includes steps S121-S123: S121, constructing an autoencoder, performing multi-level feature extraction on the bone joint image, and reconstructing the image using the extracted multi-level feature map to generate a reconstructed image corresponding to the bone joint image; S122, constructing a residual calculation unit for comparing the bone joint image with the reconstructed image to generate a residual between the bone joint image and the reconstructed image; S123, construct a weight calculation unit, use the Softmax function to normalize the residual, and generate a self-attention weight between the bone joint image and the reconstructed image.
[0008] Preferably, the construction of the artificial neural network specifically includes steps S151-S157: S151, constructing a preset number of convolution channels, performing convolution operations on the fused feature maps respectively, and generating multiple convolution feature maps; S152, performing an average pooling operation on the fused feature map along the height direction and the width direction respectively, to generate a one-dimensional height pooling feature map and a one-dimensional width pooling feature map; S153, in the channel direction, perform additive fusion on the one-dimensional height pooling feature map and the one-dimensional width pooling feature map to generate a two-dimensional feature map; S154, performing two consecutive convolution operations on the two-dimensional feature map to compress the number of channels and generate a compressed feature map; S155, using a Softmax function to normalize the compressed feature map, generating multiple convolution channel weights corresponding to the multiple parallel convolution channels; S156, using multiple convolution channel weights to perform element-by-element multiplication with the convolution feature maps output by the corresponding convolution channels, to generate multiple channel feature maps, and using an addition module to perform addition fusion on the multiple channel feature maps to generate a bone joint feature map; S157, inputting the bone joint feature map into the classification module to perform osteoarthritis recognition and generate a recognition result.
[0009] Preferably, the construction of the artificial neural network specifically includes steps S151-S157: S151, constructing a preset number of convolution channels, performing convolution operations on the fused feature maps respectively, and generating multiple convolution feature maps; S152, performing an average pooling operation on the fused feature map along the height direction and the width direction respectively, to generate a one-dimensional height pooling feature map and a one-dimensional width pooling feature map; S153, in the channel direction, perform additive fusion on the one-dimensional height pooling feature map and the one-dimensional width pooling feature map to generate a two-dimensional feature map; S154, performing two consecutive convolution operations on the two-dimensional feature map to compress the number of channels and generate a compressed feature map; S155, using a Softmax function to normalize the compressed feature map, generating multiple convolution channel weights corresponding to the multiple parallel convolution channels; S156, using multiple convolution channel weights to perform element-by-element multiplication with the convolution feature maps output by the corresponding convolution channels, to generate multiple channel feature maps, and using an addition module to perform addition fusion on the multiple channel feature maps to generate a bone joint feature map; S158, performing additive fusion on the multi-level feature map extracted from the autoencoder and the bone and joint feature map to generate a bone and joint composite feature map; S159, inputting the bone-joint composite feature map into the classification module to perform osteoarthritis recognition and generate recognition results.
[0010] Preferably, the classification module may be composed of a fully connected layer and a classification layer.
[0011] At the same time, the present application also provides a bone and joint image analysis system based on artificial neural network, including: An image acquisition module scans the bone joints of the target object and acquires bone joint images; The self-attention weight module extracts features from the bone and joint images, generates a reconstructed image corresponding to the bone and joint images, and normalizes the residual between the bone and joint images and the reconstructed images to obtain the self-attention weight. The self-attention enhanced feature map construction module uses the self-attention weights to perform element-wise multiplication of the bone and joint images to generate a self-attention enhanced feature map; The fusion feature map construction module concatenates and fuses the bone joint image with the self-attention enhanced feature map to generate a fusion feature map; Artificial neural network,extracts and analyzes the fused feature map, performs osteoarthritis recognition, and generates recognition results.
[0012] Preferably, the self-attention weight module includes: The autoencoder extracts multi-level features of the bone and joint images, and reconstructs the images using the extracted multi-level feature maps to generate reconstructed images corresponding to the bone and joint images; A residual calculation unit, used for comparing the bone joint image with the reconstructed image, and generating a residual between the bone joint image and the reconstructed image; The weight calculation unit uses the Softmax function to normalize the residual and generate the self-attention weight between the bone and joint image and the reconstructed image.
[0013] Preferably, the artificial neural network specifically includes: A preset number of convolution channels are used to perform convolution operations on the fused feature maps respectively to generate multiple convolution feature maps; The pooling feature map generation module performs average pooling operations on the fused feature map along the height direction and the width direction respectively to generate a one-dimensional height pooling feature map and a one-dimensional width pooling feature map; The two-dimensional feature map generation module generates a two-dimensional feature map by adding and fusing the one-dimensional height pooling feature map and the one-dimensional width pooling feature map in the channel direction; The compression channel module performs two consecutive convolution operations on the two-dimensional feature map to compress the number of channels and generate a compressed feature map; The convolution channel weight generation module uses the Softmax function to normalize the compressed feature map and generate multiple convolution channel weights corresponding to multiple parallel convolution channels; The bone and joint feature map generation module uses multiple convolution channel weights to perform element-by-element multiplication with the convolution feature maps output by the corresponding convolution channels to generate multiple channel feature maps, and uses the addition module to perform addition fusion on the multiple channel feature maps to generate the bone and joint feature map; The classification module inputs the bone and joint feature map into the classification module to perform osteoarthritis recognition and generate recognition results.
[0014] Preferably, the artificial neural network comprises: A preset number of convolution channels are used to perform convolution operations on the fused feature maps respectively to generate multiple convolution feature maps; The pooling feature map generation module performs average pooling operations on the fused feature map along the height direction and the width direction respectively to generate a one-dimensional height pooling feature map and a one-dimensional width pooling feature map; The two-dimensional feature map generation module generates a two-dimensional feature map by adding and fusing the one-dimensional height pooling feature map and the one-dimensional width pooling feature map in the channel direction; The compression channel module performs two consecutive convolution operations on the two-dimensional feature map to compress the number of channels and generate a compressed feature map; The convolution channel weight generation module uses the Softmax function to normalize the compressed feature map and generate multiple convolution channel weights corresponding to multiple parallel convolution channels; The bone and joint feature map generation module uses multiple convolution channel weights to perform element-by-element multiplication with the convolution feature maps output by the corresponding convolution channels to generate multiple channel feature maps, and uses the addition module to perform addition fusion on the multiple channel feature maps to generate the bone and joint feature map; The bone-joint composite feature map generation module performs additive fusion of the multi-level feature map extracted from the autoencoder with the bone-joint feature map to generate a bone-joint composite feature map; The classification module inputs the bone-joint composite feature map into the classification module to perform osteoarthritis recognition and generate recognition results.
[0015] Preferably, the classification module may be composed of a fully connected layer and a classification layer.
[0016] The beneficial effects of this application are: (1) The present application provides a bone joint image analysis method and system based on an artificial neural network. The bone joint image analysis method and system calculate the self-attention weight through a self-attention weight module, multiply it by the input bone joint image element by element, generate a self-attention enhanced feature map, and fuse it with the input bone joint image to perform feature enhancement to obtain bone joint image features at different levels, enrich the detailed feature information, and improve the recognition accuracy of osteoarthritis.
[0017] (2) The present application also provides an artificial neural network that can capture rich bone and joint detail features through multiple convolution channels, and adaptively adjust the convolution channel weights according to the input bone and joint images, extract effective features in a targeted manner, and further improve the recognition accuracy of osteoarthritis; and use average pooling and additive fusion operations in the height direction and width direction to reduce the feature processing dimension, convert the existing three-dimensional feature real domain space into a two-dimensional feature real domain space, and improve the recognition efficiency of osteoarthritis; finally, the artificial neural network of the present application can also perform additive fusion on the multi-level feature map extracted from the autoencoder and the bone and joint feature map. On the basis of not increasing the network scale, the complementary advantages of the two different neural networks are used to fuse the features extracted by the two different neural networks, further enrich the extracted bone and joint detail features, and improve the recognition accuracy of osteoarthritis. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0019] Figure 1 A flowchart of the bone and joint image analysis method provided in this application; Figure 2 Flowchart for constructing the self-attention weight module provided for this application; Figure 3 A flowchart of the method for constructing an artificial neural network provided in this application; Figure 4 Another flow chart of the method for constructing an artificial neural network provided in this application; Figure 5 A structural block diagram of the bone and joint image analysis system provided in this application; Figure 6 This is a structural block diagram of the artificial neural network provided in this application. DETAILED DESCRIPTION
[0020] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0021] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms of "a", "said", and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings, and "multiple" generally includes at least two, but does not exclude the inclusion of at least one.
[0022] The present application provides a bone joint image analysis method and system based on an artificial neural network. The bone joint image analysis method and system calculate the self-attention weight through a self-attention weight module, multiply it by the input bone joint image element by element, generate a self-attention enhanced feature map, and fuse it with the input bone joint image to perform feature enhancement to obtain bone joint image features at different levels, enrich detailed feature information, and improve the recognition accuracy of osteoarthritis.
[0023] At the same time, the present application also provides an artificial neural network, which can capture rich bone and joint detail features through multiple convolution channels, and adaptively adjust the convolution channel weights according to the input bone and joint images, extract effective features in a targeted manner, and further improve the recognition accuracy of osteoarthritis; and use average pooling and additive fusion operations in the height and width directions to reduce the feature processing dimension, and convert the existing three-dimensional feature real domain space into a two-dimensional feature real domain space, thereby improving the recognition efficiency of osteoarthritis; finally, the artificial neural network of the present application can also perform additive fusion on the multi-level feature map extracted from the autoencoder and the bone and joint feature map, and on the basis of not increasing the network scale, use the complementary advantages of the two different neural networks to fuse the features extracted by the two different neural networks, further enrich the extracted bone and joint detail features, and improve the recognition accuracy of osteoarthritis.
[0024] The present application is further described below in conjunction with the accompanying drawings and specific embodiments. First embodiment
[0025] like Figure 1 As shown, in one embodiment, the present application provides a bone joint image analysis method based on an artificial neural network. The bone joint image analysis method includes steps S11-S15: S11, scanning the bone joints of the target object, and collecting and generating bone joint images.
[0026] Exemplarily, bone joint images can be generated by scanning using detection equipment such as magnetic resonance imaging.
[0027] S12, construct a self-attention weight module, perform feature extraction on the bone joint image, generate a reconstructed image corresponding to the bone joint image, and normalize the residual between the bone joint image and the reconstructed image to obtain the self-attention weight.
[0028] Exemplarily, the self-attention weight module may include an autoencoder, a residual calculation unit, and a weight calculation unit.
[0029] The autoencoder is used to extract features from the bone and joint images and generate reconstructed images corresponding to the bone and joint images. The autoencoder is an unsupervised learning model that performs unsupervised learning of image features based on convolutional neural theory. The encoding module learns effective features from the bone and joint images and extracts the spatial features and detail features of the bone and joint images. The decoding module reconstructs the input image through deconvolution operations to obtain a reconstructed image corresponding to the bone and joint images, and the reconstructed image is similar to the bone and joint images.
[0030] The residual calculation unit is used for comparing the bone joint image with the reconstructed image to generate the residual between the bone joint image and the reconstructed image.
[0031] The weight calculation unit normalizes the residual according to the Softmax function to generate the self-attention weight between the bone and joint image and the reconstructed image.
[0032] Specifically, Figure 2 As shown, the self-attention weight module construction specifically includes steps S121-S123: S121, construct an autoencoder, perform multi-level feature extraction on the bone joint image, and use the extracted multi-level feature map to reconstruct the image to generate a reconstructed image corresponding to the bone joint image.
[0033] Exemplarily, the autoencoder includes a multi-level feature extraction module and a reconstruction module.
[0034] S122, constructing a residual calculation unit for comparing the bone joint image with the reconstructed image to generate a residual between the bone joint image and the reconstructed image.
[0035] Exemplarily, the residual between the bone joint image and the reconstructed image can be expressed as:
[0036] Among them, R represents the residual between the bone joint image and the reconstructed image, Represents bone and joint images, Represents the reconstructed image.
[0037] S123, construct a weight calculation unit, use the Softmax function to normalize the residual, and generate a self-attention weight between the bone joint image and the reconstructed image.
[0038] Exemplarily, the residual between the bone joint image and the reconstructed image is connected to a Softmax function and softmax normalization is performed to generate a self-attention weight between 0 and 1.
[0039] S13, using the self-attention weights to perform element-wise multiplication of the bone joint image to generate a self-attention enhanced feature map.
[0040] Exemplarily, the self-attention enhanced feature map can be expressed as:
[0041] in, represents the self-attention enhanced feature map, W represents the self-attention weight, Represents element-wise multiplication.
[0042] S14, concatenates and fuses the bone joint image with the self-attention enhanced feature map to generate a fused feature map.
[0043] Exemplarily, the fused feature map can be expressed as:
[0044] in, Represents the fused feature map.
[0045] S15, constructing an artificial neural network, extracting and analyzing the fused feature graph, performing osteoarthritis recognition, and generating recognition results.
[0046] In this embodiment, the bone joint image analysis method calculates the self-attention weight through the self-attention weight module, multiplies it element-by-element with the input bone joint image, generates a self-attention enhanced feature map, and fuses it with the input bone joint image for feature enhancement to obtain bone joint image features at different levels, enrich the detailed feature information, and improve the recognition accuracy of osteoarthritis. Second embodiment
[0047] In another embodiment, the present application also provides a method for constructing an artificial neural network, such as Figure 3 As shown, the construction method for artificial neural network specifically includes: S151, construct a preset number of convolution channels, perform convolution operations on the fused feature maps respectively, and generate multiple convolution feature maps.
[0048] Exemplarily, multiple convolutional feature maps can be represented as:
[0049] Where, 2≤n≤N, N is a preset number, represents the convolution feature map of the nth convolution channel, represents the convolution kernel of the nth convolution channel, represents the bias of the nth convolution channel, , , , , R represents the real domain space, Hin, Win, Cin represent the height, width and number of channels of the fused feature map respectively, Hout, Wout, Cout represent the height, width and number of channels of the convolution feature map respectively, K×K represents the size of the convolution kernel in the convolution channel, and the sizes of the convolution kernels in multiple convolution channels can be the same.
[0050] S152, performing average pooling operations on the fused feature map along the height direction and the width direction respectively, to generate a one-dimensional height pooling feature map and a one-dimensional width pooling feature map.
[0051] Exemplarily, a one-dimensional highly pooled feature map can be expressed as:
[0052] in, represents the feature at the cth channel in the fusion feature map, i represents the position of the feature in the height direction, , 1≤c≤Cin.
[0053] The one-dimensional width pooling feature map can be expressed as:
[0054] Where j represents the position of the feature in the width direction, .
[0055] S153, in the channel direction, the one-dimensional height pooling feature map and the one-dimensional width pooling feature map are additively fused to generate a two-dimensional feature map.
[0056] Exemplarily, the two-dimensional feature map can be expressed as:
[0057] in, represents a two-dimensional feature map, .
[0058] S154, performing two consecutive convolution operations on the two-dimensional feature map to compress the number of channels and generate a compressed feature map.
[0059] S155, using the Softmax function to normalize the compressed feature map, generating multiple convolution channel weights corresponding to multiple parallel convolution channels.
[0060] Exemplarily, multiple convolution channel weights can be expressed as:
[0061] in, Represents the convolution channel weight corresponding to the nth convolution channel, Represents the Softmax function operation, represents the convolution operation that compresses the two-dimensional feature map, .
[0062] S156, using multiple convolution channel weights to perform element-by-element multiplication with the convolution feature maps output by the corresponding convolution channels, to generate multiple channel feature maps, and using an addition module to perform additive fusion on the multiple channel feature maps to generate a bone joint feature map.
[0063] Exemplarily, the bone joint feature map can be expressed as:
[0064] in, Represents the bone and joint feature diagram, .
[0065] S157, inputting the bone joint feature map into the classification module to perform osteoarthritis recognition and generate a recognition result.
[0066] Exemplarily, the classification module may be composed of a fully connected layer and a classification layer.
[0067] In this embodiment, the method for constructing an artificial neural network can capture rich bone and joint detail features through multiple convolution channels, and adaptively adjust the convolution channel weights according to the input bone and joint images, so as to extract effective features in a targeted manner and further improve the recognition accuracy of osteoarthritis; at the same time, the average pooling and addition fusion operations in the height direction and the width direction are used to reduce the feature processing dimension, and the existing three-dimensional feature real domain space is converted into Transformed into two-dimensional characteristic real number domain space , which improves the recognition efficiency of osteoarthritis. Third embodiment
[0068] In another embodiment, the present application also provides a method for constructing an artificial neural network, such as Figure 4 As shown, on the basis of the second embodiment, the multi-level feature map extracted from the autoencoder is added and fused with the bone and joint feature map to generate a bone and joint composite feature map for osteoarthritis recognition. The method for constructing an artificial neural network includes: S151, constructing a preset number of convolution channels, performing convolution operations on the fused feature maps respectively, and generating multiple convolution feature maps; S152, performing an average pooling operation on the fused feature map along the height direction and the width direction respectively, to generate a one-dimensional height pooling feature map and a one-dimensional width pooling feature map; S153, in the channel direction, perform additive fusion on the one-dimensional height pooling feature map and the one-dimensional width pooling feature map to generate a two-dimensional feature map; S154, performing two consecutive convolution operations on the two-dimensional feature map to compress the number of channels and generate a compressed feature map; S155, using a Softmax function to normalize the compressed feature map, generating multiple convolution channel weights corresponding to the multiple parallel convolution channels; S156, using multiple convolution channel weights to perform element-by-element multiplication with the convolution feature maps output by the corresponding convolution channels, to generate multiple channel feature maps, and using an addition module to perform addition fusion on the multiple channel feature maps to generate a bone joint feature map; S158, performing additive fusion of the multi-level feature map extracted from the autoencoder and the bone and joint feature map to generate a bone and joint composite feature map.
[0069] S159, inputting the bone-joint composite feature map into the classification module to perform osteoarthritis recognition and generate recognition results.
[0070] In this embodiment, the method for constructing an artificial neural network additively fuses the multi-level feature map extracted from the autoencoder with the bone and joint feature map. Without increasing the network scale, the complementary advantages of the two different neural networks are utilized to fuse the features extracted by the two different neural networks, thereby further enriching the extracted bone and joint detail features and improving the recognition accuracy of osteoarthritis. Fourth embodiment
[0071] Based on the description of the above-mentioned bone joint image analysis method embodiment, the present application also provides a bone joint image analysis system based on artificial neural network, which can perform Figure 1 and Figure 2 See the method shown. Figure 5 , the bone and joint image analysis system comprises: The image acquisition module scans the bone joints of the target object and generates bone joint images.
[0072] The self-attention weight module extracts features from the bone and joint images, generates a reconstructed image corresponding to the bone and joint images, and normalizes the residual between the bone and joint images and the reconstructed images to obtain the self-attention weight.
[0073] The self-attention enhanced feature map construction module uses the self-attention weights to perform element-wise multiplication of the bone joint images to generate a self-attention enhanced feature map.
[0074] The fusion feature map construction module concatenates and fuses the bone joint image with the self-attention enhanced feature map to generate a fusion feature map.
[0075] Artificial neural network,extracts and analyzes the fused feature map, performs osteoarthritis recognition, and generates recognition results.
[0076] Furthermore, the self-attention weight module also includes: The autoencoder extracts multi-level features of the bone and joint images, and reconstructs the images using the extracted multi-level feature maps to generate reconstructed images corresponding to the bone and joint images.
[0077] The residual calculation unit is used to compare the bone joint image with the reconstructed image and generate the residual between the bone joint image and the reconstructed image.
[0078] The weight calculation unit uses the Softmax function to normalize the residual and generate the self-attention weight between the bone and joint image and the reconstructed image. Fifth embodiment
[0079] In another embodiment, the present application also provides an artificial neural network, which can execute Figure 3 See the method shown. Figure 6 , the artificial neural network specifically includes: A preset number of convolution channels are used to perform convolution operations on the fused feature maps respectively to generate multiple convolution feature maps.
[0080] The pooling feature map generation module performs average pooling operations on the fused feature map along the height direction and the width direction respectively to generate a one-dimensional height pooling feature map and a one-dimensional width pooling feature map.
[0081] The two-dimensional feature map generation module performs additive fusion of the one-dimensional height pooling feature map and the one-dimensional width pooling feature map in the channel direction to generate a two-dimensional feature map.
[0082] The compressed channel module performs two consecutive convolution operations on the two-dimensional feature map to compress the number of channels and generate a compressed feature map.
[0083] The convolution channel weight generation module uses the Softmax function to normalize the compressed feature map and generate multiple convolution channel weights corresponding to multiple parallel convolution channels.
[0084] The bone and joint feature map generation module uses multiple convolution channel weights to perform element-by-element multiplication with the convolution feature maps output by the corresponding convolution channels to generate multiple channel feature maps, and uses the addition module to perform addition fusion on the multiple channel feature maps to generate a bone and joint feature map.
[0085] The classification module inputs the bone and joint feature map into the classification module to perform osteoarthritis recognition and generate recognition results. Sixth embodiment
[0086] In another embodiment, the present application further provides an artificial neural network. Based on the fifth embodiment, the artificial neural network can execute Figure 4 The artificial neural network specifically comprises: A preset number of convolution channels are used to perform convolution operations on the fused feature maps respectively to generate multiple convolution feature maps.
[0087] The pooling feature map generation module performs average pooling operations on the fused feature map along the height direction and the width direction respectively to generate a one-dimensional height pooling feature map and a one-dimensional width pooling feature map.
[0088] The two-dimensional feature map generation module performs additive fusion of the one-dimensional height pooling feature map and the one-dimensional width pooling feature map in the channel direction to generate a two-dimensional feature map.
[0089] The compressed channel module performs two consecutive convolution operations on the two-dimensional feature map to compress the number of channels and generate a compressed feature map.
[0090] The convolution channel weight generation module uses the Softmax function to normalize the compressed feature map and generate multiple convolution channel weights corresponding to multiple parallel convolution channels.
[0091] The bone and joint feature map generation module uses multiple convolution channel weights to perform element-by-element multiplication with the convolution feature maps output by the corresponding convolution channels to generate multiple channel feature maps, and uses the addition module to perform addition fusion on the multiple channel feature maps to generate a bone and joint feature map.
[0092] The bone and joint composite feature map generation module performs additive fusion of the multi-level feature map extracted from the autoencoder and the bone and joint feature map to generate a bone and joint composite feature map.
[0093] The classification module inputs the bone-joint composite feature map into the classification module to perform osteoarthritis recognition and generate recognition results.
[0094] In addition, the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the above-mentioned bone and joint image analysis method and system based on artificial neural network.
[0095] The above description shows and describes several preferred embodiments of the present application, but as mentioned above, it should be understood that the present application is not limited to the form disclosed herein, and should not be regarded as excluding other embodiments, but can be used in various other combinations, modifications and environments, and can be modified within the scope of the invention concept described herein through the above teachings or the technology or knowledge of the relevant field. The changes and modifications made by those skilled in the art do not depart from the spirit and scope of the present application, and should be within the scope of protection of the claims attached to the present application.
Claims
1. A bone and joint image analysis method based on artificial neural network, characterized in that: The method comprises steps S11-S15: S11, scanning the bone joints of the target object to collect and generate bone joint images; S12, constructing a self-attention weight module, extracting features of the bone joint image, generating a reconstructed image corresponding to the bone joint image, and normalizing the residual between the bone joint image and the reconstructed image to obtain a self-attention weight; S13, using the self-attention weight to perform element-by-element multiplication on the bone and joint images to generate a self-attention enhanced feature map; S14, concatenating and fusing the bone joint image with the self-attention enhanced feature map to generate a fused feature map; S15, constructing an artificial neural network, extracting and analyzing the fused feature graph, performing osteoarthritis recognition, and generating recognition results.
2. The bone and joint image analysis method based on artificial neural network according to claim 1 is characterized in that: The self-attention weight module is constructed as follows: S121, constructing an autoencoder, performing multi-level feature extraction on the bone joint image, and reconstructing the image using the extracted multi-level feature map to generate a reconstructed image corresponding to the bone joint image; S122, constructing a residual calculation unit for comparing the bone joint image with the reconstructed image to generate a residual between the bone joint image and the reconstructed image; S123, construct a weight calculation unit, use the Softmax function to normalize the residual, and generate a self-attention weight between the bone joint image and the reconstructed image.
3. The bone and joint image analysis method based on artificial neural network according to claim 1 or 2, characterized in that: The construction of the artificial neural network specifically includes steps S151-S157: S151, constructing a preset number of convolution channels, performing convolution operations on the fused feature maps respectively, and generating multiple convolution feature maps; S152, performing an average pooling operation on the fused feature map along the height direction and the width direction respectively, to generate a one-dimensional height pooling feature map and a one-dimensional width pooling feature map; S153, in the channel direction, perform additive fusion on the one-dimensional height pooling feature map and the one-dimensional width pooling feature map to generate a two-dimensional feature map; S154, performing two consecutive convolution operations on the two-dimensional feature map to compress the number of channels and generate a compressed feature map; S155, using a Softmax function to normalize the compressed feature map, generating multiple convolution channel weights corresponding to the multiple parallel convolution channels; S156, using multiple convolution channel weights to perform element-by-element multiplication with the convolution feature maps output by the corresponding convolution channels, to generate multiple channel feature maps, and using an addition module to perform addition fusion on the multiple channel feature maps to generate a bone joint feature map; S157, inputting the bone joint feature map into the classification module to perform osteoarthritis recognition and generate a recognition result.
4. The bone and joint image analysis method based on artificial neural network according to claim 1 or 2, characterized in that: The construction of the artificial neural network specifically includes steps S151-S157: S151, constructing a preset number of convolution channels, performing convolution operations on the fused feature maps respectively, and generating multiple convolution feature maps; S152, performing an average pooling operation on the fused feature map along the height direction and the width direction respectively, to generate a one-dimensional height pooling feature map and a one-dimensional width pooling feature map; S153, in the channel direction, perform additive fusion on the one-dimensional height pooling feature map and the one-dimensional width pooling feature map to generate a two-dimensional feature map; S154, performing two consecutive convolution operations on the two-dimensional feature map to compress the number of channels and generate a compressed feature map; S155, using a Softmax function to normalize the compressed feature map, generating multiple convolution channel weights corresponding to the multiple parallel convolution channels; S156, using multiple convolution channel weights to perform element-by-element multiplication with the convolution feature maps output by the corresponding convolution channels, to generate multiple channel feature maps, and using an addition module to perform addition fusion on the multiple channel feature maps to generate a bone joint feature map; S158, performing additive fusion on the multi-level feature map extracted from the autoencoder and the bone and joint feature map to generate a bone and joint composite feature map; S159, inputting the bone-joint composite feature map into the classification module to perform osteoarthritis recognition and generate recognition results.
5. The bone and joint image analysis method based on artificial neural network according to claim 4 is characterized in that: The classification module consists of a fully connected layer and a classification layer.
6. A bone and joint image analysis system based on artificial neural network, characterized in that: include: An image acquisition module scans the bone joints of the target object and acquires bone joint images; The self-attention weight module extracts features from the bone and joint images, generates a reconstructed image corresponding to the bone and joint images, and normalizes the residual between the bone and joint images and the reconstructed images to obtain the self-attention weight. The self-attention enhanced feature map construction module uses the self-attention weights to perform element-wise multiplication of the bone and joint images to generate a self-attention enhanced feature map; The fusion feature map construction module concatenates and fuses the bone joint image with the self-attention enhanced feature map to generate a fusion feature map; Artificial neural network,extracts and analyzes the fused feature map, performs osteoarthritis recognition, and generates recognition results.
7. The bone and joint image analysis system based on artificial neural network according to claim 6 is characterized in that: The self-attention weight module includes: The autoencoder extracts multi-level features of the bone and joint images, and reconstructs the images using the extracted multi-level feature maps to generate reconstructed images corresponding to the bone and joint images; A residual calculation unit, used for comparing the bone joint image with the reconstructed image, and generating a residual between the bone joint image and the reconstructed image; The weight calculation unit uses the Softmax function to normalize the residual and generate the self-attention weight between the bone and joint image and the reconstructed image.
8. The bone and joint image analysis system based on artificial neural network according to claim 6 or 7, characterized in that: The artificial neural network specifically comprises: A preset number of convolution channels are used to perform convolution operations on the fused feature maps respectively to generate multiple convolution feature maps; The pooling feature map generation module performs average pooling operations on the fused feature map along the height direction and the width direction respectively to generate a one-dimensional height pooling feature map and a one-dimensional width pooling feature map; The two-dimensional feature map generation module generates a two-dimensional feature map by adding and fusing the one-dimensional height pooling feature map and the one-dimensional width pooling feature map in the channel direction; The compression channel module performs two consecutive convolution operations on the two-dimensional feature map to compress the number of channels and generate a compressed feature map; The convolution channel weight generation module uses the Softmax function to normalize the compressed feature map and generate multiple convolution channel weights corresponding to multiple parallel convolution channels; The bone and joint feature map generation module uses multiple convolution channel weights to perform element-by-element multiplication with the convolution feature maps output by the corresponding convolution channels to generate multiple channel feature maps, and uses the addition module to perform addition fusion on the multiple channel feature maps to generate the bone and joint feature map; The classification module inputs the bone and joint feature map into the classification module to perform osteoarthritis recognition and generate recognition results.
9. The bone and joint image analysis system based on artificial neural network according to claim 6 or 7, characterized in that: The artificial neural network comprises: A preset number of convolution channels are used to perform convolution operations on the fused feature maps respectively to generate multiple convolution feature maps; The pooling feature map generation module performs average pooling operations on the fused feature map along the height direction and the width direction respectively to generate a one-dimensional height pooling feature map and a one-dimensional width pooling feature map; The two-dimensional feature map generation module generates a two-dimensional feature map by adding and fusing the one-dimensional height pooling feature map and the one-dimensional width pooling feature map in the channel direction; The compression channel module performs two consecutive convolution operations on the two-dimensional feature map to compress the number of channels and generate a compressed feature map; The convolution channel weight generation module uses the Softmax function to normalize the compressed feature map and generate multiple convolution channel weights corresponding to multiple parallel convolution channels; The bone and joint feature map generation module uses multiple convolution channel weights to perform element-by-element multiplication with the convolution feature maps output by the corresponding convolution channels to generate multiple channel feature maps, and uses the addition module to perform addition fusion on the multiple channel feature maps to generate the bone and joint feature map; The bone-joint composite feature map generation module performs additive fusion of the multi-level feature map extracted from the autoencoder with the bone-joint feature map to generate a bone-joint composite feature map; The classification module inputs the bone-joint composite feature map into the classification module to perform osteoarthritis recognition and generate recognition results.
10. The bone and joint image analysis system based on artificial neural network according to claim 9, characterized in that: The classification module consists of a fully connected layer and a classification layer.
Citation Information
Patent Citations
Cigarette appearance image recognition method and device and medium
CN117830635A
Facial expression recognition method and system combined with attention mechanism
US20230298382A1
