An electrode positioning system based on personalized brain segmentation
Through the method of personalized brain segmentation and calculation of Pareto front, the problem of personalization and computational efficiency of brain electrode positioning in the existing technology is solved, high-precision electrode positioning and electric field visualization are achieved, multiple stimulation methods are supported, and the cost is reduced Risk of side effects and calculation time.
Patent Information
- Application Number
- CN202410800878.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-20
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2044-06-20
AI Technical Summary
Existing brain electrode positioning technology cannot provide accurate personalized positioning, ignores individual differences, takes a long time to calculate, cannot support multiple electrode positioning methods and output multiple results, and lacks detailed brain segmentation options, resulting in low treatment efficiency and risk of side effects. high.
An electrode positioning system based on personalized brain segmentation is adopted, including image data processing, electrode parameter acquisition, target coordinate selection, electrode target analysis, brain area analysis and processing and electrode positioning analysis modules. Through MRI scanning, convolution kernel sliding, Softmax Classifiers, genetic algorithms, and particle swarm algorithms calculate the Pareto front, enabling personalized electrode positioning and electric field visualization.
It realizes full-process support from brain imaging data to electric field visualization, shortens the calculation time to 10 minutes, outputs multiple results that meet stimulation requirements, supports time-interference stimulation and high-precision transcranial electrical stimulation, and provides personalized brain segmentation and multiple A variety of electrode placement methods reduce the risk of side effects.
Smart Images

Figure CN118398164B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of brain electrode positioning programs, and in particular to an electrode positioning system based on personalized brain segmentation. Background Art
[0002] In recent years, the incidence of neurological diseases has been increasing. Doctors usually use drugs to fight neurological diseases or alleviate their symptoms. However, this method may cause adverse reactions in patients and may interact with other drugs, thereby increasing the risk of side effects. In addition, some subjects may be tolerant to the drugs. The limitations of drug treatment further increase the cost of treatment and the need to develop new technologies.
[0003] Deep brain stimulation (DBS) is a neurosurgical procedure that implants electrodes into specific areas of the brain and provides constant or intermittent current from an implanted battery source to stimulate the target. However, subjects often have strong resistance to this procedure, and the procedure also has certain risks of bleeding and infection, so DBS is not the first choice.
[0004] Transcranial electric stimulation (tES) is a type of non-invasive brain stimulation (NIBS) that applies direct current or alternating current to electrodes placed on the scalp to regulate the excitability of the central nervous system, produce a sustained neuroplasticity effect, and thus regulate the function of the central nervous system.
[0005] However, where to place the electrodes in the brain and how much current to use to effectively activate the target brain area is an important question. In the past, doctors could only judge the approximate location based on experience, and could not accurately obtain the personalized electrode channel selection and current size corresponding to the specific target of the subject. This application can achieve personalized electrode positioning (brain area navigation) and corresponding electric field visualization.
[0006] The existing similar products have the following problems and defects:
[0007] (1) They usually use a standardized set of brain models, ignoring individual differences;
[0008] (2) It is usually unable to support multiple electrode positioning methods, especially the currently superior time-interference electrical stimulation method;
[0009] (3) The calculation time is usually long. For electrode positioning of time-interference electrical stimulation, the calculation time is generally 10 hours or more;
[0010] (4) They are usually unable to output multiple results, which leaves fewer options for situations where specific stimulation areas need to be avoided;
[0011] (5) There is usually no detailed brain region segmentation result selection, and the user needs to manually locate the brain region to be stimulated. Summary of the invention
[0012] In view of the above situation, in order to overcome the defects of the prior art, the present invention provides an electrode positioning system based on personalized brain segmentation to solve the above-mentioned technical defects.
[0013] To achieve the above objectives, the present invention is implemented through the following technical solutions: an electrode positioning system based on personalized brain segmentation, comprising an image data processing unit, an electrode parameter acquisition unit, a target coordinate selection unit, an electrode target analysis unit, a brain region analysis processing unit, an electrode positioning analysis module and a display module, wherein the image data processing unit is used to segment the original image data of the brain;
[0014] The electrode parameter acquisition unit is used to collect and acquire the physical parameters of the electrode to obtain the electrode parameters;
[0015] The target coordinate selection unit is used to select the coordinates of a specific position in the brain and determine the target coordinates for electrode positioning;
[0016] The electrode target point analysis unit is used to compare and analyze the electrode parameters and target point coordinates, determine the standardization of the electrode parameter information and the target point coordinates, and then determine the consistency of the electrode parameters with the electrode parameters of the previous operation;
[0017] The brain region analysis and processing unit is used to perform brain region navigation calculations and use genetic algorithms and particle swarm algorithms to calculate the Pareto frontier;
[0018] The electrode positioning analysis module is used to obtain a result list that meets the target requirements from the Pareto front;
[0019] The display module is used to display the electric field distribution data of brain sections and three-dimensional models, the electric field statistics of brain regions, and the electric field display of user interaction points.
[0020] Furthermore, the original brain image data is segmented and processed in the following specific manner:
[0021] First, an MRI scan is performed on the user's brain to obtain raw image data of the user's brain, and then the raw image data of the brain is preprocessed to obtain a preprocessed image;
[0022] Slide the convolution kernel on the preprocessed image to extract features and perform segmentation processing. Specifically: the convolution kernel is a 3×3 matrix. Slide the convolution kernel along each position of the preprocessed image and perform element multiplication and addition operations with the image pixels at that position to extract the edges, textures, and shapes in the preprocessed image, and obtain the feature map of each position in the preprocessed image;
[0023] By combining multiple feature maps and processing them through subsequent fully connected layers, specifically: by inputting the feature map of each position into the fully connected layer, using the Softmax classifier to classify the features, and determining the category of the preprocessed image, when segmenting the preprocessed image, pixel-level classification is performed based on the information of the feature map, and each pixel is assigned to the corresponding category to achieve segmentation of the preprocessed image.
[0024] Furthermore, the physical parameters of the electrode are collected and acquired in a specific manner: the electrode is scanned by a scanning electron microscope to obtain a cross-sectional image of the electrode, and measurement is performed based on the cross-sectional image of the electrode to obtain the electrode cross-sectional shape, electrode size and electrode thickness, and the electrode parameters are constituted by the electrode cross-sectional shape, electrode size and electrode thickness.
[0025] Furthermore, the target coordinates are selected in the following ways:
[0026] (1) By selecting the brain area to be stimulated, the brain area can be selected by using a multi-level index or by inputting the index number of the target brain area. The coordinates will be set to the geometric center coordinates of the brain area.
[0027] (2) Manually input the XYZ coordinates;
[0028] (3) Accurately select the location to be stimulated based on the MRI image of brain region segmentation.
[0029] Furthermore, the electrode parameters and target coordinates are compared and analyzed, and the specific comparative analysis method is as follows:
[0030] By comparing the position of the electrode after implantation with the planned target position, check the matching degree of the shape and size of the electrode with the shape and size of the standard electrode. If the shape and size of the electrode matches the shape and size of the standard electrode, then obtain the electrode parameters of the last operation and compare them with the current electrode parameters to obtain the change rate of the current electrode parameters and the electrode parameters of the last operation.
[0031] Furthermore, the contents of the result list are the channel positions of the electrode placement and the corresponding current magnitudes, the electric field magnitudes of the reference target positions, and the average electric field magnitudes of the reference whole brain.
[0032] Furthermore, a positioning method of an electrode positioning system based on personalized brain segmentation specifically comprises the following steps:
[0033] Step 101, inputting MRI image data after personalized brain tissue segmentation and brain region segmentation;
[0034] Step 102, adding electrode parameters;
[0035] Step 103, select target coordinates:
[0036] Step 104, judging the standardization of the electrode parameter information and the target point, by comparing the position of the electrode after implantation with the planned target point position, checking the matching degree of the shape and size of the electrode with the shape and size of the standard electrode, if the shape and size of the electrode matches the shape and size of the standard electrode, it means that the parameters and the target point meet the standard, and then executing step 106, if the shape and size of the electrode does not match the shape and size of the standard electrode, it means that the parameters and the target point do not meet the standard, and then executing step 105;
[0037] Step 105, if the parameters and the target point in step 104 do not meet the specifications, modify the electrode parameter information through step 102 again;
[0038] Step 106, determining whether the electrode parameters have changed from the electrode parameters of the last operation, if changed, executing step 108, if not changed, executing step 107;
[0039] Step 107, calculating the leadfield matrix;
[0040] Step 108, performing brain region navigation calculation, using genetic algorithm and particle swarm algorithm to calculate the Pareto frontier;
[0041] Step 109, obtaining a result list that meets the target requirements through the Pareto front;
[0042] Step 110, select to save the result data, if you choose to save the result, then execute step 111, if you choose not to save the result, then execute step 112;
[0043] Step 111, saving the result data to a user-specified location;
[0044] Step 112, selecting electric field visualization, if electric field visualization is not performed, executing step 113, if electric field visualization is performed, executing step 114;
[0045] Step 113, the process ends;
[0046] Step 114, performing visualization calculation of brain electric field distribution by finite element method;
[0047] Step 115, displaying the electric field distribution data of the brain section and the three-dimensional model, the electric field statistics of the brain region, and the electric field display of the user interaction point.
[0048] Beneficial effects of the present invention:
[0049] 1. The present invention provides a complete system and software that starts from the data of the subject's own personalized magnetic resonance image segmentation, performs traceability optimization to electric field visualization, and supports stimulation methods such as time interference stimulation, transcranial electrical stimulation, and high-precision transcranial electrical stimulation.
[0050] 2. The present invention provides a personalized brain tissue and brain region segmentation method, and uses the personalized segmentation data for subsequent traceability optimization calculations, which emphasizes the impact of individual differences in electrode positioning.
[0051] 3. The present invention can shorten the calculation time to 10 minutes without losing the accuracy of the results, and can output multiple results that meet the stimulation requirements.
[0052] 4. The electrode positioning system of the present invention has a friendly graphical interface and data visualization method, which provides relevant suggestions for the placement of transcranial electrical stimulation electrodes for various diseases. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] The present invention will be further described below in conjunction with the accompanying drawings.
[0054] Figure 1 This is a principle block diagram of an electrode positioning system based on personalized brain segmentation according to an embodiment of the present invention;
[0055] Figure 2 Schematic diagram of the overall process of the electrode positioning method based on personalized brain segmentation in an embodiment of the present invention. DETAILED DESCRIPTION
[0056] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work also fall within the scope of protection of the present invention.
[0057] As shown in the present invention and claims, unless the context clearly indicates an exception, the words "a", "an", "an" and / or "the" do not refer to the singular, but also include the plural. Generally speaking, the terms "include" and "comprise" only indicate the inclusion of the steps and elements that have been clearly identified, and these steps and elements do not constitute an exclusive list, and the method or device may also include other steps or elements.
[0058] Although the present invention has made various references to certain modules in the system according to an embodiment of the present invention, any number of different modules can be used and run on a user terminal and / or server. The modules are only illustrative, and different aspects of the system and method can use different modules.
[0059] The present invention uses a flow chart to illustrate the operations performed by the system according to an embodiment of the present invention. It should be understood that the preceding or following operations are not necessarily performed precisely in order. On the contrary, various steps may be processed in reverse order or simultaneously as required. At the same time, other operations may also be added to these processes, or one or more operations may be removed from these processes.
[0060] Below, the exemplary embodiments according to the present invention will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments of the present invention, and it should be understood that the present invention is not limited to the exemplary embodiments described here. Example 1
[0061] See also Figure 1 to Figure 2 As shown, an electrode positioning system based on personalized brain segmentation includes: an image data processing unit, an electrode parameter acquisition unit, a target coordinate selection unit, an electrode target analysis unit, a brain area analysis processing unit, an electrode positioning analysis module and a display module.
[0062] The image data processing unit is used to segment the original image data of the brain. The specific processing method is as follows:
[0063] First, an MRI scan is performed on the user's brain to obtain the original image data of the user's brain, and then the original image data of the brain is preprocessed to obtain a preprocessed image. The specific preprocessing methods include: normalization, noise removal, and correction of geometric distortion of the image.
[0064] The convolution kernel is slid on the preprocessed image to extract features and perform segmentation. Specifically, the convolution kernel is a 3×3 matrix. The convolution kernel is slid along each position of the preprocessed image, and element-wise multiplication and addition operations are performed with the image pixels at that position to extract the edges, textures, and shapes in the preprocessed image. The feature map of each position in the preprocessed image is obtained, where the feature map is used to reflect the response intensity of the convolution kernel at different positions on the preprocessed image.
[0065] By combining multiple feature maps and processing them through subsequent fully connected layers, specifically: by inputting the feature map of each position into the fully connected layer, using the Softmax classifier to classify the features, and determining the category of the preprocessed image, when segmenting the preprocessed image, pixel-level classification is performed based on the information of the feature map, and each pixel is assigned to the corresponding category to achieve segmentation of the preprocessed image.
[0066] The electrode parameter acquisition unit is used to collect and acquire the physical parameters of the electrode to obtain the electrode parameters. The specific collection and acquisition method is: scanning the electrode through a scanning electron microscope to obtain a cross-sectional image of the electrode, and measuring based on the cross-sectional image of the electrode to obtain the electrode cross-sectional shape, electrode size and electrode thickness. The electrode cross-sectional shape, electrode size and electrode thickness constitute the electrode parameters.
[0067] The target coordinate selection unit is used to select the coordinates of a specific position in the brain and determine the target coordinates for electrode positioning. It should be noted that the target coordinates can be used to locate and mark the brain area or structure of interest for further analysis and research.
[0068] Among them, the target coordinates can be selected as follows:
[0069] (1) By selecting the brain area to be stimulated, the brain area can be selected by using a multi-level index or by inputting the index number of the target brain area. The coordinates will be set to the geometric center coordinates of the brain area.
[0070] (2) Manually input the XYZ coordinates;
[0071] (3) Accurately select the location to be stimulated based on the MRI image of brain region segmentation.
[0072] The electrode target analysis unit is used to compare and analyze the electrode parameters and target coordinates, determine the standardization of the electrode parameter information and target coordinates, and then determine the consistency of the electrode parameters with the electrode parameters of the previous operation. For example, whether the electrode parameters have abnormal values (such as negative numbers), whether the target coordinates are abnormal, etc. The specific comparative analysis method is as follows:
[0073] By comparing the position of the electrode after implantation with the planned target position, check the matching degree of the shape and size of the electrode with the shape and size of the standard electrode. If the shape and size of the electrode match the shape and size of the standard electrode, then obtain the electrode parameters of the last operation and compare them with the current electrode parameters to obtain the rate of change of the current electrode parameters and the electrode parameters of the last operation. It should be noted that the shape of the electrode should match the shape and size of the target to ensure good contact and stimulation effects.
[0074] The brain region analysis and processing unit is used to perform brain region navigation calculations and use genetic algorithms and particle swarm algorithms to calculate the Pareto frontier.
[0075] It should be noted that the brain area navigation calculation method is as follows: Use neuroimaging technology to collect data on brain activity, pre-process the collected data, including removing noise, correcting motion artifacts, and extracting features, and establish a mathematical model based on the pre-processed data to describe the relationship between brain activity and brain areas. Use the established model to perform brain area navigation calculations. Specifically: By inputting brain activity data, the corresponding brain area position is predicted; and the precision of the navigation calculation results is evaluated.
[0076] The process of genetic algorithm is as follows:
[0077] 1. First, initialize the population and randomly generate a set of initial solutions;
[0078] 2. Calculate the fitness value of each solution based on the objective function of the problem;
[0079] 3. Select excellent solutions as parents according to the fitness value to reproduce offspring;
[0080] 4. Generate new offspring solutions by crossing over some genes of the parent solution;
[0081] 5. Perform genetic mutation on some offspring solutions to increase the diversity of solutions;
[0082] 6. Repeat steps 3-5 until the stopping condition is met, and select non-dominated solutions from the final population, which constitute the Pareto front.
[0083] The process of particle swarm algorithm is as follows:
[0084] 1. First, initialize the particle swarm and randomly generate a set of particles, each of which represents a potential solution;
[0085] 2. Evaluate the fitness of the particles and calculate the fitness value of each particle according to the objective function;
[0086] 3. Update the speed and position of the particles. Update the speed and position of the particles according to the current position, speed, individual optimal position and group optimal position of the particles;
[0087] 4. Repeat step 3 until the stopping condition is met, and select non-dominated solutions from the particle swarm to form the Pareto front.
[0088] The electrode positioning analysis module is used to obtain a result list that meets the target requirements from the Pareto front. Specifically, the contents of the result list are the channel positions of the electrodes and the corresponding current magnitudes, the electric field magnitudes of the reference target positions, and the average electric field magnitudes of the reference whole brain.
[0089] The display module is used to display the electric field distribution data of brain sections and three-dimensional models, the electric field statistics of brain regions, and the electric field display of user interaction points. Example 2
[0090] like Figure 2 As shown, this embodiment also specifically discloses an electrode positioning method based on personalized brain segmentation, which specifically includes the following steps:
[0091] Step 101, inputting MRI image data after personalized brain tissue segmentation and brain region segmentation;
[0092] Step 102, adding electrode parameters;
[0093] Step 103, select target coordinates:
[0094] Step 104, judging the standardization of the electrode parameter information and the target point, by comparing the position of the electrode after implantation with the planned target point position, checking the matching degree of the shape and size of the electrode with the shape and size of the standard electrode, if the shape and size of the electrode matches the shape and size of the standard electrode, it means that the parameters and the target point meet the standard, and then executing step 106, if the shape and size of the electrode does not match the shape and size of the standard electrode, it means that the parameters and the target point do not meet the standard, and then executing step 105;
[0095] Step 105, if the parameters and the target point in step 104 do not meet the specifications, modify the electrode parameter information through step 102 again;
[0096] Step 106, determining whether the electrode parameters have changed from the electrode parameters of the last operation, if changed, executing step 108, if not changed, executing step 107;
[0097] Step 107, calculating the leadfield matrix;
[0098] Step 108, performing brain region navigation calculation, using genetic algorithm and particle swarm algorithm to calculate the Pareto frontier;
[0099] Step 109, obtaining a result list that meets the target requirements through the Pareto front;
[0100] Step 110, select to save the result data, if you choose to save the result, then execute step 111, if you choose not to save the result, then execute step 112;
[0101] Step 111, saving the result data to a user-specified location;
[0102] Step 112, selecting electric field visualization, if electric field visualization is not performed, executing step 113, if electric field visualization is performed, executing step 114;
[0103] Step 113, the process ends;
[0104] Step 114, performing visualization calculation of brain electric field distribution by finite element method;
[0105] Step 115, displaying the electric field distribution data of the brain section and the three-dimensional model, the electric field statistics of the brain region, and the electric field display of the user interaction point.
[0106] In addition, those skilled in the art will appreciate that various aspects of the present invention may be illustrated and described by a number of patentable categories or situations, including any new and useful process, machine, product or combination of substances, or any new and useful improvements thereto. Accordingly, various aspects of the present invention may be performed entirely by hardware, entirely by software (including firmware, resident software, microcode, etc.), or by a combination of hardware and software. The above hardware or software may all be referred to as "data blocks", "modules", "engines", "units", "components" or "systems". In addition, various aspects of the present invention may be represented as a computer product located in one or more computer-readable media, which includes computer-readable program code.
[0107] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the invention belongs. It should also be understood that terms such as those defined in common dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant technology and should not be interpreted in an idealized or extremely formal sense, unless explicitly defined as such herein.
[0108] The above is an explanation of the present invention and should not be considered as a limitation thereof. Although several exemplary embodiments of the present invention have been described, it will be readily appreciated by those skilled in the art that many modifications may be made to the exemplary embodiments without departing from the novel teachings and advantages of the present invention. Therefore, all such modifications are intended to be included within the scope of the present invention as defined in the claims. It should be understood that the above is an explanation of the present invention and should not be considered as being limited to the specific embodiments disclosed, and modifications to the disclosed embodiments and other embodiments are intended to be included within the scope of the appended claims. The present invention is defined by the claims and their equivalents.
Claims
1. An electrode positioning system based on personalized brain segmentation, comprising an image data processing unit, an electrode parameter acquisition unit, a target coordinate selection unit, an electrode target analysis unit, a brain region analysis processing unit, an electrode positioning analysis module and a display module, characterized in that: The image data processing unit is used to perform segmentation processing on the original image data of the brain; The electrode parameter acquisition unit is used to collect and acquire the physical parameters of the electrode to obtain the electrode parameters; The target coordinate selection unit is used to select the coordinates of a specific position in the brain and determine the target coordinates for electrode positioning; The electrode target point analysis unit is used to compare and analyze the electrode parameters and target point coordinates, determine the standardization of the electrode parameter information and the target point coordinates, and then determine the consistency of the electrode parameters with the electrode parameters of the previous operation; The electrode parameters and target coordinates are compared and analyzed, and the specific comparison and analysis method is as follows: By comparing the position of the electrode after implantation with the planned target position, the shape and size of the electrode are checked to see if they match the shape and size of the standard electrode. If the shape and size of the electrode match the shape and size of the standard electrode, the electrode parameters of the last operation are obtained and compared with the current electrode parameters to obtain the change rate of the current electrode parameters and the electrode parameters of the last operation. The brain region analysis and processing unit is used to perform brain region navigation calculations and use genetic algorithms and particle swarm algorithms to calculate the Pareto frontier; The electrode positioning analysis module is used to obtain a result list that meets the target requirements from the Pareto front, wherein the contents of the result list are the channel positions of the electrode placement and the corresponding current magnitudes, the electric field magnitude of the reference target position, and the average electric field magnitude of the reference whole brain; The display module is used to display the electric field distribution data of brain sections and three-dimensional models, the electric field statistics of brain regions, and the electric field display of user interaction points.
2. The electrode positioning system based on personalized brain segmentation according to claim 1, characterized in that: The raw image data of the brain is segmented and processed in the following specific manner: First, an MRI scan is performed on the user's brain to obtain raw image data of the user's brain, and then the raw image data of the brain is preprocessed to obtain a preprocessed image; Slide the convolution kernel on the preprocessed image to extract features and perform segmentation processing. Specifically: the convolution kernel is a 3×3 matrix. Slide the convolution kernel along each position of the preprocessed image and perform element multiplication and addition operations with the image pixels at that position to extract the edges, textures, and shapes in the preprocessed image, and obtain the feature map of each position in the preprocessed image; By combining multiple feature maps and processing them through subsequent fully connected layers, specifically: by inputting the feature map of each position into the fully connected layer, using the Softmax classifier to classify the features, and determining the category of the preprocessed image, when segmenting the preprocessed image, pixel-level classification is performed based on the information of the feature map, and each pixel is assigned to the corresponding category to achieve segmentation of the preprocessed image.
3. The electrode positioning system based on personalized brain segmentation according to claim 1, characterized in that: The physical parameters of the electrode are collected and acquired in a specific manner: the electrode is scanned by a scanning electron microscope to obtain a cross-sectional image of the electrode, and measurement is performed based on the cross-sectional image of the electrode to obtain the electrode cross-sectional shape, electrode size and electrode thickness, and the electrode parameters are constituted by the electrode cross-sectional shape, electrode size and electrode thickness.
4. The electrode positioning system based on personalized brain segmentation according to claim 1, characterized in that: The target coordinates can be selected in the following ways: (1) By selecting the brain area to be stimulated, the brain area can be selected by using a multi-level index or by inputting the index number of the target brain area. The coordinates will be set to the geometric center coordinates of the brain area. (2) Manually input the XYZ coordinates; (3) Accurately select the location to be stimulated based on the MRI image of brain region segmentation.
5. A positioning method for an electrode positioning system based on personalized brain segmentation according to claim 1, characterized in that: The specific steps include: Step 101, inputting MRI image data after personalized brain tissue segmentation and brain region segmentation; Step 102, adding electrode parameters; Step 103, select target coordinates: Step 104, judging the standardization of the electrode parameter information and the target point, by comparing the position of the electrode after implantation with the planned target point position, checking the matching degree of the shape and size of the electrode with the shape and size of the standard electrode, if the shape and size of the electrode matches the shape and size of the standard electrode, it means that the parameters and the target point meet the standard, and then executing step 106, if the shape and size of the electrode does not match the shape and size of the standard electrode, it means that the parameters and the target point do not meet the standard, and then executing step 105; Step 105, if the parameters and the target point in step 104 do not meet the specifications, modify the electrode parameter information through step 102 again; Step 106, determining whether the electrode parameters have changed from the electrode parameters of the last operation, if changed, executing step 108, if not changed, executing step 107; Step 107, calculating the leadfield matrix; Step 108, performing brain region navigation calculation, using genetic algorithm and particle swarm algorithm to calculate the Pareto frontier; Step 109, obtaining a result list that meets the target requirements through the Pareto front; Step 110, select to save the result data, if you choose to save the result, then execute step 111, if you choose not to save the result, then execute step 112; Step 111, saving the result data to a user-specified location; Step 112, selecting electric field visualization, if electric field visualization is not performed, executing step 113, if electric field visualization is performed, executing step 114; Step 113, the process ends; Step 114, performing visualization calculation of brain electric field distribution by finite element method; Step 115, displaying the electric field distribution data of the brain section and the three-dimensional model, the electric field statistics of the brain region, and the electric field display of the user interaction point.
