Brain age prediction method and device based on region segmentation

By acquiring and processing the feature vectors of diffusion tensor images, using pre-trained models to achieve accurate prediction of brain age, solving the problem of low accuracy in prediction of brain aging in the prior art, and improving the diagnostic efficiency of primary medical care.

CN118967707AActive Publication Date: 2024-11-15BEIJING FRIENDSHIP HOSPITAL CAPITAL MEDICAL UNIV +1
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202410638598.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-22
Publication Date
2024-11-15
Estimated Expiration
2044-05-22

AI Technical Summary

Technical Problem

The existing brain age prediction method based on region segmentation has low accuracy in the prediction of brain aging degree and cannot effectively capture the relationship between brain imaging characteristics and brain age, especially in the absence of specialist doctors in primary medical institutions. , a method that can quickly and accurately predict brain age is needed to identify degenerative diseases of the central nervous system.

Method used

By obtaining the diffusion tensor image of the target measurer, multiple diffusion index data of its voxels are determined, diffusion index images are generated, and processed according to the brain fiber bundle template to obtain the feature vectors of each brain region. These feature vectors are processed using pre-trained brain age prediction models to achieve accurate prediction of brain age.

Benefits of technology

It improves the accuracy of brain age prediction, can describe the brain white matter information in each brain area more accurately, assists doctors in completing brain aging examinations, and reduces the diagnostic pressure of primary medical care.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118967707A_ABST
    Figure CN118967707A_ABST
Patent Text Reader

Abstract

The invention discloses a brain age prediction method and device based on region segmentation, and the method comprises the steps: obtaining a to-be-processed diffusion tensor image corresponding to a target measurer, determining a plurality of pieces of diffusion index data corresponding to each voxel in the to-be-processed diffusion tensor image, and generating a plurality of diffusion index images according to the plurality of pieces of diffusion index data; according to the brain fiber bundle template, processing the plurality of diffusion index images to obtain a first feature vector corresponding to each brain region, the feature vectors being used for describing image features corresponding to each brain region; and processing the first feature vector corresponding to each brain region by using a pre-trained brain age prediction model to obtain a brain age prediction result corresponding to the target measurer. Through the brain age prediction model and the fusion of the image feature information of each brain region in the plurality of diffusion index images, the white matter information of each brain region is accurately obtained, the brain age is accurately predicted according to the white matter information of each brain region, and the accuracy of the brain age prediction result is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of computer technology, and in particular relates to a brain age prediction method and device based on region segmentation. Background Art

[0002] Aging is a series of changes in the human body represented by the decline of physiological functions and reduced metabolism that occur with the passage of time, including comprehensive changes in many aspects such as behavior, organs, tissues and cellular molecular levels. Among them, brain aging is a particularly important key link. Brain aging is often difficult to reverse, and some people may even develop central nervous system degenerative diseases. There is a large patient base, and the trend of younger patients is becoming increasingly obvious. Severe central nervous system degenerative diseases will affect the ability and quality of life.

[0003] However, primary medical institutions have a huge patient base and a lack of specialist doctors. Therefore, there is an urgent need for a method that can accurately predict brain age, so as to quickly identify the degree of brain aging and degenerative diseases of the central nervous system based on the brain age prediction results, in order to alleviate the contradiction between supply and demand in primary medical care. Summary of the invention

[0004] In view of this, the present invention provides a method and device for predicting brain age based on region segmentation, which solves or partially solves the above-mentioned technical problems.

[0005] In a first aspect, an embodiment of the present invention provides a method for predicting brain age based on region segmentation, the method comprising:

[0006] Obtaining a diffusion tensor image to be processed corresponding to the target measurement person;

[0007] Determining a plurality of diffusion index data corresponding to each voxel in the diffusion tensor image to be processed, and generating a plurality of diffusion index images according to the plurality of diffusion index data;

[0008] Processing the plurality of diffusion index images according to the brain fiber bundle template to obtain a first feature vector corresponding to each brain region, wherein the feature vector is used to describe the image features corresponding to each brain region;

[0009] The first eigenvectors corresponding to the various brain regions are processed using a pre-trained brain age prediction model to obtain a brain age prediction result corresponding to the target person being measured.

[0010] In a second aspect, an embodiment of the present invention provides a brain age prediction device, the device comprising:

[0011] An acquisition module, used for acquiring a diffusion tensor image to be processed corresponding to a target measurement object;

[0012] A determination module, configured to determine a plurality of diffusion index data corresponding to each voxel in the diffusion tensor image to be processed, and generate a plurality of diffusion index images according to the plurality of diffusion index data;

[0013] A first processing module, used for processing the plurality of diffusion index images according to the brain fiber bundle template to obtain a first feature vector corresponding to each brain region, wherein the feature vector is used for describing the image features corresponding to each brain region;

[0014] The second processing module is used to process the first eigenvectors corresponding to the various brain regions using a pre-trained brain age prediction model to obtain a brain age prediction result corresponding to the target measurement subject.

[0015] In a third aspect, an embodiment of the present invention provides an electronic device, including: a memory and a processor; wherein:

[0016] Memory, used to store programs;

[0017] A processor, coupled to the memory, is configured to execute a program stored in the memory to:

[0018] Obtaining a diffusion tensor image to be processed corresponding to the target measurement person;

[0019] Determining a plurality of diffusion index data corresponding to each voxel in the diffusion tensor image to be processed, and generating a plurality of diffusion index images according to the plurality of diffusion index data;

[0020] Processing the plurality of diffusion index images according to the brain fiber bundle template to obtain a first feature vector corresponding to each brain region, wherein the feature vector is used to describe the image features corresponding to each brain region;

[0021] The first eigenvectors corresponding to the various brain regions are processed using a pre-trained brain age prediction model to obtain a brain age prediction result corresponding to the target person being measured.

[0022] In a fourth aspect, an embodiment of the present invention provides a computer storage medium for storing a computer program, wherein the computer program enables a computer to implement the following method when executed:

[0023] Obtaining a diffusion tensor image to be processed corresponding to the target measurement person;

[0024] Determining a plurality of diffusion index data corresponding to each voxel in the diffusion tensor image to be processed, and generating a plurality of diffusion index images according to the plurality of diffusion index data;

[0025] Processing the plurality of diffusion index images according to the brain fiber bundle template to obtain a first feature vector corresponding to each brain region, wherein the feature vector is used to describe the image features corresponding to each brain region;

[0026] The first eigenvectors corresponding to the various brain regions are processed using a pre-trained brain age prediction model to obtain a brain age prediction result corresponding to the target person being measured.

[0027] In the brain age prediction scheme provided by the embodiment of the present invention, when predicting brain age, first, a diffusion tensor image to be processed is obtained, and then the diffusion index data corresponding to each voxel in the diffusion tensor image to be processed is determined, and multiple diffusion index images are generated based on the multiple diffusion index data. Next, the multiple diffusion index images are processed according to the brain fiber bundle template to obtain the first eigenvectors corresponding to each brain region, and the eigenvectors are used to describe the image features corresponding to each brain region. Finally, the first eigenvectors corresponding to each brain region are processed using a pre-trained brain age prediction model to obtain a brain age prediction result corresponding to the diffusion tensor image to be processed.

[0028] In a fifth aspect, an embodiment of the present invention provides a method for training a brain age prediction model, the method comprising:

[0029] Collecting training samples, wherein the training samples include diffusion tensor images corresponding to a plurality of measurers;

[0030] Determining a plurality of diffusion index data corresponding to each voxel in the diffusion tensor image, and generating a plurality of diffusion index image samples according to the plurality of diffusion index data;

[0031] determining a reference brain age corresponding to the plurality of diffusion index image samples;

[0032] According to the brain fiber bundle template, the plurality of diffusion index image samples are processed to obtain feature vectors corresponding to each brain region, where the feature vectors are used to describe image features corresponding to each brain region;

[0033] Processing the first eigenvectors corresponding to the respective brain regions through a brain age prediction model to obtain a brain age prediction result;

[0034] The brain age prediction model is trained according to the reference brain age and the brain age prediction result.

[0035] In a sixth aspect, an embodiment of the present invention provides a brain age prediction model training device, the device comprising:

[0036] An acquisition module, used for acquiring training samples, wherein the training samples include diffusion tensor images corresponding to a plurality of measurers;

[0037] A generating module, used for determining a plurality of diffusion index data corresponding to each voxel in the diffusion tensor image, and generating a plurality of diffusion index image samples according to the plurality of diffusion index data;

[0038] A determination module, used to determine a reference brain age corresponding to the plurality of diffusion index image samples;

[0039] A first processing module is used to process the plurality of diffusion index image samples according to the brain fiber bundle template to obtain a feature vector corresponding to each brain region, wherein the feature vector is used to describe the image feature corresponding to each brain region;

[0040] A second processing module is used to process the first eigenvectors corresponding to the respective brain regions through a brain age prediction model to obtain a brain age prediction result;

[0041] A training module is used to train the brain age prediction model according to the reference brain age and the brain age prediction result.

[0042] In a seventh aspect, an embodiment of the present invention provides an electronic device, including: a memory and a processor; wherein:

[0043] Memory, used to store programs;

[0044] A processor, coupled to the memory, is configured to execute a program stored in the memory to:

[0045] Collecting training samples, wherein the training samples include diffusion tensor images corresponding to a plurality of measurers;

[0046] Determining a plurality of diffusion index data corresponding to each voxel in the diffusion tensor image, and generating a plurality of diffusion index image samples according to the plurality of diffusion index data;

[0047] determining a reference brain age corresponding to the plurality of diffusion index image samples;

[0048] According to the brain fiber bundle template, the plurality of diffusion index image samples are processed to obtain feature vectors corresponding to each brain region, where the feature vectors are used to describe image features corresponding to each brain region;

[0049] Processing the first eigenvectors corresponding to the respective brain regions through a brain age prediction model to obtain a brain age prediction result;

[0050] The brain age prediction model is trained according to the reference brain age and the brain age prediction result.

[0051] In an eighth aspect, an embodiment of the present invention provides a computer storage medium for storing a computer program, wherein the computer program enables a computer to implement the following method when executed:

[0052] Collecting training samples, wherein the training samples include diffusion tensor images corresponding to a plurality of measurers;

[0053] Determining a plurality of diffusion index data corresponding to each voxel in the diffusion tensor image, and generating a plurality of diffusion index image samples according to the plurality of diffusion index data;

[0054] determining a reference brain age corresponding to the plurality of diffusion index image samples;

[0055] According to the brain fiber bundle template, the plurality of diffusion index image samples are processed to obtain feature vectors corresponding to each brain region, where the feature vectors are used to describe image features corresponding to each brain region;

[0056] Processing the first eigenvectors corresponding to the respective brain regions through a brain age prediction model to obtain a brain age prediction result;

[0057] The brain age prediction model is trained according to the reference brain age and the brain age prediction result.

[0058] In the brain age prediction scheme provided by the embodiment of the present invention, when predicting brain age, first, a diffusion tensor image to be processed is obtained, and then the diffusion index data corresponding to each voxel in the diffusion tensor image to be processed is determined, and multiple diffusion index images are generated based on the multiple diffusion index data. Next, the multiple diffusion index images are processed according to the brain fiber bundle template to obtain the first eigenvectors corresponding to each brain region, and the eigenvectors are used to describe the image features corresponding to each brain region. Finally, the first eigenvectors corresponding to each brain region are processed using a pre-trained brain age prediction model to obtain a brain age prediction result corresponding to the diffusion tensor image to be processed.

[0059] In the above scheme, the brain fiber bundle template is used to segment the multiple diffusion index images corresponding to the diffusion tensor image to be processed to obtain the image features corresponding to each brain region, which can accurately describe the white matter information corresponding to each brain region, and the pre-trained brain age prediction model is used to process the image features corresponding to each brain region to obtain the brain age prediction results corresponding to the diffusion tensor image to be processed, that is, the brain age prediction is realized. In addition, the brain age prediction model also integrates more image feature information corresponding to each brain region in the multiple diffusion index images to more accurately obtain the white matter information corresponding to each brain region, and accurately predicts the brain age based on the white matter information corresponding to each brain region, thereby improving the accuracy of the brain age prediction results and assisting doctors in completing brain aging examinations. BRIEF DESCRIPTION OF THE DRAWINGS

[0060] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following is a brief introduction to the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0061] Figure 1 A schematic flow chart of a method for predicting brain age based on regional segmentation provided by an embodiment of the present invention;

[0062] Figure 2 A schematic diagram of a process for obtaining a brain age prediction result corresponding to a target measurement subject by using a brain age prediction model provided by an embodiment of the present invention;

[0063] Figure 3 A flowchart of a brain age prediction model training method provided by an embodiment of the present invention;

[0064] Figure 4 A schematic diagram of a Transformer encoder structure provided by an embodiment of the present invention;

[0065] Figure 5 A schematic diagram of the structure of a brain age prediction device provided by an embodiment of the present invention;

[0066] Figure 6 The embodiment of the present invention provides Figure 5 A schematic diagram of the structure of the corresponding electronic equipment;

[0067] Figure 7 A schematic diagram of the structure of a brain age prediction model training device provided by an embodiment of the present invention;

[0068] Figure 8 The embodiment of the present invention provides Figure 7 Schematic diagram of the structure of the corresponding electronic equipment. DETAILED DESCRIPTION

[0069] Before introducing the technical solutions provided by the embodiments of the present invention, a brief introduction to the special terms involved in this document is first given.

[0070] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0071] The terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. The singular forms "a", "said" and "the" used in the embodiments of the present invention 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.

[0072] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0073] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a product or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such a product or system. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the product or system including the elements.

[0074] First of all, it should be noted that the implementation background of the present invention is introduced. Aging has many effects on the human body, among which brain aging is a particularly important key link. As is well known, neurons in the brain are difficult to replicate and regenerate in large quantities, so brain damage is usually difficult to repair. Since aging often leads to permanent brain damage, memory and calculation ability often decline with age, and even central nervous system degenerative diseases may occur, which poses a huge threat to people's health.

[0075] Brain age can be used as a biomarker to quantitatively assess the degree of brain aging and provide a quantitative analysis basis for auxiliary diagnosis and progression assessment of neurological lesions. Brain Age Prediction (BAP) refers to predicting brain age by extracting biological features related to brain aging changes for analysis. On the one hand, brain age prediction can provide early warning for potential brain lesions. If the subject's predicted brain age is greater than his or her actual physiological age, it indicates that there may be lesions in the brain that accelerate brain aging. On the contrary, it reflects that the subject's brain may be retarded. This intuitive measurement indicator can enable researchers to have a deeper understanding of the connection mechanism between brain aging and brain lesions. On the other hand, brain age prediction has certain guiding significance for clinical diagnosis and treatment, and can be used to assess the risk level of brain diseases. In clinical practice, brain age prediction can assist doctors in finding the causes of abnormal brain lesions in patients and intervene in treatment in a timely manner.

[0076] Existing brain age prediction methods based on regional segmentation are mostly based on structural magnetic resonance imaging (MRI). The extracted morphological features are relatively limited and neural-related information cannot be obtained. The features commonly used for brain age prediction include: cerebral cortical surface area, cortical thickness, gray matter volume, white matter volume, etc. Based on brain MRI, algorithms for predicting brain age are generally divided into two categories: one is based on traditional machine learning methods, and the other is based on deep learning methods. The traditional machine learning brain age prediction process relies on complex processes such as tissue segmentation and feature selection. The prediction results are easily affected by human factors, and there are problems such as poor generalization of the model and low accuracy. Compared with traditional machine learning algorithms, deep learning can automatically and effectively capture the relationship between brain image features and brain age. However, since the structure of most convolutional neural networks is too traditional, the accuracy and efficiency of feature extraction need to be improved.

[0077] Therefore, in order to solve the above technical problems, the present invention proposes a new brain age prediction method based on regional segmentation, which processes the to-be-processed diffusion tensor image corresponding to the target measurement person to obtain multiple diffusion index images reflecting brain white matter information, and processes multiple diffusion index images according to the brain fiber bundle template to obtain feature vectors reflecting brain white matter information of each brain region, and uses a pre-trained brain age prediction model to process the feature vectors corresponding to each brain region to obtain the brain age prediction result corresponding to the target measurement person, that is, to accurately predict the brain age corresponding to the target measurement person based on the brain white matter information corresponding to each brain region. In addition, the local features and global features corresponding to each brain region can be better captured through the brain prediction model to more accurately determine the degree of brain aging of the target measurement person, and then predict the brain age corresponding to the target measurement person, thereby improving the accuracy of the brain age prediction result.

[0078] The execution subject of the technical solution provided in the embodiment of the present invention may be one device or multiple devices. The device may include, but is not limited to, a device integrated in any terminal device such as a smart phone, a tablet computer, a PDA (Personal Digital Assistant), a smart TV, a laptop computer, a desktop computer, a smart wearable device, a medical device, etc.

[0079] The specific implementation of the technical solution is introduced below in conjunction with specific embodiments.

[0080] Figure 1 A flowchart of a method for predicting brain age based on regional segmentation provided by an embodiment of the present invention. The method may include the following steps:

[0081] 101. Obtain a diffusion tensor image to be processed corresponding to the target measurer.

[0082] 102. Determine a plurality of diffusion index data corresponding to each voxel in the diffusion tensor image to be processed, and generate a plurality of diffusion index images according to the plurality of diffusion index data.

[0083] 103. According to the brain fiber bundle template, multiple diffusion index images are processed to obtain the first eigenvector corresponding to each brain region, and the eigenvector is used to describe the image features corresponding to each brain region.

[0084] 104. Using the pre-trained brain age prediction model, the first eigenvector corresponding to each brain region is processed to obtain the brain age prediction result corresponding to the target measurement subject.

[0085] Among them, brain aging is difficult to make a quantitative judgment. Usually, in order to describe a person's brain aging, it is often said that his brain volume is atrophied, white matter integrity is damaged, or functional activity is reduced. Studies have shown that aging changes in brain white matter precede changes in the structure of the cerebral cortex, and even for the aging process of the hippocampus, white matter damage in the hippocampus-cingulate gyrus can lead to hippocampal atrophy. Therefore, for brain aging, white matter may change more sensitively and earlier. Then, the white matter information of the target measurer can be used to more accurately predict the corresponding true age of the brain.

[0086] In practical applications, magnetic resonance technology is an important technical means for non-invasive evaluation of brain structure and function. Magnetic resonance diffusion tensor imaging (DTI) technology is an imaging and post-processing technology developed on the basis of DWI in recent years. It is the development and deepening of DWI. It is currently the only non-invasive examination method that can effectively observe and track brain white matter fiber bundles. In addition to clearly showing white matter fiber bundles, it can also evaluate brain development levels and brain cognitive functions, and reveal pathological changes in brain diseases. Therefore, in an embodiment of the present invention, when predicting the brain age of the target measurement subject, the diffusion tensor image (DTI image) of the target measurement subject is analyzed and processed to obtain the white matter information corresponding to the target measurement subject, and then based on the white matter information, the brain age corresponding to the target measurement subject is further predicted.

[0087] Specifically, firstly, a diffusion tensor image to be processed corresponding to the target measurement object is obtained, then a plurality of diffusion index data corresponding to each voxel in the diffusion tensor image to be processed is determined, and a plurality of diffusion index images are generated according to the plurality of diffusion index data.

[0088] In addition, in the specific implementation, the obtained diffusion tensor image to be processed usually has noise, and when collecting the diffusion tensor image of the target measurement person, problems such as head movement may occur. In order to ensure that more accurate prediction results can be obtained later, after obtaining the diffusion tensor image to be processed, the diffusion tensor image to be processed can be preprocessed, wherein the preprocessing includes scalp removal, head movement correction, noise reduction, etc. Then, the preprocessed diffusion tensor image is processed to generate a corresponding plurality of diffusion index images.

[0089] Specifically, the DTI model is fitted voxel by voxel according to the preprocessed diffusion tensor image, and then multiple diffusion index data of each voxel in the diffusion tensor image are calculated according to the fitted DTI model, and the diffusion images corresponding to multiple diffusion index parameters are obtained according to the multiple diffusion index data. The diffusion index data include mean diffusion coefficient (MD), axial diffusion coefficient (AD), radial diffusion coefficient (RD) and diffusion anisotropy (FA).

[0090] Among them, the diffusion tensor image includes a diffusion weighted image. In an optional embodiment, a plurality of diffusion index data corresponding to each voxel in the diffusion tensor image to be processed is determined, and a plurality of diffusion index images are generated according to the plurality of diffusion index data. The specific implementation method can be: determining the diffusion tensor according to the diffusion weighted image; determining the diffusion eigenvalue according to the diffusion tensor; determining the diffusion index data according to the diffusion eigenvalue; and generating the diffusion index image according to the diffusion index data.

[0091] After obtaining multiple diffusion index images corresponding to the target measurement person, the multiple diffusion index images are processed according to the brain fiber bundle template to obtain the first eigenvector corresponding to each brain region, and the eigenvector is used to describe the image features corresponding to each brain region. Among them, the brain fiber bundle template can be a unified brain white matter segmentation template, a brain white matter fiber bundle anatomical template, etc. In addition, different brain regions have different effects on brain aging. Therefore, when predicting brain age, in order to improve the accuracy of the prediction results, the diffusion index image is segmented to obtain each brain region contained in the diffusion index image, and then the image features corresponding to each brain region are determined respectively, and based on the image features corresponding to each brain region, the brain age result corresponding to the target measurement person is determined.

[0092] Specifically, according to the brain fiber bundle template, the target diffusion index image is segmented to obtain a segmented image corresponding to the target diffusion index image, the target diffusion index image is any one of the multiple diffusion index images, and the segmented image includes multiple brain regions; voxel extraction is performed on the multiple brain regions to obtain first sub-eigenvectors corresponding to the multiple brain regions in the target diffusion index image; the first sub-eigenvectors corresponding to the respective brain regions in the multiple diffusion index images are spliced ​​to obtain the first eigenvectors corresponding to the respective brain regions.

[0093] For example, according to the JHU-ICBM label atlas, the data of 48 brain regions such as the cerebellar pedicle and the bridge crossing in the AD, FA, MD and RD diffusion index images are extracted respectively to obtain the feature vectors corresponding to each brain region in multiple diffusion index images, and the four vectors extracted from the same brain region (the four vectors are obtained based on the AD, FA, MD and RD data respectively) are horizontally spliced ​​to obtain the image features corresponding to the target measurement. In other words, each brain region can have a feature vector, and the white matter information corresponding to each target measurement can be represented by 48 one-dimensional feature vectors of different lengths.

[0094] Among them, the voxels corresponding to the positions of each brain region marked in the brain white matter fiber bundle template can be taken out respectively, and the voxels corresponding to each brain region can be spliced ​​together to obtain a one-dimensional vector. According to the one-dimensional voxels, the feature vectors corresponding to each brain region are extracted from the AD, FA, MD, and RD images respectively, and then the four feature vectors corresponding to the same brain region are connected in the order of AD, FA, MD, and RD to synthesize a new one-dimensional vector. That is, the first feature vector corresponding to each brain region contains the four local diffusion index data corresponding to each brain region.

[0095] Finally, the first eigenvectors corresponding to each brain region are processed using the pre-trained brain age prediction model to obtain the brain age prediction results corresponding to the target measurement subject. Alternatively, the first eigenvectors corresponding to each brain region are concatenated first, and then the concatenated eigenvectors are input into the pre-trained brain age prediction model to obtain the brain age prediction results corresponding to the target measurement subject.

[0096] Among them, the brain age prediction model is trained to determine the brain age prediction result corresponding to the target measurer. The brain age prediction model can be a Transformer deep learning model, which can include at least one cascaded encoder and decoder, each encoder including a multi-head attention layer and a feedforward neural network layer.

[0097] In addition, for diffusion index images, each brain region has more image feature information. Therefore, when using a pre-trained brain age prediction model to process the first eigenvector representing the image features corresponding to each brain region, the image features can be first extracted to obtain the main feature information corresponding to each brain region, and then the brain prediction model can be used to process the main feature information corresponding to each brain region to obtain the brain age prediction result corresponding to the target measurer.

[0098] Optionally, using a pre-trained brain age prediction model, the first eigenvector corresponding to each brain region is processed to obtain a brain age prediction result corresponding to the target measurer. The specific implementation process may include: extracting features from the first eigenvector corresponding to each brain region to obtain a second eigenvector corresponding to each brain region; inputting the second eigenvector corresponding to each brain region into the pre-trained brain age prediction model to obtain a brain age prediction result corresponding to the target measurer.

[0099] Among them, the second eigenvector corresponding to each brain region can reflect the white matter information corresponding to each brain region from multiple aspects. In subsequent processing, the aging degree of each brain region can be determined according to the white matter information corresponding to each brain region, and then the brain age prediction result can be determined according to the aging degree of each brain region.

[0100] In addition, the image feature extraction network can be used to perform feature extraction processing on the first feature vectors corresponding to each brain region to obtain the second feature vectors corresponding to each brain region, so as to ensure the accuracy of the extracted feature information. In an optional embodiment, multiple image feature extraction networks are used to perform feature extraction processing on the first feature vectors corresponding to each brain region to obtain the depth features corresponding to each brain region. Specifically, the first feature vectors corresponding to each brain region are respectively input into the image feature extraction networks corresponding to each brain region to obtain the second feature vectors corresponding to each brain region.

[0101] That is to say, each brain region corresponds to a trained image feature extraction network. When performing feature extraction processing, the image feature extraction networks corresponding to multiple brain regions are used for feature extraction processing. For example, assuming that there are 48 corresponding brain regions, 48 ​​independent image feature extraction networks can be used for feature extraction processing. In this way, the extracted image feature information, i.e., the second feature vector, has richer information and more abstract high-order feature representation, which can better reflect the essence of the data. Among them, the second feature vector can include texture features, shape features, spatial features, etc. corresponding to each brain region.

[0102] Optionally, multiple independent fully connected networks can be used as image feature extraction networks corresponding to each brain region, and the image feature extraction network includes a linear layer, a Tanh activation function, and a dropout random inactivation layer. The input dimension of the linear layer is the length corresponding to each first eigenvector, and the output dimension is 1024. The calculation method of the activation function Tanh is: Where e is the base of the natural logarithm, and x is the first eigenvector. Finally, the second eigenvectors corresponding to the 48 brain regions extracted from the multiple first eigenvectors corresponding to the target measured person can be spliced ​​together to form a feature matrix of size (48,1024).

[0103] After obtaining the second eigenvectors corresponding to each brain region, the second eigenvectors corresponding to each brain region are input into a pre-trained brain age prediction model to obtain the brain age prediction result corresponding to the target measurement subject. Alternatively, the feature matrix obtained by splicing multiple second eigenvectors is input into the brain age prediction model to obtain the brain age prediction result corresponding to the target measurement subject. The specific implementation method can be set according to actual needs, and this embodiment does not limit this.

[0104] The second eigenvector corresponding to each brain region is analyzed and processed through the brain age prediction model to determine the aging degree corresponding to each brain region, and then the brain age prediction result corresponding to the target measurement subject is determined according to the aging degree. That is, the brain age prediction model learns the mapping relationship between different eigenvector data and the aging degree of white matter, and the aging degree of white matter and the preset brain age. In this way, when using the pre-trained brain age prediction model to predict brain age, the brain age corresponding to the target measurement subject can be determined more accurately.

[0105] In summary, in the brain age prediction scheme provided by the embodiment of the present invention, the brain fiber bundle template is used to segment the multiple diffusion index images corresponding to the diffusion tensor image to be processed to obtain the image features corresponding to each brain region, and the image features can accurately describe the white matter information corresponding to each brain region, and the pre-trained brain age prediction model is used to process the image features corresponding to each brain region to obtain the brain age prediction result corresponding to the diffusion tensor image to be processed, that is, the brain age prediction is realized. In addition, more image feature information corresponding to each brain region in the multiple diffusion index images can be integrated through the brain prediction model to more accurately obtain the white matter information corresponding to each brain region, and accurately predict the brain age based on the white matter information corresponding to each brain region, thereby improving the accuracy of the brain age prediction results and assisting doctors in completing brain aging examinations.

[0106] The above embodiment introduces the specific implementation process of predicting the brain age of the target person being measured. In order to facilitate understanding of the specific implementation process of analyzing and processing the second eigenvector corresponding to each brain region using the pre-trained brain age prediction model in the above embodiment, the processing process of the brain age prediction model is exemplified in combination with the following embodiment.

[0107] Figure 2 A flowchart of using a brain age prediction model to obtain a brain age prediction result corresponding to a target measurement subject is provided in an embodiment of the present invention; based on the above embodiment, continue to refer to the attached Figure 2 As shown, this embodiment provides an implementation method for using a pre-trained brain age prediction model to analyze and process the second eigenvectors corresponding to each brain region to obtain a brain age prediction result corresponding to a target measurement subject. Specifically, the method may include the following steps:

[0108] 201. Perform concatenation processing on the second eigenvectors corresponding to the respective brain regions to obtain a concatenated first eigenmatrix.

[0109] 202. Perform position encoding processing on the first feature matrix to obtain a second feature matrix, where the second feature matrix is ​​used to describe brain region position information corresponding to each feature vector.

[0110] 203. Input the second feature matrix into the brain age prediction model to obtain a brain age prediction result.

[0111] In order to enable the brain age prediction model to better distinguish the eigenvectors (second eigenvectors) of different brain regions and help the brain age prediction model to perform differential processing on the second eigenvectors corresponding to each brain region, each second eigenvector can be subjected to brain region coding processing. Specifically, the second eigenvectors corresponding to each brain region are spliced ​​to obtain a spliced ​​first eigenmatrix, and the first eigenmatrix is ​​position-coded to obtain a second eigenmatrix, which is used to describe the brain region position information corresponding to each eigenvector.

[0112] Among them, the spatial position information corresponding to each brain region can be obtained, the spatial position information can be encoded to obtain a position vector, and then processed with the first feature matrix, and the position information corresponding to each brain region can be added to each second feature vector in the first feature matrix, so that each second feature vector carries not only the depth features corresponding to each brain region but also the position information corresponding to each brain region.

[0113] In addition, in order to more accurately predict the brain age corresponding to each target measurement, in the specific implementation, each diffusion index image obtained can be divided into 48 brain regions to more accurately obtain the white matter information corresponding to each region in the image, so as to improve the accuracy of the brain age prediction result. Then, when the second eigenvectors corresponding to each of the 48 brain regions are positionally encoded, in order to facilitate the encoding of each brain region and avoid encoding errors, the second eigenvectors corresponding to the 48 brain regions can be spliced ​​together in a certain order to obtain the spliced ​​first eigenmatrix, and then the first eigenmatrix is ​​positionally encoded so that the second eigenvectors corresponding to each brain region carry the corresponding position information, which helps the brain prediction model to better understand the position of each brain region, perform differential processing on the second eigenvectors of each brain region, and obtain the dependency between each brain region, so that the dependency between each brain region can be better combined in subsequent processing to determine the brain age prediction result corresponding to each target measurement.

[0114] From the above description, it can be seen that the second eigenvector contains the local diffusion index data corresponding to each brain region, that is, the second eigenvector is used to describe the eigenvector of the information of each brain region. Therefore, in order to better integrate the information of each brain region, before using the brain prediction model to analyze and process the second eigenvector, it is also possible to first obtain the eigenvector describing the overall information of the whole brain, and then analyze and process the second eigenvector of the information of each brain region and the eigenvector describing the overall information of the whole brain to obtain the brain age prediction result corresponding to the target measurer. The brain age prediction result obtained in this way is more accurate and can more realistically feedback the actual brain age status of the current target measurer.

[0115] Specifically, in an optional embodiment, the implementation method of performing position encoding processing on the first feature matrix to obtain the second feature matrix may include: inputting the first feature matrix into a global information extraction encoder to obtain a third feature vector corresponding to the whole brain, and the third feature vector is used to characterize the overall information of the whole brain; concatenating the first feature matrix and the third feature vector to obtain a third feature matrix; and inputting the third feature matrix into a position encoder to obtain a second feature matrix.

[0116] Among them, the global information extraction encoder is trained to extract the overall information of the whole brain. The global information extraction encoder includes an attention layer and a feedforward neural network layer. The second eigenvectors of each brain region (the deep feature information of each brain region) are fused through the attention layer to obtain the third eigenvector used to describe the overall information of the whole brain.

[0117] After obtaining the third eigenvector corresponding to the whole brain, the third eigenvector can be spliced ​​with the first eigenmatrix to obtain the third eigenmatrix. The third eigenvector is a eigenvector with the same length as the second eigenvector, and a new row can be directly added to the end of the first eigenmatrix, and the third eigenvector can be spliced ​​into the newly added row of the first eigenmatrix to obtain the spliced ​​third eigenvector.

[0118] For example, assuming that the length of each second eigenvector is 1024, the length of the third eigenvector is 1024, the diffusion index image is segmented into 48 brain regions, and the first eigenmatrix is ​​a eigenmatrix with a shape of (48, 1024). A third eigenvector with a length of 1024 is concatenated to the first eigenmatrix to obtain a third eigenmatrix with a shape of (49, 1024).

[0119] Next, the third feature matrix is ​​input into the position encoder to obtain the second feature matrix. The third feature matrix can be position-encoded by the position encoder to obtain the second feature matrix carrying the position information. The position encoder is trained to perform position encoding on each feature vector in the feature matrix to embed the encoding information of each brain region into the feature vector corresponding to each brain region, so that when the brain age prediction model is used for analysis and processing, each brain region can be differentially analyzed in a targeted manner, and the dependency relationship between each brain region can be better captured.

[0120] The position encoder can be implemented by a three-layer fully connected neural network, and the position encoder includes an input layer, a hidden layer, and an output layer. The position encoder is used to encode each row in the third feature matrix to obtain an encoded second feature matrix.

[0121] In an optional embodiment, the specific implementation process of inputting the third characteristic matrix into the position encoder to obtain the second characteristic matrix can be: obtaining the encoding matrix corresponding to the third characteristic matrix, splicing the third characteristic matrix and the encoding matrix to obtain the spliced ​​matrix, and using the position encoder to encode each row of the spliced ​​matrix to obtain the encoded second characteristic matrix. The encoding matrix contains the position information corresponding to each brain region and the position information corresponding to the overall information of the whole brain.

[0122] Continuing with the above example, the third feature matrix is ​​a feature matrix with a shape of (49, 1024), and the encoding matrix is ​​a coding matrix with a shape of (49, 1024). The third feature matrix and the encoding matrix are concatenated to obtain a concatenated matrix with a shape of (49, 2048), and then a position encoder or encoding layer is used to encode each row of the concatenated matrix, and the position information in the encoding matrix is ​​embedded into each eigenvector in the third feature matrix to obtain an encoded second feature matrix with a shape of (49, 1024). The encoding feature matrix obtained in this way not only contains the layout diffusion index data corresponding to each brain region (the second eigenvector corresponding to each brain region) and the global diffusion index data (the third eigenvector corresponding to the whole brain), but also contains the spatial position information corresponding to each diffusion index data.

[0123] From the above description, it can be seen that by embedding the position coding information of each brain region into the second eigenvector of each brain region, the spatial position information can be fused into each second eigenvector, so that when the second eigenvector of each brain region interacts with the second eigenvectors of other brain regions in the self-attention layer in the brain prediction model, the dependency between different brain regions can be captured. This helps the brain age prediction model to capture local features within the brain region while paying attention to the structure of the whole brain at the overall level, thereby improving the regression performance.

[0124] After obtaining the encoded second feature matrix, the second feature matrix is ​​input into the brain age prediction model to obtain the brain age prediction result. The second feature matrix is ​​analyzed and processed using the brain age prediction model to obtain the brain age prediction result.

[0125] In an optional embodiment, the brain age prediction model includes a feature fusion encoder and a decoder; the second feature matrix is ​​input into the brain age prediction model, and the specific implementation method of obtaining the brain age prediction result may include: inputting the second feature matrix into the feature fusion encoder to obtain the fused target feature vector; inputting the target feature vector into the decoder to obtain the brain age prediction result corresponding to the target feature vector. Among them, the feature fusion encoder includes at least one cascaded encoder, and each encoder includes an attention layer and a feedforward neural network layer.

[0126] After the second feature matrix passes through the multi-layer encoder, the feature vectors corresponding to each brain region in the second feature matrix can be feature fused to calculate the correlation between the brain regions, so as to obtain the target feature vector for characterizing all image information corresponding to the entire diffusion tensor image to be processed.

[0127] Finally, the target feature vector is input into the decoder of the brain age prediction model to obtain the brain age prediction result corresponding to the target feature vector. The decoder is used to determine the brain age prediction result corresponding to the target feature vector. The decoder includes an attention layer and a feedforward neural network layer.

[0128] In an optional embodiment, a specific implementation method of inputting the target feature vector into a decoder to obtain a brain age prediction result corresponding to the target feature vector may include: obtaining the real age of the target measurer; determining reference feature vectors corresponding to multiple brain regions corresponding to the real age, the reference feature vectors being used to characterize the aging degree of each brain region corresponding to multiple measurers of age; splicing the reference feature vectors corresponding to multiple brain regions to obtain a spliced ​​fourth feature matrix; splicing the fourth feature matrix and the target feature vector to obtain a spliced ​​fifth feature matrix; and inputting the fifth feature matrix into the decoder to obtain a brain age prediction result.

[0129] Among them, the target feature vector is mainly used to characterize the feature information of each brain region corresponding to the target measurer as an individual and the feature information of the whole brain at the overall level. In order to obtain more accurate brain age prediction results, when making brain age predictions, it is also possible to combine the group level information corresponding to each brain region of multiple measurers of the same age as the target measurer, and use the reference feature vectors of multiple brain regions corresponding to multiple measurers as reference standards to further determine the brain age prediction results corresponding to the target measurer.

[0130] In addition, in order to more intuitively know the degree of white matter aging in each brain region corresponding to the target measurement subject, the pre-trained brain prediction model can not only output the brain age prediction results, but also output the brain structure corresponding to the degree of white matter aging in each brain region. Based on the output brain structure, the corresponding degree of aging of each brain region can be determined intuitively.

[0131] In an embodiment of the present invention, position encoding processing is performed on the first feature matrix corresponding to the second feature vector corresponding to each brain region to obtain a second feature matrix for describing the brain region position information corresponding to each feature vector. When the second feature matrix containing the position information corresponding to each brain region is analyzed and processed by the brain age prediction model, the feature vectors of different brain regions can be distinguished, which helps the brain age prediction model to perform differential processing on the feature vectors of each brain region. When the feature vector of each brain region interacts with the feature vectors of other brain regions, the correlation between different brain regions can be captured, so that the brain age prediction model not only pays attention to the local characteristics of each brain region, but also manages the global characteristics at the overall level of the whole brain, so that the brain age prediction result is more accurate and can more truly reflect the corresponding brain age of the target measurer.

[0132] After introducing the network models that may be used in the present invention and their usage, in order to facilitate understanding of the working principles of the above-mentioned network models, the specific process of training the brain age prediction model is exemplified below.

[0133] Figure 3 A flowchart of a brain age prediction model training method provided by an embodiment of the present invention. Specifically comprising the following steps:

[0134] 301. Collect training samples, where the training samples include diffusion tensor images corresponding to multiple measurers.

[0135] 302. Determine a plurality of diffusion index data corresponding to each voxel in the diffusion tensor image, and generate a plurality of diffusion index image samples according to the plurality of diffusion index data.

[0136] 303. Determine a reference brain age corresponding to a plurality of diffusion index image samples.

[0137] 304. According to the brain fiber bundle template, multiple diffusion index image samples are processed to obtain feature vectors corresponding to each brain region, and the feature vectors are used to describe image features corresponding to each brain region.

[0138] 305. Through the brain age prediction model, the feature vectors corresponding to each brain region are processed to obtain the brain age prediction result.

[0139] 306. Train a brain age prediction model based on the reference brain age and brain age prediction results.

[0140] In the right Figure 1When the brain age prediction model used in the illustrated embodiment is trained, a large number of training samples are first collected. The training samples include diffusion tensor images corresponding to multiple measurers. In order to avoid the difference in imaging quality of different scanning devices and the difference in data preprocessing steps affecting the prediction results of the brain age prediction model, starting from the DICOM data corresponding to the acquired diffusion tensor image, a set of standardized data processing procedures are used to preprocess the diffusion tensor image samples used for modeling and testing.

[0141] Specifically, multiple DICOM files acquired in the same acquisition are merged and converted into .nii format. The converted files include a .nii file containing image data and head information, a .bval file containing b-value information used for acquired images, a .bvec file containing gradient directions used for acquired images, and a .json file containing acquisition-related metadata. The voxel size of the image data in the .nii file is resampled to 1mm×1mm×1mm. Taking the image with b-value of 0 as the standard, all the resampled diffusion tensor images are corrected for head motion to obtain the diffusion tensor image after head motion removal. The image data with b-value of 0 is segmented into head and background parts according to the maximum inter-class contrast method based on the median value, and the segmentation parameters are all set to the default values. The final result of this step is the head mask of the diffusion tensor image with b-value of 0, which will be used as the head mask of all diffusion tensor images after head motion removal. According to the Probabilistic Identification and Estimation of Noise (PIESNO) method, combined with the number of coils used in the scan, the noise of the diffusion tensor image data after head motion removal is estimated to obtain the sigma value of the noise. Based on the sigma value obtained in the noise estimation and the head mask obtained by head segmentation, the head area is subjected to noise reduction processing to obtain the denoised diffusion tensor image.

[0142] Then, a plurality of diffusion index data corresponding to each voxel in the diffusion tensor image corresponding to each of the plurality of measurers are determined, and based on the diffusion index data, a plurality of diffusion index image samples corresponding to each of the plurality of measurers are generated, and a reference brain age corresponding to the plurality of diffusion index image samples is determined.

[0143] Specifically, the DTI model is fitted voxel by voxel according to the denoised diffusion tensor image, and then the mean diffusion coefficient (MD), axial diffusion coefficient (AD), radial diffusion coefficient (RD) and diffusion anisotropy (FA) of each voxel are calculated according to the fitted DTI model, and based on the diffusion index data, the diffusion index image samples corresponding to the four diffusion index data are obtained.

[0144] Next, multiple diffusion index image samples are processed according to the brain fiber bundle template to obtain feature vectors corresponding to each brain region. The feature vectors are used to describe the image features corresponding to each brain region.

[0145] Specifically, in an optional embodiment, for each sample, according to the JHU-ICBM label atlas, data of 48 brain regions such as cerebellar pedicles, pons and chiasma are extracted from the acquired AD, FA, MD and RD diffusion index image samples, and four vectors extracted from the same brain region (the four vectors are obtained based on AD, FA, MD and RD data) are horizontally spliced ​​(connected in sequence in the order of AD, FA, MD, RD to synthesize a new one-dimensional vector), then each brain region can be represented by a vector, each sample can be represented by 48 one-dimensional vectors of different lengths, and the 48 one-dimensional vector representations of different lengths are determined as feature vectors corresponding to each of the 48 brain regions.

[0146] Then, the feature vectors corresponding to each brain region are processed through the brain age prediction model to obtain the brain age prediction result. Since the feature vector corresponding to each brain region contains various image information corresponding to the brain region, the accuracy of the prediction result may be affected when the feature vector is analyzed and processed. Therefore, in an optional embodiment, feature extraction processing can be performed on the feature vectors corresponding to each brain region first, and then the feature vectors after feature extraction can be analyzed and processed.

[0147] Continuing with the above example, specifically, the feature vectors corresponding to each brain region are input into the feature extraction network to extract the depth features corresponding to each brain region. Among them, the depth features have a higher-order feature representation with richer information and more abstractness, which can better reflect the essence of the data. The depth features include texture features, shape features, spatial features, etc.

[0148] Among them, 48 independent fully connected networks are used as feature extraction networks corresponding to each brain region, that is, each brain region corresponds to a specific feature extraction network, and the feature vectors corresponding to each brain region obtained in the above steps are used as input, and the deep features corresponding to each brain region are output. In addition, the feature extraction network consists of a linear layer, a Tanh activation function, and a dropout (random inactivation) layer. The input dimension of the linear layer matches the length of each vector of the sample, and the output dimension is 1024. The deep features of the 48 brain regions extracted from a single sample are spliced ​​together to form a feature matrix of size (48,1024).

[0149] A trainable parameter vector of length 1024 is concatenated with the feature matrix, and the shape of the feature matrix becomes (49, 1024). The parameter vector is a feature vector used to describe the overall level information of the whole brain. In the subsequent Transformer deep learning model (multiple encoders), the deep features of 48 brain regions can be fused through the attention mechanism to obtain a feature vector used to describe the overall level information of the whole brain.

[0150] In order to enable the brain age prediction model to distinguish the feature vectors of different brain regions and help the brain age prediction model to perform differential processing on the feature vectors of each brain region, it is necessary to perform brain region encoding on each feature vector. Among them, the specific implementation method of brain region encoding is as follows: first, a trainable (49, 1024) encoding matrix is ​​spliced ​​on the feature matrix to obtain a splicing matrix with a shape of (49, 2048); then an embedding layer is used to encode each row of the splicing matrix to obtain a coding feature matrix with a shape of (49, 1024). Among them, the encoding matrix refers to the encoding matrix containing the spatial position information corresponding to each brain region, and the embedding layer is implemented by a three-layer fully connected neural network.

[0151] By embedding the code of each brain region into the feature vector of the brain region, the dependency between different brain regions can be captured when the feature vector of each brain region interacts with the feature vectors of other brain regions in the self-attention mechanism. This helps the model to capture the local features within the brain region while paying attention to the overall structure of the whole brain, thereby improving the regression performance.

[0152] According to the reference brain age and brain age prediction results, the brain age prediction model is trained. In order to achieve the prediction of brain age and explore the amount of information provided by each brain region in the prediction, a Transformer deep learning model based on brain region segmentation image data was constructed, and the Transformer deep learning model was trained to obtain a trained brain age prediction model. Among them, the brain age prediction model consists of several Transformer encoders and Transformer decoders stacked together. Each encoder and decoder includes a self-attention layer and a feedforward neural network layer. The relationship between each brain region is captured through the attention mechanism in the self-attention layer, realizing efficient image information encoding and deep feature extraction.

[0153] Specifically, the encoded feature matrix obtained above is input into a network structure composed of several stacked Transformer encoders, and the relationship between each brain region is captured through the attention mechanism to achieve efficient image information encoding and deep feature extraction to obtain the target feature vector. Each Transformer Encoder consists of a multi-head self-attention structure and a feedforward neural network.

[0154] The multi-head self-attention structure is as follows: the encoding feature matrix is ​​multiplied by three different trainable matrices of size (1024, 1024) to obtain matrices Q, K, and V, and then Q, K, and V are divided into 16 matrices of size (49, 64), (i = 1, 2, ..., 16), and the attention sub-matrix is ​​calculated according to the following formula:

[0155]

[0156] Among them, d k is the vector length, i.e. 64. Then, 16 attention matrices are horizontally concatenated to obtain an attention matrix of size (49, 1024). The result is then added to the matrix of the input self-attention structure, so that the information of the previous layer can be passed to the next layer without difference, solving the problem of difficult neural network training.

[0157] The structure in the feedforward neural network is a linear layer (input size is 1024, output size is 2048), activation function Tanh, dropout (p = 0.9), linear layer (input size is 2048, output size is 1024), and dropout (p = 0.9). Finally, the output is added to the structure in the feedforward neural network and normalized to accelerate the convergence of the brain age prediction model. For example Figure 4 The Transformer encoder structure shown.

[0158] After a multi-layer Transformer encoder network structure, the target feature vector has acquired the information of the entire image. Normalizing the target feature vector layer by layer can improve the stability of deep learning network training. Then, the normalized target feature vector is input into the Transformer decoder of the network structure used to predict brain age, predict brain age and calculate the loss function. Among them, the Transformer decoder network structure is: linear layer (input size is 1024, output size is 32), activation function Tanh, dropout layer, linear layer (input size is 32, output size is 1) and Sigmoid. The Sigmoid calculation method is:

[0159] Where x is the target feature vector.

[0160] Finally, the brain age prediction model was trained based on the reference brain age and brain age prediction results. During the training process, the Adam optimizer and MSE loss function were used, and the learning rate was set to 1e-6 and decreased by 30% per round, the batch size was 2, the epochs were 20, and the depth of the transformer encoder was 3, until the loss reached convergence or the MAE reached the expected requirements, to generate a trained brain age prediction model.

[0161] In addition, after the brain age prediction model is built, the diffusion tensor image samples are input into the model, and the attention matrix output by the last layer of attention structure in the Transformer encoder is taken out. It represents the interaction between different brain regions, with a size of (48, 48), and the element at (i, j) represents the degree of association between brain region i and brain region j. The vector obtained by averaging the columns of the matrix can be regarded as the degree of association of each brain region with the entire brain, which indicates its contribution to the prediction result.

[0162] It is worth noting that the brain age prediction model training method is similar to the implementation of the brain age prediction method based on regional segmentation provided in the above embodiment. The similarities are mentioned above and will not be repeated here.

[0163] Figure 5 FIG. 1 is a schematic diagram of a brain age prediction device provided by an embodiment of the present invention. Figure 5 As shown, the device includes: an acquisition module 11, a determination module 12, a first processing module 13, and a second processing module 14; wherein,

[0164] The acquisition module 11 is used to acquire the diffusion tensor image to be processed corresponding to the target measured person.

[0165] The determination module 12 is used to determine a plurality of diffusion index data corresponding to each voxel in the diffusion tensor image to be processed, and generate a plurality of diffusion index images according to the plurality of diffusion index data.

[0166] The first processing module 13 is used to process the multiple diffusion index images according to the brain fiber bundle template to obtain a first feature vector corresponding to each brain region, and the feature vector is used to describe the image features corresponding to each brain region.

[0167] The second processing module 14 is used to process the first feature vectors corresponding to the various brain regions using a pre-trained brain age prediction model to obtain a brain age prediction result corresponding to the target measurement subject.

[0168] Optionally, the first processing module 13 is specifically used to: segment the target diffusion index image according to the brain fiber bundle template to obtain a segmented image corresponding to the target diffusion index image, the target diffusion index image is any one of the multiple diffusion index images, and the segmented image includes multiple brain regions; perform voxel extraction on the multiple brain regions to obtain first sub-feature vectors corresponding to each of the multiple brain regions in the target diffusion index image; and perform splicing on the first sub-feature vectors corresponding to each brain region in the multiple diffusion index images to obtain a first feature vector corresponding to each brain region.

[0169] Optionally, the second processing module 14 is specifically used to: perform feature extraction on the first eigenvectors corresponding to the respective brain regions to obtain second eigenvectors corresponding to the respective brain regions; input the second eigenvectors corresponding to the respective brain regions into a pre-trained brain age prediction model to obtain a brain age prediction result corresponding to the target measurer.

[0170] Optionally, the second processing module 14 is specifically used to: input the first feature vectors corresponding to the respective brain regions into the image feature extraction networks corresponding to the respective brain regions, so as to obtain the second feature vectors corresponding to the respective brain regions.

[0171] Optionally, the second processing module 14 is specifically used to: perform splicing processing on the second eigenvectors corresponding to the various brain regions to obtain a spliced ​​first eigenmatrix; perform position encoding processing on the first eigenmatrix to obtain a second eigenmatrix, wherein the second eigenmatrix is ​​used to describe the brain region position information corresponding to each eigenvector; and input the second eigenmatrix into the brain age prediction model to obtain a brain age prediction result.

[0172] Optionally, the second processing module 14 is specifically used to: input the first feature matrix into a global information extraction encoder to obtain a third feature vector corresponding to the whole brain, and the third feature vector is used to characterize the overall information of the whole brain; concatenate the first feature matrix and the third feature vector to obtain a third feature matrix; input the third feature matrix into a position encoder to obtain a second feature matrix.

[0173] Optionally, the brain age prediction model includes a feature fusion encoder and a decoder; the second processing module 14 is specifically used to: input the second feature matrix into the feature fusion encoder to obtain a fused target feature vector; input the target feature vector into the decoder to obtain a brain age prediction result corresponding to the target feature vector.

[0174] Optionally, the second processing module 14 is specifically used to: obtain the real age of the target measured person; determine the reference feature vectors corresponding to multiple brain regions corresponding to the real age, and the reference feature vectors are used to characterize the aging degree of each brain region corresponding to multiple measured persons of the age; splice the reference feature vectors corresponding to the multiple brain regions to obtain a spliced ​​fourth feature matrix; splice the fourth feature matrix and the target feature vector to obtain a spliced ​​fifth feature matrix; input the fifth feature matrix into the decoder to obtain a brain age prediction result.

[0175] Optionally, the feature fusion encoder includes at least one cascaded encoder, and each of the encoders includes an attention layer and a feedforward neural network layer.

[0176] Figure 5 The device shown can execute the steps introduced in the aforementioned embodiments. For detailed execution process and technical effects, please refer to the description in the aforementioned embodiments, which will not be repeated here.

[0177] In one possible design, the above Figure 5 The structure of the brain age prediction device shown can be implemented as an electronic device, such as Figure 6 As shown, the electronic device may include: a memory 21, a processor 22, and a communication interface 23. The memory 21 stores executable codes, and when the executable codes are executed by the processor 22, the processor 22 can at least implement the brain age prediction method based on regional segmentation as provided in the above embodiments.

[0178] In addition, an embodiment of the present invention provides a non-temporary machine-readable storage medium, on which executable code is stored. When the executable code is executed by a processor of an electronic device, the processor can at least implement the brain age prediction method based on regional segmentation as provided in the aforementioned embodiment.

[0179] Figure 7 A schematic diagram of the structure of a brain age prediction model training device provided by an embodiment of the present invention. Figure 7 As shown, the device includes: a collection module 31, a generation module 32, a determination module 33, a first processing module 34, a second processing module 35, and a training module 36; wherein,

[0180] The acquisition module 31 is used to acquire training samples, wherein the training samples include diffusion tensor images corresponding to multiple measurers.

[0181] The generating module 32 is used to determine a plurality of diffusion index data corresponding to each voxel in the diffusion tensor image, and generate a plurality of diffusion index image samples according to the plurality of diffusion index data.

[0182] The determination module 33 is used to determine the reference brain age corresponding to the plurality of diffusion index image samples.

[0183] The first processing module 34 is used to process the plurality of diffusion index image samples according to the brain fiber bundle template to obtain a feature vector corresponding to each brain region, where the feature vector is used to describe the image feature corresponding to each brain region.

[0184] The second processing module 35 is used to process the first eigenvectors corresponding to the various brain regions through a brain age prediction model to obtain a brain age prediction result.

[0185] The training module 36 is used to train the brain age prediction model according to the reference brain age and the brain age prediction result.

[0186] Figure 7 The device shown can execute the steps introduced in the aforementioned embodiments. For detailed execution process and technical effects, please refer to the description in the aforementioned embodiments, which will not be repeated here.

[0187] In one possible design, the above Figure 7 The structure of the brain age prediction model training device shown can be implemented as an electronic device, such as Figure 8 As shown, the electronic device may include: a memory 41, a processor 42, and a communication interface 43. The memory 41 stores executable codes, and when the executable codes are executed by the processor 42, the processor 42 can at least implement the brain age prediction model training method provided in the above-mentioned embodiment.

[0188] In addition, an embodiment of the present invention provides a non-transitory machine-readable storage medium, on which executable code is stored. When the executable code is executed by a processor of an electronic device, the processor can at least implement the brain age prediction model training method provided in the aforementioned embodiment.

[0189] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0190] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0191] 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 make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A brain age prediction method based on regional segmentation, characterized in that: include: Obtaining a diffusion tensor image to be processed corresponding to the target measurement person; Determining a plurality of diffusion index data corresponding to each voxel in the diffusion tensor image to be processed, and generating a plurality of diffusion index images according to the plurality of diffusion index data; Processing the plurality of diffusion index images according to the brain fiber bundle template to obtain a first feature vector corresponding to each brain region, wherein the feature vector is used to describe the image features corresponding to each brain region; The first eigenvectors corresponding to the various brain regions are processed using a pre-trained brain age prediction model to obtain a brain age prediction result corresponding to the target person being measured.

2. The method according to claim 1, characterized in that The step of processing the plurality of diffusion index images according to the brain fiber bundle template to obtain a first feature vector corresponding to each brain region includes: According to the brain fiber bundle template, segmenting the target diffusion index image to obtain a segmented image corresponding to the target diffusion index image, wherein the target diffusion index image is any one of the multiple diffusion index images, and the segmented image includes multiple brain regions; Performing voxel extraction processing on the multiple brain regions respectively to obtain first sub-feature vectors corresponding to the multiple brain regions in the target diffusion index image; The first sub-eigenvectors corresponding to the respective brain regions in the plurality of diffusion index images are concatenated to obtain the first eigenvectors corresponding to the respective brain regions.

3. The method according to claim 1, characterized in that The method of using the pre-trained brain age prediction model to process the first feature vectors corresponding to the respective brain regions to obtain the brain age prediction result corresponding to the target measurement subject includes: Performing feature extraction on the first feature vectors corresponding to the respective brain regions to obtain second feature vectors corresponding to the respective brain regions; The second eigenvectors corresponding to the various brain regions are input into a pre-trained brain age prediction model to obtain a brain age prediction result corresponding to the target person being measured.

4. The method according to claim 3, characterized in that The step of extracting features from the first feature vectors corresponding to the respective brain regions to obtain second feature vectors corresponding to the respective brain regions includes: The first feature vectors corresponding to the respective brain regions are respectively input into the image feature extraction networks corresponding to the respective brain regions to obtain the second feature vectors corresponding to the respective brain regions.

5. The method according to claim 4, characterized in that The step of inputting the second feature vectors corresponding to the respective brain regions into a pre-trained brain age prediction model to obtain a brain age prediction result corresponding to the target person being measured includes: Performing splicing processing on the second eigenvectors corresponding to the respective brain regions to obtain a spliced ​​first eigenmatrix; Performing position encoding processing on the first feature matrix to obtain a second feature matrix, wherein the second feature matrix is ​​used to describe brain region position information corresponding to each feature vector; The second feature matrix is ​​input into the brain age prediction model to obtain a brain age prediction result.

6. The method according to claim 5, characterized in that The performing position encoding processing on the first feature matrix to obtain a second feature matrix includes: Inputting the first feature matrix into a global information extraction encoder to obtain a third feature vector corresponding to the whole brain, wherein the third feature vector is used to represent the overall information of the whole brain; Concatenate the first characteristic matrix and the third characteristic vector to obtain a third characteristic matrix; The third characteristic matrix is ​​input to a position encoder to obtain a second characteristic matrix.

7. The method according to claim 6, characterized in that The brain age prediction model includes a feature fusion encoder and a decoder; The step of inputting the second feature matrix into the brain age prediction model to obtain a brain age prediction result includes: Inputting the second feature matrix into the feature fusion encoder to obtain a fused target feature vector; The target feature vector is input into the decoder to obtain a brain age prediction result corresponding to the target feature vector.

8. The method according to claim 7, characterized in that The step of inputting the target feature vector into the decoder to obtain a brain age prediction result corresponding to the target feature vector includes: Obtaining the real age of the target measurement person; Determine reference feature vectors corresponding to multiple brain regions corresponding to the real age, wherein the reference feature vectors are used to characterize the aging degree of each brain region corresponding to multiple measurers of the age; Performing splicing processing on the reference eigenvectors corresponding to the multiple brain regions to obtain a spliced ​​fourth eigenmatrix; Concatenating the fourth characteristic matrix and the target characteristic vector to obtain a concatenated fifth characteristic matrix; The fifth feature matrix is ​​input into the decoder to obtain a brain age prediction result.

9. The method according to claim 7, characterized in that: The feature fusion encoder includes at least one cascaded encoder, and each of the encoders includes an attention layer and a feedforward neural network layer.

10. An electronic device, characterized in that: include: A memory, a processor, and a communication interface; wherein the memory stores executable code, and when the executable code is executed by the processor, the processor executes the brain age prediction method based on regional segmentation as described in any one of claims 1 to 9.

Citation Information

Patent Citations

  • Brain age prediction method based on brain connection network

    CN106127769A

  • Brain age prediction method based on automatic identification of fiber bundles

    CN114847922A

  • Brain age prediction method and system based on diffusion tensor imaging and convolutional neural network

    CN115359013A

  • Hearing state prediction device and method based on diffusion tensor image

    CN116523857A

  • Brain age prediction modeling method, cognition improvement method and system for dynamic brain network

    CN116807447A