CN105849777B - A kind of cerebral cortex electrode merges the method and device of display with magnetic resonance image - Google Patents
A kind of cerebral cortex electrode merges the method and device of display with magnetic resonance image Download PDFInfo
- Publication number
- CN105849777B CN105849777B CN201580003336.6A CN201580003336A CN105849777B CN 105849777 B CN105849777 B CN 105849777B CN 201580003336 A CN201580003336 A CN 201580003336A CN 105849777 B CN105849777 B CN 105849777B
- Authority
- CN
- China
- Prior art keywords
- image
- implantation
- electrode
- registration
- scale
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 210000003710 cerebral cortex Anatomy 0.000 title claims abstract description 52
- 238000000034 method Methods 0.000 title claims abstract description 52
- 238000002595 magnetic resonance imaging Methods 0.000 claims abstract description 168
- 238000002513 implantation Methods 0.000 claims abstract description 165
- 210000004556 brain Anatomy 0.000 claims abstract description 54
- 210000005257 cortical tissue Anatomy 0.000 claims abstract description 45
- 238000007917 intracranial administration Methods 0.000 claims abstract description 19
- 238000002591 computed tomography Methods 0.000 claims abstract description 18
- 230000010354 integration Effects 0.000 claims abstract description 17
- 230000000694 effects Effects 0.000 claims abstract description 14
- 238000007794 visualization technique Methods 0.000 claims abstract description 9
- 238000012800 visualization Methods 0.000 claims abstract description 8
- 238000013519 translation Methods 0.000 claims description 32
- 238000000605 extraction Methods 0.000 claims description 28
- 230000008569 process Effects 0.000 claims description 17
- 230000004927 fusion Effects 0.000 claims description 14
- 238000006243 chemical reaction Methods 0.000 claims description 10
- 238000000638 solvent extraction Methods 0.000 claims description 6
- 238000003709 image segmentation Methods 0.000 claims description 5
- 238000013507 mapping Methods 0.000 claims description 4
- 230000008676 import Effects 0.000 claims description 3
- 239000000284 extract Substances 0.000 description 8
- 239000007943 implant Substances 0.000 description 6
- 238000004070 electrodeposition Methods 0.000 description 5
- 210000001519 tissue Anatomy 0.000 description 5
- 230000008859 change Effects 0.000 description 4
- 230000002490 cerebral effect Effects 0.000 description 3
- 230000003902 lesion Effects 0.000 description 3
- 239000003086 colorant Substances 0.000 description 2
- 230000001054 cortical effect Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000005611 electricity Effects 0.000 description 2
- 230000004807 localization Effects 0.000 description 2
- 230000011218 segmentation Effects 0.000 description 2
- 208000022306 Cerebral injury Diseases 0.000 description 1
- 230000002411 adverse Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 210000000988 bone and bone Anatomy 0.000 description 1
- 210000005013 brain tissue Anatomy 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 239000000155 melt Substances 0.000 description 1
- 239000002184 metal Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 210000002569 neuron Anatomy 0.000 description 1
- 238000010422 painting Methods 0.000 description 1
- 230000000803 paradoxical effect Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
- 210000003625 skull Anatomy 0.000 description 1
- 210000004872 soft tissue Anatomy 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/0002—Inspection of images, e.g. flaw detection
- G06T7/0012—Biomedical image inspection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/14—Transformations for image registration, e.g. adjusting or mapping for alignment of images
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10072—Tomographic images
- G06T2207/10081—Computed x-ray tomography [CT]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10072—Tomographic images
- G06T2207/10088—Magnetic resonance imaging [MRI]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20212—Image combination
- G06T2207/20221—Image fusion; Image merging
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30004—Biomedical image processing
- G06T2207/30016—Brain
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30004—Biomedical image processing
- G06T2207/30088—Skin; Dermal
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Medical Informatics (AREA)
- Radiology & Medical Imaging (AREA)
- Quality & Reliability (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Magnetic Resonance Imaging Apparatus (AREA)
- Apparatus For Radiation Diagnosis (AREA)
Abstract
A kind of cerebral cortex electrode merges the method and device of display with magnetic resonance image, and method includes: to take the MRI image and the patient that progress MRI scan obtains before patient's implantation intracranial electrode to be implanted into intracranial electrode to carry out CT image (S01) after the implantation that CT scan obtains later;By CT image registration (S02) under the same coordinate space after MRI image and implantation;Electrode image information (S03) is extracted from the CT image after registration;Brain cortical tissue's image information (S04) is extracted from the MRI image after registration;Electrode image information and brain cortical tissue's image information are subjected to Space integration, and the information after Space integration is shown into (S05) by three-dimensional visualization method;Effect and angle that three-dimensional visualization is shown are adjusted, and the result after adjusting is converted into the format needed output and saves (S06).Implement the method and device that cerebral cortex electrode of the invention merges display with magnetic resonance image, has the advantages that the location information that can obtain electrode.
Description
Technical field
The present invention relates to information to merge field, in particular to a kind of cerebral cortex electrode merges display with magnetic resonance image
Method and device.
Background technique
Surgical operation is to treat the important means of certain Cerebral Injuries.The key of operative treatment is lesion localization, that is,
Find out hysterical neuron pool.Currently, intracranial electrode is identified that the goldstandard of positioning lesion, intracranial electrode can directly be remembered
The electrical activity of brain for recording cerebral cortex and internal brain tissue, may detect the cortex paradoxical discharge within the scope of 1cm, have figure clear
The advantages that clear, high sensitivity.Those noninvasive tests cannot be specified with the case of lesion, intracranial electrode eeg monitoring is a kind of peace
Complete reliable localization method.
After encephalic implant electrode, the location distribution information of electrode in the brain can be obtained by CT scan.But
Letter of the CT scan to brain inner cortex tissue and insensitive, in terms of can not being obtained by CT scan in relation to brain inner cortex
Breath, this is unfavorable for the location information for obtaining electrode.MRI scan is the best method for obtaining brain inner cortex organizational information, but
Be due to implant electrode it is usually metal electrode, MRI scan can not be carried out after the implantation.
Summary of the invention
The technical problem to be solved in the present invention is that for the above-mentioned location information for being unfavorable for obtaining electrode of the prior art
Defect, provide a kind of location information that can obtain electrode cerebral cortex electrode merged with magnetic resonance image display method and
Device.
The technical solution adopted by the present invention to solve the technical problems is: constructing a kind of cerebral cortex electrode and magnetic resonance figure
As the method shown in fusion, include the following steps:
A the MRI image and patient implantation intracranial electrode that MRI scan obtains are carried out before) taking patient to be implanted into intracranial electrode
CT image after the implantation that progress CT scan obtains later;
B) by CT image registration after the MRI image and implantation under the same coordinate space;
C electrode image information) is extracted from the CT image after registration;
D brain cortical tissue's image information) is extracted from the MRI image after registration;
E the electrode image information and brain cortical tissue's image information) are subjected to Space integration, and will be after Space integration
Information shown by three-dimensional visualization method;
F effect and angle that three-dimensional visualization is shown) are adjusted, and the result after adjusting is converted into the format needed and is exported
It saves.
In the method that cerebral cortex electrode of the present invention merges with magnetic resonance image display, the step B) into one
Step includes:
B1) CT image after the MRI image and implantation is transformed under the same coordinate system, and by the object of the MRI image
The physical centre of CT image is moved to the same point behind reason center and implantation;
B2) using the first scale respectively to the portion in CT image after the parts of images pixel and implantation in the MRI image
Partial image pixel is rotated, translated and is compared, the profile of CT image after the profile of the MRI image and the implantation
Similarity reaches the first similarity;
It B3) will be after the parts of images pixel and implantation in the MRI image after the adjusting of the first scale using the second scale
Parts of images pixel in CT image carries out rotation and translation again;The number of pixels that first scale is included is greater than described
The number of pixels that second scale is included;
B4) judge by the second scale adjust after MRI image and implantation after CT image corresponding position pixel similarity
Whether second similarity is reached, if so, terminating registration process;Otherwise, return step B3);Second similarity is greater than described
First similarity.
In the method that cerebral cortex electrode of the present invention merges with magnetic resonance image display, the step C) into one
Step includes:
C1) the gray threshold range of the CT image after setting registration, the gray threshold range of the setting is by electrode image
It is included;
C2) image zooming-out that image grayscale is fallen within the scope of the gray threshold of setting is come out and is used as electrode image information.
In the method that cerebral cortex electrode of the present invention merges display with magnetic resonance image, in the step A) it
Before further include:
A0 CT image before the implantation that progress CT scan obtains before) taking patient to be implanted into intracranial electrode;
In the step A) and step B) between further include:
B0) by CT image registration before the MRI image and implantation under the same coordinate space.
In the method that cerebral cortex electrode of the present invention merges display with magnetic resonance image, the step B0) into
One step includes:
B01) by the MRI image and before being implanted into, CT image is transformed under the same coordinate system, and by the object of the MRI image
Reason center and the physical centre for being implanted into preceding CT image are moved to the same point;
B02) using the first scale respectively to the parts of images pixel in the MRI image and the portion being implanted into preceding CT image
Partial image pixel is rotated, translated and is compared, the profile of CT image before the profile of the MRI image and the implantation
Similarity reaches the first similarity;
It B03) will be before the parts of images pixel and implantation in the MRI image after the adjusting of the first scale using the second scale
Parts of images pixel in CT image carries out rotation and translation again;The number of pixels that first scale is included is greater than described
The number of pixels that second scale is included;
B04 the similarity of CT image corresponding position pixel before) judging the MRI image after the second scale is adjusted and being implanted into
Whether second similarity is reached, if so, terminating registration process;Otherwise, return step B03);Second similarity is greater than described
First similarity.
CT in the method that cerebral cortex electrode of the present invention merges display with magnetic resonance image, after the registration
Image include registration after implantation before CT image and registration after implantation after CT image, the step C) further comprise:
C1 ') CT image after the implantation after the registration is subtracted to the implantation after the registration before CT image be left gray scale difference
Value is not electrode image information for 0 position.
In the method that cerebral cortex electrode of the present invention merges with magnetic resonance image display, the step D) into one
Step includes:
D1) seed point is arbitrarily chosen from the MRI image after registration;
D2 it) chooses its pixel value centered on the seed point, in the region that radius is the first setting value and falls in setting
Point in section, and incorporate it into the region where the seed point;
D3) radius is expanded, and judge in the region after expanding whether there is also its pixel value fall in it is described
Point in set interval executes step D4 if so, incorporating it into the region where the seed point);Otherwise, by described kind
Region where son point is as brain cortical tissue's image information;
D4) return step D3).
In the method that cerebral cortex electrode of the present invention merges with magnetic resonance image display, the step E) into one
Step includes:
E1) data type of the data type of the electrode image information and brain cortical tissue's image information is turned
Change identical data type into;
E2) by the color map of setting, respectively not by each pixel in electrode image and brain cortical tissue's image
Same gray value is mapped to different color and transparency, adjusts its color and transparency respectively;
E3) fused image is shown by iso-surface patch or volume drawing.
In the method that cerebral cortex electrode of the present invention merges display with magnetic resonance image, first scale
Size is eight pixels, and the size of second scale is a pixel, before the MRI image, implantation after CT image and implantation
CT image is the image file of DICOM format, and the format of the needs is DICOM file, picture file or video file.
The invention further relates to a kind of device realized above-mentioned cerebral cortex electrode and merge with magnetic resonance image the method for display,
Include:
Registration unit: it is used for CT image registration after MRI image and implantation under the same coordinate space;
Electrode information extraction unit: for extracting electrode image information from the CT image after registration;
Cerebral cortex information extraction unit: for extracting brain cortical tissue's image information from the MRI image after registration;
Information fusion unit: melt for the electrode image information and brain cortical tissue's image information to be carried out space
It closes, and the information after Space integration is shown by three-dimensional visualization method;
Display effect adjusts unit: for adjusting the effect and angle that three-dimensional visualization is shown, and by the result after adjusting
The format needed output is converted into save.
In device of the present invention, the registration unit further comprises:
Coordinate transferring: for CT image after the MRI image and implantation to be transformed under the same coordinate system, and by institute
The physical centre of the physical centre and CT image after implantation that state MRI image is moved to the same point;
Rotation translation comparison module after implantation: for using the first scale respectively to the parts of images in the MRI image
Parts of images pixel after pixel and implantation in CT image is rotated, translated and is compared, until the MRI image profile with
The similarity of the profile of CT image reaches the first similarity after the implantation;
Translation module is rotated after implantation: for using the second scale will be in the MRI image after the adjusting of the first scale
Parts of images pixel after parts of images pixel and implantation in CT image carries out rotation and translation again;First scale is wrapped
The number of pixels contained is greater than the number of pixels that second scale is included;
Similarity judgment module after implantation: scheme for CT after judging MRI image and implantation after the second scale is adjusted
As whether the similarity of corresponding position pixel reaches the second similarity, if so, terminating registration process;Otherwise, continue second
The adjusting of scale;Second similarity is greater than first similarity.
In device of the present invention, the electrode information extraction unit further comprises:
Gray threshold setting module: for setting the gray threshold range of the CT image after being registrated, the gray scale of the setting
Electrode image is included by threshold range;
Electrode image zooming-out module: the image zooming-out for falling in image grayscale within the scope of the gray threshold of setting comes out
As electrode image information.
In device of the present invention, described device further include:
Registration unit before being implanted into: it is used for CT image registration before the MRI image and implantation under the same coordinate space.
In device of the present invention, registration unit further comprises before the implantation:
Coordinate transferring before being implanted into: for CT image before the MRI image and implantation to be transformed under the same coordinate system,
And the physical centre of CT image is moved to the same point by the physical centre of the MRI image and before being implanted into;
Rotation translation comparison module before implantation: for using the first scale respectively to the parts of images in the MRI image
Pixel and the parts of images pixel before being implanted into CT image are rotated, translated and are compared, until the MRI image profile with
The similarity of the profile of CT image reaches the first similarity before the implantation;
Translation module is rotated before implantation: for using the second scale will be in the MRI image after the adjusting of the first scale
Parts of images pixel and the parts of images pixel being implanted into preceding CT image carry out rotation and translation again;First scale is wrapped
The number of pixels contained is greater than the number of pixels that second scale is included;
Similarity judgment module before being implanted into: for CT figure before judging the MRI image after the second scale is adjusted and being implanted into
As whether the similarity of corresponding position pixel reaches the second similarity, if so, terminating registration process;Otherwise, return continues
Second scale is adjusted;Second similarity is greater than first similarity.
In device of the present invention, the CT image after the registration include registration after implantation before CT image and registration
CT image after implantation afterwards, the electrode information extraction unit further comprises:
CT image subtraction module: CT image before the implantation after CT image after the implantation after the registration to be subtracted to the registration
It is electrode image information that remaining gray scale difference value, which is not 0 position,.
In device of the present invention, the cerebral cortex information extraction unit further comprises:
Seed point chooses module: for arbitrarily choosing a seed point from the MRI image after registration;
Seed point chooses module in set interval: for centered on the seed point, radius be first setting value
The point that its pixel value is fallen in set interval is chosen in region, and incorporates it into the region where the seed point;
Pixel value judgment module in set interval: for expanding the radius, and judge in the region after expanding
Whether there is also its pixel values to fall in the point in the set interval, if so, incorporating it into the region where the seed point;
Otherwise, using the region where the seed point as brain cortical tissue's image information;
Pixel value judgment module: for continuing the judgement of pixel value in set interval.
In device of the present invention, the information fusion unit further comprises:
Data type conversion module: for scheming the data type of the electrode image information and the brain cortical tissue
As the data type conversion of information is at identical data type;
Gray value mapping block: for the color map by setting, respectively by electrode image and brain cortical tissue
The different gray value of each pixel is mapped to different color and transparency in image, adjusts its color and transparency respectively;
Image display: for being shown fused image by iso-surface patch or volume drawing.
In device of the present invention, the size of first scale is eight pixels, the size of second scale
For a pixel, CT image is the image file of DICOM format after CT image and implantation before the MRI image, implantation, described
The format needed is DICOM file, picture file or video file.
Implement the method and device that cerebral cortex electrode of the invention merges display with magnetic resonance image, has beneficial below
Effect: due to carry out the obtained MRI image of MRI scan before taking patient to be implanted into intracranial electrode and the patient be implanted into intracranial electrode it
CT image, is then registrated, then by extraction process by CT image after the implantation that progress CT scan obtains afterwards with MRI image
The fusion of electrode information is shown on MRI image, can be seen cerebral tissue information in this way and be seen the position letter of electrode
Breath, so its location information that can obtain electrode.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is that cerebral cortex electrode of the present invention is merged with magnetic resonance image in method and device one embodiment of display
Flow chart;
Fig. 2 is in the embodiment that CT image registration after MRI image and implantation is specific under the same coordinate space
Flow chart;
Fig. 3 is in the embodiment from specific in a kind of situation for extracting electrode image information in the CT image after registration
Flow chart;
Fig. 4 is in the embodiment that CT image registration before MRI image and implantation is specific under the same coordinate space
Flow chart;
Fig. 5 is the specific stream for extracting brain cortical tissue's image information in the embodiment from the MRI image after registration
Cheng Tu;
Fig. 6 be electrode image information and brain cortical tissue's image information are subjected to Space integration in the embodiment, and
The specific flow chart that information after Space integration is shown by three-dimensional visualization method;
Fig. 7 is the structural schematic diagram of device in the embodiment.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art without creative labor it is obtained it is all its
His embodiment, shall fall within the protection scope of the present invention.
In the embodiment for merging the method and device of display with magnetic resonance image in cerebral cortex electrode of the present invention, brain
The flow chart that cortical electrode merges the method for display with magnetic resonance image is as shown in Figure 1.In Fig. 1, the cerebral cortex electrode and magnetic
The method of resonance image fusion display includes the following steps:
Step S01 carries out the MRI image that MRI scan obtains before taking patient to be implanted into intracranial electrode and the patient is implanted into encephalic
CT image after the implantation that progress CT scan obtains after electrode: in this step, MRI is carried out before taking patient to be implanted into intracranial electrode and is swept
The MRI image retouched and the patient carry out CT image after the implantation that CT scan obtains after being implanted into intracranial electrode.Above-mentioned MRI figure
CT image is the image file of DICOM format after picture and implantation.
Step S02 is by CT image registration after MRI image and implantation under the same coordinate space: in this step, passing through tune
With three-dimensional space data registration Algorithm, by CT image registration after MRI image and implantation, CT after the MRI image and implantation after registration
The data of image are convenient for data fusion under the same coordinate space.It is noted that being provided with one in the present embodiment
Software systems, the software systems merge display system with magnetic resonance image for cerebral cortex electrode.First by MRI image and implantation
CT image copies on the host where cerebral cortex electrode merges display system with magnetic resonance image afterwards, by this cerebral cortex
The software that electrode merges display system with magnetic resonance image imports the data of CT image after MRI image and implantation, then passes through tune
With three-dimensional space data registration Algorithm, by CT image registration after MRI image and implantation under the same coordinate space.About specific
How to be registrated, it is subsequent to will be described in detail.
Step S03 extracts electrode image information from the CT image after registration: in this step, from the CT image after registration
Electrode image information is extracted, specifically extracts electrode image information from the CT image after registration using electrode extraction algorithm.
Step S04 is from extraction brain cortical tissue's image information in the MRI image after registration: in the data of MRI image not
Only include brain cortical tissue's information, further comprises other location informations such as skull, neck, and this partial information is for doctor
Observation electrode position can adversely affect.In this step, brain cortical tissue's image letter is extracted from the MRI image after registration
Breath, is specifically extracted the information of brain cortical tissue from the MRI image after registration using image segmentation algorithm, by it
He gets rid of garbage.
Electrode image information and brain cortical tissue's image information are carried out Space integration by step S05, and by Space integration
Information afterwards is shown by three-dimensional visualization method: in this step, by electrode image information and brain cortical tissue's image
Information carries out Space integration, and the information after Space integration is shown by three-dimensional visualization method.
Step S06 adjusts the effect and angle that three-dimensional visualization is shown, and the result after adjusting is converted into the format needed
Output saves: in this step, can merge and intuitively see in display system greatly with magnetic resonance image in this cerebral cortex electrode
The relevant information of cerebral cortex and electrode position can also observe from different directions brain by mouse drag, adjustable
The effect and angle that three-dimensional visualization is shown, and the result after adjusting is converted into the format needed output and saves.It is worth mentioning
It is that the format of above-mentioned needs is DICOM file, picture file or video file, the result of different-format can be used for various
Different purposes.Since the electrode information fusion display of extraction process on MRI image, can be seen that cerebral tissue is believed in this way
Breath, and the location information of electrode is seen simultaneously, so its location information that can obtain electrode.
For the present embodiment, above-mentioned steps S02 can also be refined further, and the flow chart after refinement is as shown in Figure 2.
In Fig. 2, above-mentioned steps S02 further comprises:
CT image after MRI image and implantation is transformed under the same coordinate system by step S21, and will be in the physics of MRI image
The physical centre of CT image is moved to the same point after the heart and implantation: registration is to make CT image pair after MRI image and implantation
The pixel for the position answered reaches spatially consistent, since CT image is from different equipment after MRI image and implantation, rate respectively
Also different, the registration strategies more differentiated are used in the present embodiment.In this step, by CT image after MRI image and implantation
It is transformed under the same coordinate system, and the physical centre of CT image after the physical centre of MRI image and implantation is moved to same
Point, two such image will essentially coincide, and do so the number that can reduce mobile number and rotation.
Step S22 is using the first scale respectively to the portion in CT image after the parts of images pixel and implantation in MRI image
Partial image pixel is rotated, translated and is compared, and the similarity of the profile of CT image reaches after the profile of MRI image and implantation
To the first similarity: in this step, using the first scale (coarse scale) respectively in MRI image parts of images pixel and
Parts of images pixel after implantation in CT image is rotated, translated and is compared, and CT schemes after the profile of MRI image and implantation
The profile of picture essentially coincides, that is, the profile of MRI image and the profile of CT image after implantation meet the first similarity of setting.
Such as: the first similarity is set as 90%, and certainly, under some cases of the present embodiment, the first similarity may be other
Value.In this first embodiment, the size of the first scale is eight pixels, certainly, under some cases of this first embodiment, the
The size of one scale can also be adjusted to other values, specifically be adjusted to how many, can determine as the case may be.
Step S23 uses the second scale by the parts of images pixel and plant in the MRI image after the adjusting of the first scale
The parts of images pixel entered in rear CT image carries out rotation and translation again: in this step, will pass through first using the second scale
Parts of images pixel after the parts of images pixel and implantation in MRI image after scale adjusting in CT image is rotated again
And translation, specifically, namely using the second scale (accurate scale), and its parameter is carried out initially with one layer of result
Change, the process of the above-mentioned rotation and translation of iteration, until reaching most accurate scale.It is noted that the first scale is included
Number of pixels be greater than the second scale number of pixels for being included;The size of second scale is a pixel, certainly, originally first
Under some cases of embodiment, the size of the second scale can also be adjusted as the case may be.
Step S24 judges the phase of CT image corresponding position pixel after MRI image and implantation after the second scale is adjusted
Whether reach the second similarity like degree: in this step, judging CT image after MRI image and implantation after the second scale is adjusted
Whether the similarity of corresponding position pixel reaches the second similarity, specifically, using mutual information similitude comparison algorithm judgement warp
Whether the similarity of CT image corresponding position pixel it is similar reach second after MRI image and implantation after crossing the adjusting of the second scale
Degree, if it is determined that result be it is yes, then follow the steps S25;Otherwise, return step S23.It is noted that this first implementation
In example, the second similarity is greater than the first similarity.Such as: the second similarity can be set as 99.8%, certainly, in the present embodiment
Some cases under, the second similarity also can be set as other values.
Step S25 terminates registration process: if the judging result of above-mentioned steps S24 be it is yes, execute this step, this step
In, terminate the registration process with CT image after implantation of MRI image.It is this from thick to thin, in large scale entirety, in small ruler
The method that details is seen on degree can dramatically improve registration success rate.
For this first embodiment, above-mentioned steps S03 can also be refined further, flow chart such as Fig. 3 after refinement
It is shown.In Fig. 3, above-mentioned steps S03 further comprises:
The gray threshold range of CT image after step S31 setting registration, the gray threshold range of setting is by electrode image
Be included: the gray scale that Threshold Segmentation Algorithm is suitable for electrode image is clearly distinguishable from the case where gray scale of soft tissue and bone and flesh.
In this step, the gray threshold range of the CT image after setting registration, the gray threshold range of setting by electrode image include
It is interior, it is worth mentioning at this point that, display in the CT image (referring here to CT image after the implantation after registration) after registration
There is the gray threshold range of setting.
Step S32, which comes out the image zooming-out that image grayscale is fallen within the scope of the gray threshold of setting, is used as electrode image to believe
Breath: in this step, the image zooming-out that image grayscale is fallen within the scope of the gray threshold of setting is come out and is used as electrode image information.
Specifically, as the case may be the gray threshold range of the setting can be adjusted to close near the gray threshold range of setting
Suitable range, that is, it is adjusted to required tonal range, and its image grayscale is fallen in required tonal range
Image zooming-out, which comes out, is used as electrode image information, it is worth mentioning at this point that, by the way that suitable tonal range is arranged, by most of electrode
Image is included, and can be removed most of non-electrode image, be left electrode, can be obtained by electrode image information in this way.
It is noted that the cerebral cortex electrode melts with magnetic resonance image in order to preferably extract electrode position information
The method for closing display also needs to include some steps, as shown in Figure 1, before above-mentioned steps S01 further include:
Step S00 carries out CT image before the implantation that CT scan obtains before taking patient to be implanted into intracranial electrode: in this step, taking
Patient carries out CT image before the implantation that CT scan obtains before being implanted into intracranial electrode, then imported into CT image before the implantation
It states cerebral cortex electrode and merges display system with magnetic resonance image.CT image is the image file of DICOM format before the implantation.
Between above-mentioned steps S01 and step S02 further include:
Step S20 is by MRI image and is implanted into preceding CT image registration under the same coordinate space: in this step, MRI being schemed
CT image registration is under the same coordinate space before picture and implantation.It is subsequent to will be described in detail on how to be registrated.
For the present embodiment, above-mentioned steps S20 can also be refined further, and the flow chart after refinement is as shown in Figure 4.
In Fig. 4, above-mentioned steps S20 further comprises:
By MRI image and before being implanted into, CT image is transformed under the same coordinate system step S201, and will be in the physics of MRI image
The heart and physical centre of CT image is moved to the same point before being implanted into: in this step, registration be in order to make MRI image and implantation before
The pixel of the corresponding position of CT image reaches spatially consistent, and due to MRI image and before being implanted into, CT image is set from different
Standby, rate is also different respectively, and the registration strategies more differentiated are used in the present embodiment.In this step, by MRI image and implantation
Preceding CT image is transformed under the same coordinate system, and the physical centre of CT image before the physical centre of MRI image and implantation is mobile
To the same point, two such image will be essentially coincided, and do so the number that can reduce mobile number and rotation.
Step S202 is using the first scale respectively to the parts of images pixel in MRI image and the portion being implanted into preceding CT image
Partial image pixel is rotated, translated and is compared, until the similarity of the profile and the profile for being implanted into preceding CT image of MRI image reaches
To the first similarity: in this step, using the first scale (coarse scale) respectively in MRI image parts of images pixel and
Parts of images pixel before being implanted into CT image is rotated, translated and is compared, and CT schemes before the profile of MRI image and implantation
The profile of picture essentially coincides, that is, the profile of MRI image and the profile of the preceding CT image of implantation meet the first similarity of setting.
In this first embodiment, the size of the first scale is eight pixels, certainly, under some cases of this first embodiment, first
The size of scale can also be adjusted to other values, specifically be adjusted to how many, can determine as the case may be.
Step S203 uses the second scale by the parts of images pixel and plant in the MRI image after the adjusting of the first scale
Parts of images pixel before entering in CT image carries out rotation and translation again: in this step, will pass through first using the second scale
Parts of images pixel before the parts of images pixel and implantation in MRI image after scale adjusting in CT image is rotated again
And translation, specifically, namely using the second scale (accurate scale), and its parameter is carried out initially with one layer of result
Change, the process of the above-mentioned rotation and translation of iteration, until reaching most accurate scale.It is noted that the first scale is included
Number of pixels be greater than the second scale number of pixels for being included;The size of second scale is a pixel, certainly, originally first
Under some cases of embodiment, the size of the second scale can also be adjusted as the case may be.
The phase of CT image corresponding position pixel before step S204 judges the MRI image after the second scale is adjusted and is implanted into
Whether reach the second similarity like degree: in this step, CT image before judging the MRI image after the second scale is adjusted and being implanted into
Whether the similarity of corresponding position pixel reaches the second similarity, specifically, using mutual information similitude comparison algorithm judgement warp
Whether the similarity for crossing the first CT image after the second scale is adjusted and MRI image corresponding position pixel reaches the second similarity,
If it is determined that result be it is yes, then follow the steps S205;Otherwise, return step S203.It is noted that in the present embodiment,
Second similarity is greater than the first similarity.
Step S205 terminates registration process: if the judging result of above-mentioned steps S204 be it is yes, execute this step.This step
In rapid, terminate to MRI image and be implanted into the registration process of preceding CT image.After being namely registrated, CT after CT image, implantation before being implanted into
Image and MRI image are convenient for data fusion under the same coordinate system in this way.It is this from thick to thin, in large scale entirety,
Registration success rate can be dramatically improved in the method for small scale details.
It is noted that the case where carrying out CT scan after carrying out CT scan and implant electrode before implant electrode
Under, at this moment, the CT image after registration include registration after implantation before CT image and registration after implantation after CT image, extract electricity
When the image information of pole, extraction step used in above-mentioned steps S03 is as follows:
CT image is left the position that gray scale difference value is not 0 before implantation after CT image after implantation after registration to be subtracted to registration
As electrode image information: the present embodiment use subtracts each other partitioning algorithm and extracts electrode image information, this subtracts each other the think of of partitioning algorithm
Want to subtract each other two images, it is 0 that the identical point of same position pixel, which subtracts each other rear gray value, in image, and being left gray scale is not 0
The as difference of two images.The basis for subtracting each other partitioning algorithm is registration, CT image and CT image after implantation before being theoretically implanted into
It is registrated under the same coordinate system respectively, the difference of such two images is only having electrodeless, therefore subtracting each other by two images
Electrode can be extracted.In this step, CT image is remained before the implantation after CT image after the implantation after registration to be subtracted to registration
It is electrode image information that lower gray scale difference value, which is not 0 position,.Cerebral cortex electrode merges display system meeting with magnetic resonance image
Made jointly by the comparison algorithm and Threshold Segmentation Algorithm of CT image after CT image before the implantation after registration and the implantation after registration
With extracting the location information of implant electrode, thus can preferably extract electrode position information.
For the present embodiment, above-mentioned steps S04 can also be refined further, and the flow chart after refinement is as shown in Figure 5.
In Fig. 5, above-mentioned steps S04 further comprises:
Step S41 arbitrarily chooses a seed point from the MRI image after registration: in the present embodiment, using image
Partitioning algorithm extracts brain cortical tissue's image information, which is based on region growing algorithm, and thought is that will have
There is the pixel set of similitude to constitute region together.In this step, one is arbitrarily chosen from the MRI image after registration
Seed point, the region specifically first divided to needs arbitrarily look for a seed point as the starting point of growth.
Step S42 chooses its pixel value and falls in setting centered on seed point, in the region that radius is the first setting value
Point in section, and incorporate it into the region where seed point: in this step, centered on seed point, radius first
The point that its pixel value is fallen in set interval is chosen in the region of setting value, and incorporates it into the region where seed point,
It is exactly will there is the pixel of same or similar property (in advance according to certain with seed point pixel in field around seed point pixel
Determining growth or similarity criterion judges) it is merged into seed point pixel region.In this first embodiment, above-mentioned
One setting value is that software is previously set.
Step S43 expands radius, and judges whether there is also its pixel values to fall in setting in the region after expanding
Point in section: in this step, radius being expanded, and judges whether there is also its pixel values to fall in the region after expanding
Point in set interval, that is, by the above-mentioned new pixel for receiving seed point pixel region as new sub-pixel continue into
Row process above, and judge whether to fall in the point in set interval there is also pixel value, if it is determined that result be it is yes, then hold
Row step S44;Otherwise, step S45 is executed.
Step S44 incorporates it into the region where seed point: if the judging result of above-mentioned steps S43 be it is yes, hold
This step of row.In this step, the region where seed point is incorporated it into.This step, return step S43 are executed.
Step S45 is using the region where seed point as brain cortical tissue's image information: if above-mentioned steps S43's sentences
Disconnected result be it is no, then execute this step.In this step, using the region where seed point as brain cortical tissue's image information.
It is, such a region just grows up to when the pixel for not meeting condition again is included in.That is, current
It is the point pixel value in the region of certain value in a certain section that growth criterion used in image segmentation algorithm, which is in radius, then will
These points bring sub-pixel region into, and when the point for not meeting this criterion is included into, image segmentation algorithm is terminated.
Thus electrode image information and brain cortical tissue's image information are extracted out.
For the present embodiment, above-mentioned steps S05 can also be refined further, and the flow chart after refinement is as shown in Figure 6.
In Fig. 6, above-mentioned steps S05 further comprises:
Step S51 by the data type conversion of the data type of electrode image information and brain cortical tissue's image information at
Identical data type: in this step, by the data of the data type of electrode image information and brain cortical tissue's image information
Type is converted into identical data type, and in this first embodiment, which is Byte type, that is, by electrode
Image information and brain cortical tissue's image information are all converted into eight bit data.
Step S52 passes through the color map of setting, respectively by each picture in electrode image and brain cortical tissue's image
The different gray value of element is mapped to different color and transparency, adjusts its color and transparency respectively: in this step, by setting
The electrode image gray value different with each pixel in brain cortical tissue's image is mapped to not by fixed color map respectively
Same color and transparency, adjusts its color and transparency respectively.It is noted that giving brain respectively during fusion
Tissue corresponds to different colors with electrode, finally again shows under the same coordinate system them, can adjust them respectively in this way
Color and transparency, bring very big convenience to using.
Step S53 is shown fused image by iso-surface patch or volume drawing: in this step, by iso-surface patch or
Volume drawing shows fused image.
The present embodiment further relates to a kind of dress realized above-mentioned cerebral cortex electrode and merge the method for display with magnetic resonance image
It sets, structural schematic diagram is as shown in Figure 7.In Fig. 7, which includes registration unit 2, electrode information extraction unit 3, cerebral cortex
Information extraction unit 4, information fusion unit 5 and display effect adjust unit 6;Wherein, registration unit 2 be used for MRI image and
CT image registration is under the same coordinate space after implantation;Electrode information extraction unit 3 from the CT image after registration for mentioning
Take electrode image information;Cerebral cortex information extraction unit 4 is used to extract brain cortical tissue's figure from the MRI image after registration
As information;Information fusion unit 5 is used to carrying out electrode image information and brain cortical tissue's image information into Space integration, and will
Information after Space integration is shown by three-dimensional visualization method;Display effect adjusts unit 6 for adjusting three-dimensional visible
Change the effect and angle of display, and the result after adjusting is converted into the format needed output and is saved.It is noted that above-mentioned
CT image is the image file of DICOM format after MRI image and implantation.The format of above-mentioned needs is DICOM file, picture text
The result of different-format can be used for various different purposes by part or video file.Since the electrode information of extraction process being melted
Conjunction is shown on MRI image, can be seen cerebral tissue information in this way and be seen the location information of electrode, so its energy
Obtain the location information of electrode.
In the present embodiment, registration unit 2 further comprises rotation translation comparison module after coordinate transferring 21, implantation
22, similarity judgment module 24 after rotating translation module 23 after being implanted into and being implanted into;Wherein, coordinate transferring 21 is used for MRI
CT image is transformed under the same coordinate system after image and implantation, and by the object of CT image after the physical centre of MRI image and implantation
Reason center is moved to the same point;Rotation translation comparison module 22 is used for using the first scale respectively in MRI image after implantation
Parts of images pixel and implantation after parts of images pixel in CT image rotated, translated and compared, until MRI image
The similarity of the profile of CT image reaches the first similarity after profile and implantation;Translation module 23 is rotated after implantation to be used to use the
Parts of images of two scales by the parts of images pixel in the MRI image after the adjusting of the first scale and after being implanted into CT image
Pixel carries out rotation and translation again;The number of pixels that above-mentioned first scale is included is greater than the pixel that the second scale is included
Number;Similarity judgment module 24 is used to judge CT image pair after MRI image and implantation after the second scale is adjusted after implantation
Answer whether the similarity of position pixel reaches the second similarity, if so, terminating registration process;Otherwise, continue the second scale
Adjusting;Above-mentioned second similarity is greater than the first similarity.This completes the registrations of CT image after MRI image and implantation.
It is noted that the size of above-mentioned first scale is eight pixels in the present embodiment, the size of the second scale is a picture
Element, certainly, under some cases of the present embodiment, the size of the first scale and the second scale can carry out accordingly as the case may be
It adjusts.
In the present embodiment, after MRI scan and electrode are implanted into before only carrying out electrode and being implanted into the case where CT scan, above-mentioned electricity
Pole information extraction unit 3 further comprises gray threshold setting module 31 and electrode image zooming-out module 32;Wherein, gray threshold
Setting module 31 is used to set the gray threshold range of the CT image after being registrated, and the gray threshold range of above-mentioned setting is by electrode figure
As being included;Electrode image zooming-out module 32 is used for the image zooming-out fallen in image grayscale within the scope of the gray threshold of setting
It is used as electrode image information out.This completes the extractions of electrode information.
In order to preferably extract electrode position information, it is also necessary to carry out what CT scan obtained before taking patient to be implanted into intracranial electrode
CT image, carries out a CT scan before being implanted into, and at this moment, which further includes registration unit 20 before being implanted into, registration unit before being implanted into
20 are used for MRI image and are implanted into preceding CT image registration under the same coordinate space.CT image is DICOM format before the implantation
Image file.
In the present embodiment, registration unit 20 further comprises coordinate transferring 201 before being implanted into, rotation before implantation before being implanted into
Similarity judgment module 204 before translation module 203 and implantation is rotated before translating comparison module 202, implantation;Wherein, it is sat before implantation
Mark conversion module 201 is used for MRI image and CT image is transformed under the same coordinate system before being implanted into, and by the physics of MRI image
Center and the physical centre for being implanted into preceding CT image are moved to the same point;Rotation translation comparison module 202 is for using before implantation
Parts of images pixel of first scale respectively to the parts of images pixel in MRI image and before being implanted into CT image rotated,
Translation and comparison, the similarity of the profile of CT image reaches the first similarity before the profile of MRI image and implantation;Before implantation
Translation module 203 is rotated to be used to use the second scale by the parts of images pixel in the MRI image after the adjusting of the first scale
Rotation and translation is carried out again with the parts of images pixel being implanted into preceding CT image;The number of pixels that above-mentioned first scale is included
The number of pixels for being included greater than the second scale;Similarity judgment module 204 is adjusted for judging by the second scale before being implanted into
Whether the similarity of the preceding CT image corresponding position pixel of MRI image and implantation afterwards reaches the second similarity, if so, terminating registration
Process;Otherwise, it returns and continues the adjusting of the second scale;Above-mentioned second similarity is greater than the first similarity.This completes
MRI image is registrated with the preceding CT image of implantation.
In the present embodiment, the CT image after above-mentioned registration include registration after implantation before CT image and registration after implantation after
CT image, then in this case, electrode information extraction unit 3 further comprise 31 ' of CT image subtraction module, CT image subtraction mould
CT image is left the portion that gray scale difference value is not 0 before 31 ' of block is used to CT image after the implantation after registration subtracting the implantation after being registrated
Position is electrode image information.This completes the extractions of electrode information.It is noted that in practical applications, it can root
According to concrete condition, electrode information extraction unit 3 is arranged to include gray threshold setting module 31 and electrode image zooming-out module
32, electrode information extraction unit 3 can also be arranged to include 31 ' of CT image subtraction module.
In the present embodiment, cerebral cortex information extraction unit 4 further comprises that seed point chooses module 41, in set interval
Pixel value judgment module 43 and pixel value judgment module 44 in seed point selection module 42, set interval;Wherein, seed point is chosen
Module 41 is used to arbitrarily choose a seed point from the MRI image after registration;Seed point chooses module in set interval
42 centered on seed point, in the region that radius is the first setting value for choosing its pixel value and falling in set interval
Point, and incorporate it into the region where seed point;Pixel value judgment module 43 is used to expand radius in set interval,
And judge the point in set interval whether is fallen in there is also its pixel value in the region after expanding, if so, incorporating it into seed
Region where point;Otherwise, using the region where seed point as brain cortical tissue's image information;Pixel value judgment module 44
For continuing the judgement of pixel value in set interval.This completes the extractions of cerebral cortex information.
In the present embodiment, information fusion unit 5 further comprises data type conversion module 51, gray value mapping block 52
With image display 53;Wherein, data type conversion module 51 is used for the data type of the electrode image information and institute
The data type conversion of brain cortical tissue's image information is stated into identical data type;Gray value mapping block 52 is for passing through
The electrode image gray value different with each pixel in brain cortical tissue's image is mapped to by the color map of setting respectively
Different colors and transparency, adjusts its color and transparency respectively;Image display 53 is used to pass through iso-surface patch or body painting
System shows fused image.In this way, not only can see the information of brain cortical tissue, but also it can see the position of electrode
Information provides help for user.
In short, taking the data of CT image and MRI image after being implanted into preceding CT image, implantation in the present embodiment and importing brain
Cortical electrode merges display system with magnetic resonance image, cerebral cortex electrode merged with magnetic resonance image display system can automatically into
Row processing, and in a manner of three-dimensional visualization intuitive and convenient displaying as a result, by by the information and cerebral cortex of implant electrode
Organizational information perfect combination can obtain more satisfied to auxiliary information abundant is provided in the case where not increasing burden
As a result.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention
Within mind and principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.
Claims (10)
1. a kind of method that cerebral cortex electrode merges display with magnetic resonance image, which comprises the steps of:
A the MRI image that MRI scan obtains is carried out before) taking patient to be implanted into intracranial electrode to be implanted into after intracranial electrode with the patient
CT image after the implantation that progress CT scan obtains;
B) by CT image registration after the MRI image and implantation under the same coordinate space;It, should provided with a software systems
Software systems merge display system with magnetic resonance image for cerebral cortex electrode;CT image after MRI image and implantation is answered first
It makes on the host where cerebral cortex electrode merges display system with magnetic resonance image, it is total by this cerebral cortex electrode and magnetic
The software for image co-registration display system of shaking imports the data of CT image after MRI image and implantation, then by calling three-dimensional space
Registration of Measuring Data algorithm, by CT image registration after MRI image and implantation under the same coordinate space;
C electrode image information) is extracted from the CT image after registration;
D brain cortical tissue's image information) is extracted from the MRI image after registration;
E the electrode image information and brain cortical tissue's image information) are subjected to Space integration, and by the letter after Space integration
Breath is shown by three-dimensional visualization method;
F effect and angle that three-dimensional visualization is shown) are adjusted, and the result after adjusting is converted into the format needed output and is protected
It deposits;
The step B) further comprise:
B1) CT image after the MRI image and implantation is transformed under the same coordinate system, and will be in the physics of the MRI image
The physical centre of CT image is moved to the same point after the heart and implantation;
B2) using the first scale respectively to the part figure in CT image after the parts of images pixel and implantation in the MRI image
As pixel is rotated, translated and is compared, until the MRI image profile to after the implantation profile of CT image it is similar
Degree reaches the first similarity;
B3) CT after the parts of images pixel and implantation in the MRI image after the adjusting of the first scale is schemed using the second scale
Parts of images pixel as in carries out rotation and translation again;The number of pixels that first scale is included is greater than described second
The number of pixels that scale is included;
B4) judge by the second scale adjust after MRI image and implantation after CT image corresponding position pixel similarity whether
Reach the second similarity, if so, terminating registration process;Otherwise, return step B3);Second similarity is greater than described first
Similarity;
The step C) further comprise:
C1) electrode image is included by the gray threshold range of the CT image after setting registration, the gray threshold range of the setting
Inside;
C2) image zooming-out that image grayscale is fallen within the scope of the gray threshold of setting is come out and is used as electrode image information;
The step D) further comprise:
D1) seed point is arbitrarily chosen from the MRI image after registration;
D2 it) chooses its pixel value centered on the seed point, in the region that radius is the first setting value and falls in set interval
Interior point, and incorporate it into the region where the seed point;
D3) radius is expanded, and judges whether there is also its pixel values to fall in the setting in the region after expanding
Point in section executes step D4 if so, incorporating it into the region where the seed point);Otherwise, by the seed point
The region at place is as brain cortical tissue's image information;When the pixel for not meeting condition again is included in, such one
A region just grows up to;Growth criterion used in present image partitioning algorithm is the point pixel in the region that radius is certain value
Value then brings these points into sub-pixel region, when the point for not meeting this criterion is included into a certain section
When, image segmentation algorithm terminates;
D4) return step D3);
The step E) further comprise:
E1) by the data type conversion of the data type of the electrode image information and brain cortical tissue's image information at
Identical data type;
E2 respectively that electrode image is different with each pixel in brain cortical tissue's image) by the color map of setting
Gray value is mapped to different color and transparency, adjusts its color and transparency respectively;
E3) fused image is shown by iso-surface patch or volume drawing.
2. the method that cerebral cortex electrode according to claim 1 merges display with magnetic resonance image, which is characterized in that
The step A) before further include:
A0 CT image before the implantation that progress CT scan obtains before) taking patient to be implanted into intracranial electrode;
In the step A) and step B) between further include:
B0) by CT image registration before the MRI image and implantation under the same coordinate space.
3. the method that cerebral cortex electrode according to claim 2 merges display with magnetic resonance image, which is characterized in that institute
State step B0) further comprise:
B01) by the MRI image and before being implanted into, CT image is transformed under the same coordinate system, and will be in the physics of the MRI image
The heart and the physical centre for being implanted into preceding CT image are moved to the same point;
B02) using the first scale respectively to the parts of images pixel in the MRI image and the part figure being implanted into preceding CT image
As pixel is rotated, translated and is compared, until the MRI image profile to before the implantation profile of CT image it is similar
Degree reaches the first similarity;
B03) using the second scale by the parts of images pixel in the MRI image after the adjusting of the first scale and before being implanted into, CT schemes
Parts of images pixel as in carries out rotation and translation again;The number of pixels that first scale is included is greater than described second
The number of pixels that scale is included;
B04 whether the similarity of CT image corresponding position pixel before) judging the MRI image after the second scale is adjusted and being implanted into
Reach the second similarity, if so, terminating registration process;Otherwise, return step B03);Second similarity is greater than described first
Similarity.
4. the method that cerebral cortex electrode according to claim 3 merges display with magnetic resonance image, which is characterized in that institute
CT image after stating registration includes CT image after implantation before implantation after registration after CT image and registration, the step C) into one
Step includes:
C1 ') CT image after the implantation after the registration is subtracted to the implantation after the registration before CT image be left gray scale difference value not
Position for 0 is electrode image information.
5. the method that cerebral cortex electrode according to claim 1 merges display with magnetic resonance image, which is characterized in that institute
The size for stating the first scale is eight pixels, and the size of second scale is a pixel, CT before the MRI image, implantation
CT image is the image file of DICOM format after image and implantation, and the format of the needs is DICOM file, picture file
Or video file.
6. a kind of device realized cerebral cortex electrode as described in claim 1 and merge the method for display with magnetic resonance image,
It is characterised by comprising:
Registration unit: it is used for MRI image and CT image registration under the same coordinate space;
Electrode information extraction unit: for extracting electrode image information from the CT image after registration;Provided with a software system
System, the software systems merge display system with magnetic resonance image for cerebral cortex electrode;CT after MRI image and implantation is schemed first
As copying on the host where cerebral cortex electrode merges display system with magnetic resonance image, by this cerebral cortex electrode with
The software that magnetic resonance image merges display system imports the data of CT image after MRI image and implantation, then three-dimensional by calling
Spatial data registration Algorithm, by CT image registration after MRI image and implantation under the same coordinate space;
Cerebral cortex information extraction unit: for extracting brain cortical tissue's image information from the MRI image after registration;
Information fusion unit: for the electrode image information and brain cortical tissue's image information to be carried out Space integration, and
Information after Space integration is shown by three-dimensional visualization method;
Display effect adjusts unit: converting for adjusting the effect and angle that three-dimensional visualization is shown, and by the result after adjusting
It exports and saves at the format of needs;
The registration unit further comprises:
Coordinate transferring: for CT image after the MRI image and implantation to be transformed under the same coordinate system, and will be described
The physical centre of CT image is moved to the same point after the physical centre of MRI image and implantation;
Rotation translation comparison module after implantation: for using the first scale respectively to the parts of images pixel in the MRI image
Rotated, translated and compared with the parts of images pixel after implantation in CT image, until the MRI image profile with it is described
The similarity of the profile of CT image reaches the first similarity after implantation;
Translation module is rotated after implantation: for using the second scale by the part in the MRI image after the adjusting of the first scale
Parts of images pixel after image pixel and implantation in CT image carries out rotation and translation again;First scale included
Number of pixels is greater than the number of pixels that second scale is included;
Similarity judgment module after implantation: for judge by the second scale adjust after MRI image and implantation after CT image pair
Answer whether the similarity of position pixel reaches the second similarity, if so, terminating registration process;Otherwise, continue the second scale
Adjusting;Second similarity is greater than first similarity;
The electrode information extraction unit further comprises:
Gray threshold setting module: for setting the gray threshold range of the CT image after being registrated, the gray threshold of the setting
Electrode image is included by range;
Electrode image zooming-out module: the image zooming-out for falling in image grayscale within the scope of the gray threshold of setting comes out conduct
Electrode image information;
The cerebral cortex information extraction unit further comprises:
Seed point chooses module: for arbitrarily choosing a seed point from the MRI image after registration;
Seed point chooses module in set interval: for centered on the seed point, the region that radius is the first setting value
Middle its pixel value of selection falls in the point in set interval, and incorporates it into the region where the seed point;
Pixel value judgment module in set interval: for the radius to be expanded, and judge expand after region in whether
There is also its pixel values to fall in the point in the set interval, if so, incorporating it into the region where the seed point;It is no
Then, using the region where the seed point as brain cortical tissue's image information;When the pixel for not meeting condition again is wrapped
When containing to come in, such a region just grows up to;It is certain value that growth criterion used in present image partitioning algorithm, which is in radius,
Region in point pixel value in a certain section, then these points are brought into sub-pixel region, when not meeting this
When the point of a criterion is included into, image segmentation algorithm is terminated;
Pixel value judgment module: for continuing the judgement of pixel value in set interval;
The information fusion unit further comprises:
Data type conversion module: for believing the data type of the electrode image information and brain cortical tissue's image
The data type conversion of breath is at identical data type;
Gray value mapping block: for the color map by setting, respectively by electrode image and brain cortical tissue's image
In the different gray value of each pixel be mapped to different color and transparency, adjust its color and transparency respectively;
Image display: for being shown fused image by iso-surface patch or volume drawing.
7. device according to claim 6, which is characterized in that described device further include:
Registration unit before being implanted into: it is used for CT image registration before the MRI image and implantation under the same coordinate space.
8. device according to claim 7, which is characterized in that registration unit further comprises before the implantation:
Coordinate transferring before being implanted into: for CT image before the MRI image and implantation to be transformed under the same coordinate system, and will
The physical centre of the MRI image and the physical centre for being implanted into preceding CT image are moved to the same point;
Rotation translation comparison module before implantation: for using the first scale respectively to the parts of images pixel in the MRI image
Be implanted into before parts of images pixel in CT image rotated, translated and compared, until the MRI image profile with it is described
The similarity of the profile of CT image reaches the first similarity before being implanted into;
Translation module is rotated before implantation: for using the second scale by the part in the MRI image after the adjusting of the first scale
Image pixel and the parts of images pixel being implanted into preceding CT image carry out rotation and translation again;First scale included
Number of pixels is greater than the number of pixels that second scale is included;
Similarity judgment module before being implanted into: for CT image pair before judging the MRI image after the second scale is adjusted and being implanted into
Answer whether the similarity of position pixel reaches the second similarity, if so, terminating registration process;Otherwise, it returns and continues second
Scale is adjusted;Second similarity is greater than first similarity.
9. device according to claim 8, which is characterized in that the CT image after the registration include registration after implantation before
CT image after implantation after CT image and registration, the electrode information extraction unit further comprises:
CT image subtraction module: CT image is left before the implantation after CT image after the implantation after the registration to be subtracted to the registration
It is electrode image information that gray scale difference value, which is not 0 position,.
10. device according to claim 9, which is characterized in that the size of first scale is eight pixels, described the
The size of two scales be a pixel, before the MRI image, implantation CT image and implantation after CT image be DICOM format
Image file, the format of the needs are DICOM file, picture file or video file.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2015/082501 WO2016206093A1 (en) | 2015-06-26 | 2015-06-26 | Method and apparatus for fusion display of cerebral cortex electrode and magnetic resonance images |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105849777A CN105849777A (en) | 2016-08-10 |
CN105849777B true CN105849777B (en) | 2019-01-18 |
Family
ID=56580841
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201580003336.6A Active CN105849777B (en) | 2015-06-26 | 2015-06-26 | A kind of cerebral cortex electrode merges the method and device of display with magnetic resonance image |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105849777B (en) |
WO (1) | WO2016206093A1 (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3547252A4 (en) | 2016-12-28 | 2019-12-04 | Shanghai United Imaging Healthcare Co., Ltd. | Multi-modal image processing system and method |
TWI684994B (en) * | 2018-06-22 | 2020-02-11 | 國立臺灣科技大學 | Spline image registration method |
CN109662778B (en) * | 2019-03-01 | 2020-11-10 | 中国人民解放军国防科技大学 | Human-computer interactive intracranial electrode positioning method and system based on three-dimensional convolution |
CN110288641A (en) * | 2019-07-03 | 2019-09-27 | 武汉瑞福宁科技有限公司 | PET/CT and the different machine method for registering of MRI brain image, device, computer equipment and storage medium |
CN110680312B (en) * | 2019-09-17 | 2022-05-17 | 首都医科大学宣武医院 | Method for making electrode brain gyrometer diagram |
CN112150419A (en) * | 2020-09-10 | 2020-12-29 | 东软医疗***股份有限公司 | Image processing method and device and electronic equipment |
CN112164019A (en) * | 2020-10-12 | 2021-01-01 | 珠海市人民医院 | CT and MR scanning image fusion method |
CN112365432B (en) * | 2020-10-30 | 2022-04-26 | 武汉联影医疗科技有限公司 | Fusion image display method and device and medical image system |
CN114631885A (en) * | 2020-12-15 | 2022-06-17 | 上海微创卜算子医疗科技有限公司 | Simulation system and readable storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102708293A (en) * | 2012-05-14 | 2012-10-03 | 电子科技大学 | Registration method of electrode model and head model |
CN102814002A (en) * | 2012-08-08 | 2012-12-12 | 深圳先进技术研究院 | Cerebral magnetic stimulation navigation system and cerebral magnetic stimulation coil positioning method |
CN103932796A (en) * | 2014-04-13 | 2014-07-23 | 北京师范大学 | Encephalic electrode individualization locating method based on multimode medical image data fusion |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2006075331A2 (en) * | 2005-01-13 | 2006-07-20 | Mazor Surgical Technologies Ltd. | Image-guided robotic system for keyhole neurosurgery |
DE102007037103B4 (en) * | 2007-08-07 | 2015-12-17 | Siemens Aktiengesellschaft | Method and apparatus for visualizing functional and electrical activities of the brain |
EP2879757B1 (en) * | 2012-08-04 | 2019-06-26 | Boston Scientific Neuromodulation Corporation | Systems and methods for storing and transferring registration, atlas, and lead information between medical devices |
KR101579110B1 (en) * | 2013-09-16 | 2015-12-22 | 삼성전자주식회사 | Method for generating magnetic resonance image, method for acquiring phase information of phase contrast image thereof, method for acquiring phase information of susceptibility weighted image thereof, and magnetic resonance i imaging apparatus thereof |
-
2015
- 2015-06-26 WO PCT/CN2015/082501 patent/WO2016206093A1/en active Application Filing
- 2015-06-26 CN CN201580003336.6A patent/CN105849777B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102708293A (en) * | 2012-05-14 | 2012-10-03 | 电子科技大学 | Registration method of electrode model and head model |
CN102814002A (en) * | 2012-08-08 | 2012-12-12 | 深圳先进技术研究院 | Cerebral magnetic stimulation navigation system and cerebral magnetic stimulation coil positioning method |
CN103932796A (en) * | 2014-04-13 | 2014-07-23 | 北京师范大学 | Encephalic electrode individualization locating method based on multimode medical image data fusion |
Non-Patent Citations (1)
Title |
---|
基于多尺度分析的医学图像配准与融合方法研究;彭士纯;《中国博士学位论文全文数据库 信息科技辑》;20080315;正文第55-57页 |
Also Published As
Publication number | Publication date |
---|---|
CN105849777A (en) | 2016-08-10 |
WO2016206093A1 (en) | 2016-12-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105849777B (en) | A kind of cerebral cortex electrode merges the method and device of display with magnetic resonance image | |
CN102814001B (en) | Cerebral magnetic stimulation navigation system and cerebral magnetic stimulation coil positioning method | |
CN102814002B (en) | Cerebral magnetic stimulation navigation system and cerebral magnetic stimulation coil positioning method | |
EP3123443B1 (en) | Method and device for generating one or more computer tomography images based on magnetic resonance images with the help of tissue class separation | |
CN109662778B (en) | Human-computer interactive intracranial electrode positioning method and system based on three-dimensional convolution | |
CN106683090A (en) | Rib positioning method in medical image and system thereof | |
CN106887039A (en) | The three-D imaging method and system of a kind of organ and focus based on medical image | |
US20140341426A1 (en) | Image processing apparatus, image processing method and medical imaging device | |
Patil et al. | A review paper on brain tumor segmentation and detection | |
CN109924993B (en) | Imaging scanning protocol automatic planning method and device, electronic equipment and storage medium | |
Wang et al. | Automated segmentation of CBCT image using spiral CT atlases and convex optimization | |
CN110547869B (en) | Preoperative auxiliary planning device based on virtual reality | |
CN105342701A (en) | Focus virtual puncture system based on image information fusion | |
CN104166979B (en) | A kind of vessel extraction method | |
CN110598696A (en) | Medical image scanning positioning method, medical image scanning method and computer equipment | |
CN109559285A (en) | A kind of image enhancement display methods and relevant apparatus | |
Kamil et al. | Brain Tumor Area Calculation using Morphological Operations | |
CN101984462A (en) | Method for synthesizing electrical impedance tomography (EIT) functional image and anatomical image | |
CN103116626A (en) | Matching method of medical image | |
CN112767333B (en) | Dual-lower limb blood vessel region judging method and system based on CTA image | |
CN112102327B (en) | Image processing method, device and computer readable storage medium | |
CN110009645B (en) | Double-layer contour segmentation method for liver cancer focus image | |
CN113822796B (en) | Multi-mode brain image registration method based on improved image pyramid | |
CN115137342A (en) | Image acquisition medical system and method based on deep learning | |
Mei et al. | Nonsubsampled contourlet transform and adaptive pcnn for medical image fusion |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |