The specific embodiment
Be elaborated below in conjunction with the technical scheme of accompanying drawing to invention:
As shown in Figure 1, be the principle schematic of near-infrared monitor on the throne.The incident source is the radio-frequency signal source (RF Source) of multi-wavelength, near-infrared laser after frequency divider (Spliter) modulation projects biological tissue (Tissue) by sending optical fiber (Delivery fiber), each road light source is according to logical sequence (Switch) work of setting, and LD is a laser diode; Has stronger tissue penetration ability by the what near infrared light, this light enters tissue, after the absorption and scattering through tissue, after accepting the optical fiber collection and being sent to photomultiplier tube (PMT), process amplifier (Amplifier), band filter (BP Filter), demodulator (Demodulator), low pass filter devices such as (LP Filter), the output signal of telecommunication converts digital signal to by analog-digital converter (ADC), by computer data acquiring and processing, measured signal can be shown in computer screen in real time.This circuit design has adopted the high frequency modulated demodulation techniques, the amplitude of optical signal and position is interrelated with optical properties of tissue (absorbing and scattering coefficient), thereby can extrapolate the biological nature (blood oxygen, blood volume, blood flow etc.) of tissue.
As shown in Figure 2, be the near infrared spectrum slope curve of department of cerebral surgery navigation system and the corresponding relation of MRI image, explanation can adopt the slope method of near infrared light mathematic(al) parameter tentatively to finish navigation task.
As shown in Figure 6, complete data fusion and guidance path real-time error process are: scan-data before the MRI art → extraction puncture track MRI gradation of image data, for the bias correcting of guided puncture track under the situation of systematic error can enlarge taper (N bar plan puncture track, probable value as puncture planning) → in real time fNIRs image data → fNIRs puncture track real time data measured value merges the probable value coupling with N bar plan track) → data fusion result's (goodness of fit of calculating fNIRs track and image path, find out the probable value that mates most on the statistical significance, and the real-time error of the three dimensional space coordinate deviant guiding operation pathway stored of image application data) → and draw the piercing process handling suggestion, carry out the real-time three-dimensional error correction.
The present invention realizes through the following steps:
Volume drawing accelerating algorithm based on ray cast
The extraction of going into thorn point and target spot routing information before the operation is the foundation of operation pathway real-time error, and the three-dimensional reconstruction of MRI sequence image is the key that the volume data routing information extracts.The present invention adopts a kind of ray cast volume drawing accelerating algorithm that merges based on fragment, algorithm utilizes throw light and bundle of planes to ask friendship, determine to merge fragment fast, employing is based on segmental fusion rendering technique, accelerate fusion speed, and utilize the bounding box technology to reduce, improved the efficient of ray cast the invalid planar friendship of asking.Because the pixel in the fragment has similar optical properties, based on the data consistency analysis to volume data, by the drafting equation based on pixel, can derive obtains based on segmental drafting equation, with the method for iteration, draw equation according to the past order backward and be expressed as:
C wherein
NowAnd α
NowBe the optical properties (color value and opacity value) of last intersection point of fragment, C
InAnd α
InBe the optical properties of segmental initial intersection point, C
OutAnd α
OutBe the optical properties of the resample points between two intersection points of fragment, n
iBe segmental length.
Extract the path half-tone information
Go into a thorn point A (x known
0, y
0, z
0) and target spot B (x
1, y
1, z
1) situation under, can adopt the straight line parametric technique to give expression to the equation expression formula in operation puncturing path: X=x
0+ mt, Y=y
0+ nt, Z=z
0+ pt, wherein, l={m, n, p} are the direction vector of linear equation, m, n, p be l respectively at x, y, the component on three coordinate axess of z, t are arbitrary parameter and are not 0, x
0, y
0, z
0Be respectively (x into thorn point A
0, y
0, z
0) at x, y, the coordinate figure of three directions of z, X, Y, Z is target spot being had a few to the linear equation of going into thorn point.Adopt the method that resamples to extract this puncture path half-tone information then, if the voxel that exists in the resample points volumetric data set of puncture path L, its half-tone information draws according to the location index of this voxel in volumetric data set, and the gray value of the resample points that can't index obtains is obtained by the Tri linear interpolation algorithm.Under the situation of the initial value of determining resampling parameter and volume elements numbering, can determine the volume elements numbering of all the other resample points parameters and throw light process with following recurrence relation:
If:
And δ V is along the x direction of principal axis, then:
i←i+1;
If:
And δ V is along the x axle in the other direction, then:
i←i-1;
If:
Then: d
x K+1Constant, i is constant;
Wherein volume elements be numbered (m), i, j, m are respectively central point x in three-dimensional coordinate of volume elements for i, j, y, the coordinate figure of three directions of z, the length of volume elements is respectively l, w, h; The sampling interval vector is δ V, and (l, w h) are sampling step length to δ≤min, and δ x, δ y, δ z are sampling interval vector δ V decomposition amount along three coordinate axess in object coordinates system, d
x, d
y, d
zBe the distance of the outer surface of sampled point, d along three change in coordinate axis direction to volume elements
x kRepresent the outer surface distance of this sampled point, ← expression assignment relation, the d after the assignment along the x direction of principal axis to the place volume elements
x K+1Represent the distance of next sampled point along the x axle to own place volume elements outer surface; Axial parameter can the rest may be inferred along y and z for resample points.
F (i, j, m) be volume elements (i, j, gray value m), this value is obtained by the Tri linear interpolation algorithm.Algorithm is: (m) data of 8 nearest consecutive points are respectively: f for i, j to establish resample points
000, f
001, f
010, f
011, f
100, f
101, f
111, f
110, d
x, d
y, d
zRepresent sampled point respectively with respect to 000 o'clock distance at three coordinate directions, then the value f of this sampled point (i, j m) are:
f(i,j,m)=(1-d
x)×(1-d
y)×(1-d
z)×f
000+d
x×(1-d
y)×(1-d
z)×f
001
+(1-d
x)×d
y×(1-d
z)×f
010+d
x×d
y×(1-d
z)×f
011+。
(1-d
x)×(1-d
y)×d
z×f
100+d
x×(1-d
y)×d
z×f
101+
(1-d
x)×d
y×d
z×f
110+d
x×d
y×d
z×f
111
The mathematical model of view data and near-infrared optical data fusion
Newest research results shows, the result of near-infrared test result and medical image exists close related, the near-infrared measuring result has same reliability to the reflection of biological tissue's information and the result of MRI, and the real-time of near-infrared measuring parameter and " observability " can remedy the limitation of image navigation system applies.The near infrared absorption coefficient, the anatomic information of distribution of scattering coefficient tissue morphology and MRI image is corresponding substantially, the anatomic information of MRI image has reflected the H cuclear density distribution (corresponding tissue density distributes) of different cerebral tissue, the near infrared light mathematic(al) parameter has reflected organizes elastic photon scattering coefficient distribution (also distributing relevant with tissue density), obviously, if the mathematical model that can find MRI data and near infrared light mathematic(al) parameter to merge, but by just accurate recording probe the place ahead cerebral tissue Density Distribution of near-infrared parameter in the art, thereby guiding operation pathway and real-time error further improve positioning accuracy.
Concrete grammar is to utilize the rat brain stereotactic apparatus, with near-infrared Wicresoft continuous monitor system on the throne and special Wicresoft probe the optical parametric of a plurality of tracks of rat cerebral tissue is tested, again rat is carried out MRI scanning, obtain the MRI data on the near-infrared needle track track.The pseudo-shadow that carries out optical parametric after MRI data and the near infrared light mathematic(al) parameter normalized is again eliminated, sought the dependency between the two, and set up the dependency mathematical model.
Curvilinear trend matching algorithm based on Hausdorff distance and curvature
Employing guides the real-time error of the puncture path in the operation process based on the curvilinear trend matching algorithm of Hausdorff distance and curvature.For in operation process, provide the deviation angle and the offset direction of puncture path in real time, it is the near-infrared optical signal that thereby guiding in real time is established any one section curve L, L and grey scale curve are carried out the trend contrast, if in certain tolerance ε scope, then near-infrared puncture track L and destination path match; If surpass tolerance ε, then L and N bar checking curve are carried out the variation tendency contrast, obtain in tolerance ε scope, to have the checking puncture track N ' of identical change trend with curve L.Its mean curvature algorithm is:
If curvilinear equation is s=s (t), t is a parameter of curve, and the computing formula of curvature is:
Wherein s ' (t), s " (t) is first derivative and the second dervative of curvilinear equation s (t).The Hausdorff distance definition is: be provided with two groups of finite aggregate A={a
1, a
2..., a
pAnd B={b
1, b
2..., b
p), wherein, a
1, a
2..., a
pBe all elements of set A, b
1, b
2..., b
pBe all elements of set B, then the Hausdorff distance definition is between A, B:
H (A, B)=max (max a
s∈ Amin b
t∈ B||a
s-b
t||, max b
t∈ Bmin a
s∈ A||b
t-a
s||), in the formula, || ... || represent certain definition apart from normal form, two directed distances that are called A-B and B-A in the bracket.The Hausdorff distance metric be two maximums between set degree that do not match, and calculate easyly, therefore between points one-to-one relationship in also overcritical two set is suitable for the coupling of image very much.If the set of the curvature of two curves is C
1={ K
1s| s=1,2 ... m), C
2={ K
2t| t=1,2 ... n}, wherein K
1sAnd K
2tBe respectively the curvature value at each place, summit behind two curve polygonal approximations, m and n are any positive integer here, and m and n not necessarily equate.When route matching, press the Hausdorff distance that following formula calculates two curvature collection, it is right that its intermediate value minimum a pair of promptly corresponds to the profile that may mate.Here be the simple comparison of curvature value apart from normal form, can improve the efficient of algorithm greatly, be verified curve.
The orientation that near-infrared optical signal L departs from objectives is determined in orientation by the checking curve place that obtains, and the coordinates computed skew is carried out the path and proofreaied and correct.
The present invention introduces the curvilinear trend matching algorithm based on Hausdorff distance and curvature, in conjunction with the half-tone information that extracts, both guaranteed the precision of prediction of path offset, solve the path again and proofreaied and correct this difficult problem, thereby can implement clinically, increase substantially the precision of surgical navigational.
Embodiment
3 to Fig. 5 to narrate the invention process as follows in conjunction with the accompanying drawings:
As shown in Figure 3.The optical parametric, blood oxygen parameter and the hemodynamic parameter that are 5 rat brain cortex distribute.Fig. 3 (a) and Fig. 3 (b) are respectively under 5 rat brain cortex skulls the change along with the degree of depth, and it optimizes the change curve of scattering coefficient and absorptance (wavelength 834nm), and NO.1 is the 1st mouse, and NO.2 is the 2nd mouse ..., and the like; Fig. 3 (c) and Fig. 3 (d) are respectively under 5 rat brain cortex skulls the change along with the degree of depth, the change curve of its total hemoglobin concentration and blood oxygen saturation; , Fig. 3 (e) and Fig. 3 (f) are respectively under 5 rat brain cortex skulls the change along with the degree of depth, the change curve of its blood flow and blood volume.The measured every index that obtains all is in the coverage of data that document provides, and fathoms a little at each, and the fluctuation of measured parameter value is very limited, provides foundation for realizing that optics is dissected the location in the brain.
1. at first carry out the fusion treatment of rat function near infrared spectrum (fNIRS) parameter and MRI image data, set up related mathematical model.Utilize fNIRS near-infrared Wicresoft continuous monitor system on the throne and the special Wicresoft probe developed, gather rat cerebral tissue and measure each point optical parametric (ScO on the puncture track
2, μ a, μ s, Hb and HbO
2Concentration), obtain the near-infrared data D of surgical planning puncture track
FNIRSAlong the puncture course bearing rat is carried out the MRI image scan simultaneously, obtain the MRI grey scale signal D on the near-infrared needle track track
MRI, with D
MRIAnd D
FNIRSData normalization is handled the two dependency of post analysis, seeks the mathematical model between the two.When setting up path association mathematical model, experiment is intended adopting and is designed the brain solid positioning framework that can put into NMR system, fixes animal, and positions mark.
As shown in Figure 4, the navigation sketch map that merges mutually near infrared spectrum (fNIRS) and MRI image data.Fig. 4 (a) carries out the anatomical structure figure of data fusion for fNIRs and MRI, wherein A is the operation puncturing point, B is the operation target spot, selected image is the fusion results of MRI and fMRI image, information by MRI gradation of image data fetch puncture path, by the BOLD information (blood oxygen information) of fMRI, on puncture path, avoid the critical function district.Fig. 4 (b) is a fNIRs puncture path error correction sketch map, and intermediary dotted line is actual fNIRs puncture track, and the conical region of AB~AC is the possible offset area of navigation puncture.
2. adopt the Fast Volume Rendering Algorithm algorithm that merges based on segment at 256 * 256 * 84 sequence MRI image, obtain the three-dimensional reconstruction body of cerebral tissue data, the three-dimensional reconstruction body is carried out the translation of arbitrarily angled rotation, any direction; In order to obtain more real display effect, the parameter that threedimensional model is made amendment interface is provided, comprising: object color, background color, material, diffuse-reflectance, Ambient, and light selection remove sawtooth effect etc.; In said three-dimensional body, can choose the target area, measure, cut and separate, rebuild human tissue organ's perspective view from the puncture direction.The BOLD information that on the three-dimensional reconstruction body, reflects the critical function district by the brain function analysis software.
As shown in Figure 5, be puncture path planning chart based on the near infrared spectrum navigation.Wherein, Fig. 5 (a) is the path planning figure based on said three-dimensional body, the summit of taper is for going into to sting a little, path along taper surface is a path planning, obviously path planning is many more, and matching precision is high more, because the limitation that shows, only provide limited several path plannings among the figure, each path planning has the offset information of top to bottom, left and right, front and rear simultaneously; Fig. 5 (b) is the half-tone information of actual puncture path; Fig. 5 (c) is one of possibility offset path information (intended path) in the operation process; Fig. 5 (d) is the contrast of actual puncture path and possibility offset path, by route matching, can obtain the angle and direction that offset path departs from Actual path, is used to guide the error correction of operation puncturing process.
3. on the three-dimensional reconstruction body, extract planning puncture path (select convenient, the safest operative approach, avoid functional areas) and seek optimum puncturing point, reduce functional lesion when farthest damaging focus, increase operation safety.Utilize the point of 8 neighborhoods to adopt the Tri linear interpolation algorithm to extract half-tone information on the puncture path.With the image information of the best puncture track of extracting as puncture actual value R
MRI, and be that central shaft carries out taper and enlarges with this path, extract N bar plan puncture track as possible deviation path, obtain the three dimensional space coordinate drift rate (deviation angle and orientation) of probable value and actual value.
4. under the situation of not having the location mark, write down puncture track fNIRS parameter D
FNIRS, pass through D
MRIAnd D
FNIRSBetween the mathematical model, IR parameters D nearly
FNIRSBe converted into the half-tone information D of image
MRI, the D that adopts the curvilinear trend matching algorithm based on Hausdorff distance and curvature that conversion is obtained
MRIInformation and puncture actual value R
MRIMate with N bar plan puncture trace image data, carry out real-time small adjustment according to three dimensional space coordinate drift rate (deviation angle and orientation) simultaneously, up to the puncture track data D that is obtained
MRI(by real-time D
FNIRSData conversion obtains) and puncture actual value R
MRIBetween matching error within the systematic error scope, just finish the real-time route error correction of surgical navigational process.