Whole brain fiber connection structure rapid positioning method and system

By encoding fibers into 9-dimensional vectors and establishing a mapping table, the problem of low efficiency of whole-brain fiber registration in the existing technology is solved, rapid positioning and classification are achieved, and the operating speed and efficiency are significantly improved.

CN118587284AActive Publication Date: 2024-09-03NANJING UNIV OF SCI & TECH
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410720870.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-05
Publication Date
2024-09-03
Estimated Expiration
2044-06-05

AI Technical Summary

Technical Problem

As the number of fibers increases, the time required for existing whole-brain fiber registration methods increases squarely, resulting in low efficiency and difficulty in quickly locating and classifying fiber structures.

Method used

A coding method is used to represent fibers as 9-dimensional vectors, and the index strings of fibers are associated with categories through a mapping table, thereby reducing the number of traversals of the target whole-brain fibers and using the registration and screening process to improve efficiency.

Benefits of technology

It significantly reduces the time required for fiber classification, improves running speed, effectively characterizes fiber characteristics, and reduces space occupation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118587284A
    Figure CN118587284A
Patent Text Reader

Abstract

The invention provides a whole brain fiber connection structure rapid positioning method and system. The method comprises the steps that target whole brain fibers are registered to a whole brain where classification map fibers are located according to T1 data of a target whole brain and whole brain T1 data of a classification map; encoding the fiber to a 9-dimensional vector; generating a mapping table from coding results to categories according to the classified fiber atlas; and traversing the target whole brain fibers once, and classifying according to a mapping result. According to the method, in the fiber coding process, the position, shape and direction information of the fibers are considered at the same time, the representation of the fibers is compressed to a minimum dimension, and a mapping table from coding results to categories is established according to a classification map, so that the registered target whole-brain fiber classification only needs to traverse the whole-brain fibers once; and the running speed is very excellent.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of medical image processing, and in particular relates to a method and system for quickly locating whole-brain fiber connection structures. Background Art

[0002] There are millions of white matter fibers in the human brain. These fibers connect multiple areas of the human brain and play different functions. Segmenting these fibers into meaningful fiber bundles helps to better explore the operating mechanisms of various functions of the human brain. It is also of great significance for preoperative planning in medicine. The importance of different fibers is differentiated according to their functions. White matter fibers in the whole brain can be tracked based on the data of water molecule diffusion magnetic resonance imaging. Existing registration methods can register fibers in one whole brain to another whole brain space, and the same category of fibers in the two registered whole brains are in the same position. Fiber segmentation is usually based on the position and shape of the fibers; since each fiber may be composed of different numbers of points, it is helpful to first represent different fibers as the same data shape to compare the fibers. There are already algorithms that can search directly in the registered target whole brain fibers through the fiber bundles in the atlas. Most of them apply the resampling process. The time required for this method increases quadratically as the number of fibers increases. Summary of the invention

[0003] In order to overcome the challenges of the prior art, the present invention provides a method and system for quickly locating the whole-brain fiber connection structure, which performs meaningful coding compression on the fibers and quickly classifies the target whole-brain fibers based on the registration of the target whole-brain fibers with the classification atlas.

[0004] The technical solution to achieve the purpose of the present invention is:

[0005] A method for quickly locating the fiber connection structure of the whole brain comprises the following steps:

[0006] Step 1: Use the registration method to register the target whole-brain fibers to the whole-brain where the classification atlas is located based on the T1 data of the target whole-brain and the T1 data of the whole-brain where the classification atlas is located, and obtain the whole-brain registered fibers;

[0007] Step 2: Encode the target whole-brain registered fibers and the fibers of the classification atlas separately through the encoding method, and encode each fiber into a 9-dimensional vector;

[0008] Step 3, screening the fibers in the classification map to obtain fibers that meet the requirements;

[0009] Step 4: According to the fiber encoding results of the filtered classification map, the nine dimensions are divided into several intervals, each fiber is represented by a string composed of nine indexes, and a mapping table is generated according to the index string and category of each fiber;

[0010] Step 5, traverse all fibers of the target brain to be located, convert the fibers into index strings, and search for the target category through the mapping table;

[0011] Step 6: If the corresponding target category cannot be found, the fiber is screened out.

[0012] Furthermore, the encoding process in step 2 is as follows:

[0013] Step 2.1: For a single fiber, the number of its points is n, which can be from P1 to P n An ordered sequence of n points is represented by P i =(x i ,y i , z i ), use d i+1 Indicates point P i To point P i+1 The distance between the two points can be expressed as t. i ,

[0014]

[0015] Step 2.2: Flip and concatenate the point sequence representing the fiber and the point ratio sequence to obtain a matrix of size (2n-1)×3. and an array φ of length (2n-1), from which we can calculate a matrix Y of size (2n-1)×4, where Now we can calculate the final coefficient matrix β, which has a shape of (4×3), as shown below.

[0016]

[0017] The first row of the matrix β can represent the position information of the fiber, and the first row is directly used as the first three dimensions of the 9 dimensions of the encoding result;

[0018] Step 2.3, the last three rows of β represent the shape information of the fiber, then modulo each row, and use the three values ​​of the result as the middle three dimensions of the nine dimensions;

[0019] Step 2.4: The last three dimensions in the encoding result represent the direction information of the fiber, which is directly represented by the difference between the starting point and the end point of the fiber.

[0020] Furthermore, in step 3, outlier_remove is performed on each fiber category in the classification atlas, thereby reducing the impact of poor atlas fiber quality on the results. The outlier_remove process is as follows:

[0021] For one dimension of the encoded result, calculate the mean and standard deviation of the data:

[0022]

[0023] Where μ represents the mean value, σ represents the variance, and the screening value is determined according to the threshold. For example, if threshold = 1.5, the retention interval is [μ-1.5σ, μ+1.5σ].

[0024] A system for implementing the method for fast positioning of whole-brain fiber connection structure comprises a registration unit, an encoding unit, a screening unit, a mapping table establishment unit and a positioning unit, wherein the registration unit uses a registration method to register the target whole-brain fibers to the whole-brain where the classification map is located according to the T1 data of the target whole-brain and the T1 data of the whole-brain where the classification map is located, so as to obtain the fibers with good whole-brain registration; the encoding unit respectively encodes the target whole-brain registered fibers and the fibers of the classification map by the encoding method, and encodes each fiber into a 9-dimensional vector; the screening unit screens the fibers in the classification map to obtain fibers that meet the requirements; the mapping table establishment unit divides the 9 dimensions into several intervals according to the fiber encoding results of the filtered classification map, each fiber is represented by a string composed of 9 indexes, and a mapping table is generated according to the index string and category of each fiber; the positioning unit traverses all fibers of the target whole-brain to be located, converts the fibers into index strings, and searches for the target category through the mapping table, and if the corresponding target category cannot be found, the fiber is screened out.

[0025] Due to the adoption of the above technical scheme, the present invention has the following advantages: the present invention includes a fiber encoding module, a registration module, a mapping table establishment module and a final fiber classification module, wherein the fiber encoding module adopts cosine coefficients to encode all fibers into the same dimension and effectively characterize the characteristics of the fibers, which is not only more effective in characterizing the fiber characteristics than the resampling used in the past, but also greatly reduces the space occupied by the results; the registration module enables the fiber bundles of the same category from different whole brains to have similar sizes and positions after registration; after the mapping table is established, the classification of the target whole brain fibers does not need to be compared one by one with the atlas fibers, and the classification can be completed by traversing the target whole brain fibers once and searching in the mapping table, which greatly reduces the time required. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 It is a flow chart of the method for rapidly locating the whole-brain fiber connection structure proposed by the present invention.

[0027] Figure 2 Flowchart of the encoding method proposed for this method.

[0028] Figure 3This is a visualization result diagram of the fiber classification effect of the method according to the present invention on a whole brain sample. DETAILED DESCRIPTION

[0029] In order to enable those skilled in the art to better understand the technical solution of the present application, the overall classification process provided by the present application is further described in detail below in combination with the accompanying drawings and specific implementation methods.

[0030] This paper proposes a method for quickly locating the fiber connection structure of the whole brain. Figure 1 , including the steps of:

[0031] Step 1, align the target whole-brain fibers to the whole-brain where the classification atlas is located;

[0032] Step 2, encoding a single fiber bundle into a 9-dimensional vector using a designed encoding method;

[0033] Step 3, establishing a mapping table from the fiber coding results in the classification atlas to the corresponding categories;

[0034] Step 4, traverse the encoding results of the target whole-brain fibers, directly look up the category in the mapping table, and perform an outlier_remove on the results of each category (screen out the elements in the set that are far away from the group); traversing the target whole-brain fibers for classification is very fast, and what is traversed is not the fiber itself, but the encoding results of the fiber. Performing an outlier_remove on the fiber bundles of meaningful categories in the classification results can improve the quality of the results and also avoid the impact of poor fiber quality in the classification map.

[0035] The specific process of the registration in step 1 is as follows: based on the T1 data of the target whole brain and the T1 data of the classification atlas whole brain, a transformation matrix from the target whole brain to the classification atlas whole brain is obtained, and all the fibers of the target whole brain are transformed according to this transformation matrix.

[0036] Combination Figure 2 The specific process of the encoding method in step 2 is as follows:

[0037] (1) For a single fiber, the number of points is n, which can be from P1 to P n An ordered sequence of n points is represented by P i =(x i ,y i , z i ), use d i+1 Indicates point P i To point P i+1 The distance between the two points can be expressed as t. i ,

[0038]

[0039] By reversing and concatenating the point sequence representing the fiber and the point ratio sequence, we can get a matrix of size (2n-1)×3 and an array φ of length (2n-1), from which we can calculate a matrix Y of size (2n-1)×4, where So now we can calculate the final coefficient matrix β, which has a shape of (4×3), as shown below.

[0040]

[0041] The first row of β can represent the position information of the fiber, and the first row is directly used as the first three dimensions of the 9 dimensions of the encoding result;

[0042] (2) The last three rows of β represent the shape information of the fiber. Each row is modulo, and the three values ​​of the result are used as the middle three dimensions of the nine dimensions.

[0043] (3) The last three dimensions in the encoding result represent the direction information of the fiber, which is directly represented by the difference between the starting point and the end point of the fiber.

[0044] Combination Figure 3 The specific process of establishing the mapping table in step 3 is as follows:

[0045] (1) For the encoding result of the classification atlas fiber, the value range of each column is divided into a number of intervals of varying numbers according to the maximum and minimum values ​​of each column. Each value of each column can be represented by an interval index;

[0046] (2) According to the above process, each 9-dimensional vector is converted into a 9-dimensional index vector composed of 9 different column indexes, and then the 9-dimensional index vector is converted into an index string as the key required to establish a mapping table, and the category is the category of each fiber.

[0047] The mapping table created has a key length of 9 dimensions, but in fact there are very few meaningful states in it. For example, the fibers at a certain location in the whole brain have at most two or three very different shapes. Building such a mapping table not only takes up less memory, but also speeds up the subsequent search for the shape of the target whole-brain fiber.

[0048] The process of traversing the target whole brain fibers for classification in step 4 is as follows:

[0049] The target whole-brain fibers are encoded into vectors, each vector encoding result is traversed, and the interval used when establishing the mapping table is converted into an index string to directly search for the category through the mapping table.

[0050] The outlier_remove process is as follows:

[0051] For one dimension of the encoded result, calculate the mean and standard deviation of the data:

[0052]

[0053] Where μ represents the mean value, σ represents the variance, and the screening value is determined according to the threshold. For example, if threshold = 1.5, the retention interval is [μ-1.5σ, μ+1.5σ].

[0054] Output result: The output result is a labels array with the same length as the number of target whole-brain fibers. 0 means it is not classified, and the remaining numbers correspond one-to-one to the fiber categories in the classification atlas.

[0055] A system for implementing the method for fast positioning of whole-brain fiber connection structure comprises a registration unit, an encoding unit, a screening unit, a mapping table establishment unit and a positioning unit, wherein the registration unit uses a registration method to register the target whole-brain fibers to the whole-brain where the classification map is located according to the T1 data of the target whole-brain and the T1 data of the whole-brain where the classification map is located, so as to obtain the fibers with good whole-brain registration; the encoding unit respectively encodes the target whole-brain registered fibers and the fibers of the classification map by the encoding method, and encodes each fiber into a 9-dimensional vector; the screening unit screens the fibers in the classification map to obtain fibers that meet the requirements; the mapping table establishment unit divides the 9 dimensions into several intervals according to the fiber encoding results of the filtered classification map, each fiber is represented by a string composed of 9 indexes, and a mapping table is generated according to the index string and category of each fiber; the positioning unit traverses all fibers of the target whole-brain to be located, converts the fibers into index strings, and searches for the target category through the mapping table, and if the corresponding target category cannot be found, the fiber is screened out.

[0056] The present invention takes into account the position, shape and direction information of the fibers simultaneously during the fiber encoding process and compresses the fiber representation to an extremely small dimension. A mapping table from encoding results to categories is established based on the classification atlas, so that for the classification of the aligned target whole-brain fibers, only the time of traversing the whole-brain fibers once is required, and the running speed is very good.

[0057] Example 1

[0058] This embodiment provides a method for quickly locating the fiber connection structure of the whole brain, and the specific implementation process includes:

[0059] First is the input part. The input of the present invention includes the folder path where the classification atlas fibers are located, the file path of the target whole-brain fibers, the T1 data path of the classification atlas fibers in the whole brain, the T1 data path of the target whole brain, the bval path of the target whole brain, the bvec path of the target whole brain, the output folder path of the file, and whether the target whole-brain fibers need to be aligned. These files will be read in turn as needed during the execution process. If the output folder path is not explicitly specified, the folder where the target whole-brain fibers are located will be used as the output folder by default. If the target whole-brain fibers have been aligned and do not need to be aligned again, then there is no need to enter the T1 data path and bval and bvec paths of the target whole brain and the classification atlas.

[0060] Next is the registration process, which is usually performed on the T1 data of two human brains to align them spatially for subsequent quantitative analysis and comparison. In the method proposed by the present invention, the prerequisite for the classification of target whole-brain fibers is that the target whole-brain fibers are aligned with the fibers in the classification atlas, so as to ensure that the fibers of the same category are distributed in the same interval after encoding.

[0061] During the registration process, the skull data in the target whole-brain T1 data is first removed, and then affine registration is performed to roughly align the two spaces. Next, a symmetric differential homeomorphism registration algorithm is used to perform non-rigid deformation. Finally, the mapping transformation obtained by the former is used to transform the fibers of the target whole brain into the whole-brain space where the classification atlas is located.

[0062] For the registered target whole-brain fibers, the encoding method proposed in the present invention is executed to encode them all into 9-dimensional vectors and save them in the betas subfolder under the output path.

[0063] Then, a mapping table is established. First, all fibers in the classification map are encoded into 9-dimensional vectors. Then, for each dimension, its minimum and maximum values ​​are calculated to obtain the interval length of each dimension, and the interval is expanded by 10% to reduce boundary errors. Then, the interval of each dimension is divided into several equal lengths (Note: the number of intervals divided in each dimension is not necessarily equal). According to the intervals divided by the former, all encoding results are converted into 9-dimensional interval indexes, that is, the value range of each dimension is changed from the original continuous value to the current discrete value, and the value range is limited. Therefore, the encoding result of each fiber can be converted into an index string composed of nine indexes, and this string is used as the key to establish the mapping table, and the fiber category is used as the value of the mapping table. This mapping table is stored in the maps subfolder under the output path.

[0064] Finally, the target whole-brain fibers are classified, and the encoding results of the target whole-brain registered fibers are directly traversed. A row is converted into an index string according to the dimension interval divided when the mapping table is established, and the category is directly searched from the mapping table. If there is a corresponding key, the value in it is used as the category number of this fiber. If not, the category defaults to 0, indicating that there is no category. After the classification is completed, the results will be outlier_remove to filter out unreasonable fibers in the results. The final output result is a label array with a length equal to the number of target whole-brain fibers, which is stored in the results subfolder under the output path.

[0065] The following is an introduction to a non-volatile computer-readable storage medium of an exemplary embodiment of the present invention. An embodiment of the present invention provides a non-volatile computer-readable storage medium, which stores computer-executable instructions, and the executable program is executed by a processor to implement the steps of the method for rapid positioning of the whole brain fiber connection structure of various exemplary embodiments of the present invention.

[0066] The above process is the entire process of the method proposed in the present invention. A person skilled in the art of the present invention may select appropriate parameters and adjust each step therein to meet the requirements as required, but will not deviate from the overall concept of the present invention or exceed the scope defined by the attached claims. In addition, although some specific terms are used in this specification, these terms are only for the convenience of description and do not constitute any limitation to the present invention.

Claims

1. A method for rapidly locating the fiber connection structure of the whole brain, characterized in that: The following steps are involved: Step 1: Use the registration method to register the target whole-brain fibers to the whole-brain where the classification atlas is located based on the T1 data of the target whole-brain and the T1 data of the whole-brain where the classification atlas is located, and obtain the whole-brain registered fibers; Step 2: Encode the target whole-brain registered fibers and the fibers of the classification atlas separately through the encoding method, and encode each fiber into a 9-dimensional vector; Step 3, screening the fibers in the classification map to obtain fibers that meet the requirements; Step 4: According to the fiber encoding results of the filtered classification map, the nine dimensions are divided into several intervals, each fiber is represented by a string composed of nine indexes, and a mapping table is generated according to the index string and category of each fiber; Step 5, traverse all fibers of the target brain to be located, convert the fibers into index strings, and search for the target category through the mapping table; Step 6: If the corresponding target category cannot be found, the fiber is screened out.

2. A method for rapid positioning of whole-brain fiber connection structures according to claim 1, characterized in that: Using a registration method to register the target whole-brain fibers to the whole-brain where the classification atlas is located based on the T1 data of the target whole-brain and the T1 data of the whole-brain where the classification atlas is located includes: first removing the skull data in the target whole-brain T1 data, then performing affine registration to align the two spaces, then using a symmetric differential homeomorphism registration algorithm to perform non-rigid deformation, and finally using the mapping transformation obtained by the non-rigid deformation to transform the target whole-brain fibers to the whole-brain space where the classification atlas is located.

3. A method for rapid positioning of whole-brain fiber connection structures according to claim 1, characterized in that: The step 2 specifically includes: Step 2.1, determining the point sequence and point ratio sequence of a single fiber; Step 2.2: Flip and concatenate the point sequence representing the fiber and the point ratio sequence to obtain a matrix of size (2n-1)×3. and an array φ of length (2n-1), and a matrix Y of size (2n-1)×4 is calculated from the array φ, where the element in the i-th row and j-th column of the matrix Y is The final coefficient matrix β is calculated as: The first row of the coefficient matrix β represents the position information of the fiber, and the first row is used as the first three dimensions of the 9 dimensions of the encoding result; Step 2.2, the last three rows of the coefficient matrix β represent the shape information of the fiber, and each of the last three rows is modulo, and the three values ​​of the results are used as the middle three dimensions of the 9 dimensions; Step 2.3: The last three dimensions of the nine dimensions represent the direction information of the fiber, which is represented by the difference between the starting point and the end point of the fiber.

4. A method for rapid positioning of whole-brain fiber connection structures according to claim 3, characterized in that: Determining the point sequence and point ratio sequence of a single fiber specifically includes: Let the number of points be n, then the single fiber point sequence is from P1 to P n An ordered sequence of n points, where P i =(x i ,y i ,z i ), use d i+1 Indicates point P i To point P i+1 The distance between the two points is expressed as t. i , get the ratio sequence, t i for:

5. The method for rapidly locating the whole brain fiber connection structure according to claim 1, characterized in that: In step 3, the fibers in the classification map are screened to obtain fibers that meet the requirements, which specifically includes: For one dimension of the encoding result, the mean μ and variance σ of the data are calculated as: The screening value is determined according to the threshold threshold, and the retention interval is [μ-threshold*σ,μ+threshold*σ].

6. A method for rapid positioning of whole-brain fiber connection structures according to claim 1, characterized in that: The threshold value is 1.

5.

7. A method for rapid positioning of whole-brain fiber connection structures according to claim 1, characterized in that: The step 4 specifically includes: Step 4.1, based on the encoding result of the classification atlas fiber, divide the value range of each column into a number of intervals of varying numbers according to the maximum value and the minimum value of each column, and represent each value of each column with an interval index; Step 4.2: Convert each 9-dimensional vector into a 9-dimensional index vector consisting of 9 different column indexes, and then convert the 9-dimensional index vector into an index string as the key required to establish a mapping table, and the category is the category of each fiber.

8. A system for implementing the method for rapidly locating the whole-brain fiber connection structure according to any one of claims 1 to 7, characterized in that: It includes a registration unit, an encoding unit, a screening unit, a mapping table establishment unit and a positioning unit. The registration unit uses a registration method to register the target whole-brain fibers to the whole-brain where the classification map is located according to the T1 data of the target whole brain and the T1 data of the whole brain where the classification map is located, so as to obtain the fibers with good whole-brain registration; the encoding unit encodes the fibers with good target whole-brain registration and the fibers of the classification map respectively by the encoding method, and encodes each fiber into a 9-dimensional vector; the screening unit screens the fibers in the classification map to obtain fibers that meet the requirements; the mapping table establishment unit divides the 9 dimensions into several intervals according to the fiber encoding results of the filtered classification map, each fiber is represented by a string composed of 9 indexes, and a mapping table is generated according to the index string and category of each fiber; the positioning unit traverses all fibers of the target whole brain to be located, converts the fibers into index strings, and searches for the target category through the mapping table. If the corresponding target category cannot be found, the fiber is screened out.

9. A computer storage medium, characterized in that The computer storage medium stores an executable program, and the executable program is executed by a processor to implement the steps of the method for rapid positioning of whole-brain fiber connection structures as described in any one of claims 1-7.

Citation Information

Patent Citations

  • Cotton heterogeneous fiber discriminating method based on OCA clustering

    CN105095922A

  • Brain white matter fiber deep clustering method guided by tag-fMRI

    CN110223275A

  • Cranial nerve automatic segmentation method based on large sample data driving

    CN110533664A

  • Fiber bundle tracking method, computer equipment and storage medium

    CN110992439A

  • Automatic tract extraction via atlas based adaptive connectivity-based clustering

    US20170035320A1