CN102930502A - Consistency image transformation method and system capable of keeping control point correspondence - Google Patents

Consistency image transformation method and system capable of keeping control point correspondence Download PDF

Info

Publication number
CN102930502A
CN102930502A CN2012104621026A CN201210462102A CN102930502A CN 102930502 A CN102930502 A CN 102930502A CN 2012104621026 A CN2012104621026 A CN 2012104621026A CN 201210462102 A CN201210462102 A CN 201210462102A CN 102930502 A CN102930502 A CN 102930502A
Authority
CN
China
Prior art keywords
function
displacement
image
reciprocal transformation
control point
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.)
Granted
Application number
CN2012104621026A
Other languages
Chinese (zh)
Other versions
CN102930502B (en
Inventor
杨烜
裴继红
易见兵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen University
Original Assignee
Shenzhen University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen University filed Critical Shenzhen University
Priority to CN201210462102.6A priority Critical patent/CN102930502B/en
Publication of CN102930502A publication Critical patent/CN102930502A/en
Application granted granted Critical
Publication of CN102930502B publication Critical patent/CN102930502B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)

Abstract

The invention discloses a consistency image transformation method and a system capable of keeping control point correspondence. The method comprises the following steps of building a forward and reverse transformation function based on the control point correspondence, determining a displacement function of the forward and reverse transformation function, relocating the displacement function of the forward and reverse transformation function, adjusting the displacement function of the forward and reverse transformation function of an image for the first time, calculating an inverse function of the forward and reverse transformation function of the image, adjusting the displacement function of the forward and reverse transformation function of the image for the second time, determining temporary mapping positions of a source control point and a target control point, calculating a control point error and a consistency error of image transformation, and repeating the process until the control point error and the consistency error satisfy requirements. According to the method, the consistency image transformation capable of keeping the control point correspondence is achieved, the consistency transformation problem in elastic registering of the image can be realized, and the correspondence of the original control points is kept as much as possible on the premise of solving the consistency image transformation.

Description

But consistance image conversion method and the system of retentive control point correspondence
Technical field
The invention belongs to image processing field, but relate in particular to a kind of consistance transform method and image transformation system based on the retentive control point correspondence.
Background technology
H.J.Johnson and G.E.Christensen have proposed a kind of consistance conversion method for solving in 2002.By the conversion of iterative consistance, so that positive inverse transformation has minimum distortion energy and conformity error.Suppose that forward shape becomes h, the deformational displacement field is u (x); Reciprocal transformation is g, and the deformational displacement field is w (x).H (x)=x+u (x) then, g (x)=x+w (x).The inverse function of definition positive-going transition is h -1, its displacement field is
Figure BDA00002414203800011
The inverse function of reciprocal transformation is g -1, its displacement field is
Figure BDA00002414203800012
Then
Figure BDA00002414203800013
Figure BDA00002414203800014
Suppose reference mark corresponding relation (q i, p i) known, the algorithmic procedure that H.J.Johnson and G.E.Christensen provide is as follows:
Step 1, r i=q i, s i=p iU (x)=0; W (x)=0 sets Optimal Step Size α and β, maximum reference mark offset error ζ, iterations iter, maximum iteration time miter etc.
Step 2 is based on the corresponding relation at reference mark Utilize the thin-plate spline interpolation method to find the solution forward deformation function f 1(x), satisfy f 1(r i)=p iCorresponding relation based on the reference mark
Figure BDA00002414203800016
Utilize the thin-plate spline interpolation method to find the solution the reverse strain function f 2(x), satisfy f 2(s i)=q i
Step 3, u (x)=u (x)+α [f 1(x)-and x], w (x)=w (x)+α [f 2(x)-x].
Step 4, r i=q i+ u (r i), s i=p i+ w (s i), iter=iter+1.
Step 5 is asked for the inverse function h of positive and negative conversion -1(x), g -1(x).
Step 6 is upgraded the displacement field of positive and negative conversion.U (x)=u (x)-β [u (x)-g -1(x)+and x], while w (x)=w (x)-β [w (x)-h -1(x)+x].
Step 7 checks whether satisfy stop criterion.Use avgerr Q → pIf expression reference mark offset error is iter〉miter, perhaps avgerr Q → p<ζ, perhaps avgerr P → qDuring<ζ, iteration finishes; Otherwise return Step 2.
There is following problem in the above-mentioned method of value solving that H.J.Johnson and G.E.Christensen propose:
(1) reference mark r i, s iAdjustment can depart from p i, q i
In the iterative process that array is found the solution, each adjustment u (x) of positive-going transition and reciprocal transformation=u (x)+α [f 1(x)-and x], w (x)=w (x)+α [f 2(x)-and x], can not guarantee to make r i, s iMove closer to target location p i, q iWe suppose reference mark q take positive-displacement field u (x) as example iWith p iCorrespondence through iteration, obtains current displacement field u k(x), satisfy u k(q i)=r i-q iThe deformation function f of next iteration structure 1(x) satisfy f 1(r i)=p i, new displacement field u K+1(x)=u k(x)+α (f 1(x)-x).Consider the situation of step-length α=1,
u k+1(q i)=u k(q i)+α(f 1(q i)-q i)
=r i-q i+f 1(q i)-q i
≠p i-q i
This explanation, when α=1, q iBe mapped to p iNear, but be difficult to be mapped to exactly p iThe position of point.This will cause in the iteration of back, r iThe position can be at p iNear swing, and can't be mapped to exactly p iThe position on, there is error in the position at reference mark.Similarly, oppositely also there are the problems referred to above in displacement field.
(2) r i, s iCorrection position and displacement field inconsistent.
In the iterative process of algorithm, there is twice displacement field correction, be according to deformation function f for the first time 1(x) and f 2(x) carry out (step 3) for the second time is (step 6), the r according to the inverse function correction of forward and reverse conversion i, s iCorrection position be at forward, oppositely revise the first time of displacement function after.But owing to forward, oppositely for the second time adjustment of displacement function existence, will cause r like this i, s iThe position inaccurate, and then next time iterative computation f of impact 1(x) and f 2(x).
In addition, r i, s iCorrection position be r i=q i+ u (r i), s i=p i+ w (s i), this method of adjustment causes u (q i) ≠ r i-q i, w (p i)=s i-p i, i.e. r iBe not q iNext interim mapping point, s iNeither p iNext interim mapping point.In next iteration, utilize
Figure BDA00002414203800031
With
Figure BDA00002414203800032
Corresponding relation tectonic transition function f 1(x) and f 2(x) time, just be difficult to guarantee that this transforming function transformation function can make q iBe mapped to exactly p iThe position of point, p iBe mapped to exactly q iThe position of point, the corresponding relation between can't retentive control point.
Summary of the invention
But the purpose of the embodiment of the invention is to provide a kind of consistance image conversion method and system of retentive control point correspondence, is intended to solve the irretentive problem of the corresponding relation in the reference mark that exists in the existing consistance transform method based on the corresponding relation in reference mark.
But the embodiment of the invention is achieved in that a kind of consistance image conversion method of retentive control point correspondence, and described method comprises the steps:
Steps A, according to reference mark, source and target control point correspondence, structure from the source mapping of control points to target control point the positive-going transition function and be mapped to the reciprocal transformation function at reference mark, source from the target control point, and the displacement function of the forward of computed image and reciprocal transformation function;
Step B carries out reorientation, the displacement function of the forward after being adjusted and reciprocal transformation function to the forward that obtains in the steps A and the displacement function of reciprocal transformation function;
Step C adjusts the displacement function of the current forward of image and reciprocal transformation function for the first time according to the displacement function of the forward after the adjustment that obtains among the step B and reciprocal transformation function;
Step D is according to the inverse function of the current positive-going transition function of displacement function computed image of the current forward of the image that obtains among the step C and reciprocal transformation function and the inverse function of current reciprocal transformation function;
Step e is adjusted the displacement function of the current positive-going transition function of image and the displacement function of reciprocal transformation function for the second time according to the inverse function of the current positive-going transition function of the image that obtains among the step D and the inverse function of current reciprocal transformation function; Then determine the interim mapping position at reference mark, source and the interim mapping position of target control point according to the displacement function of the current positive-going transition function of image after adjusting and the displacement function of reciprocal transformation function;
Step F, displacement function and the interim mapping position at reference mark, source and the interim mapping position of target control point according to displacement function and the reciprocal transformation function of the current positive-going transition function of the image that obtains in the step e, reference mark error and the conformity error of computed image conversion, if reference mark error and the conformity error of image conversion do not reach preset value, according to the interim mapping position at reference mark, source and the corresponding relation of target control point, and the corresponding relation at interim mapping position and reference mark, source is put in target control, repeating step A is to step e, until reference mark error and the conformity error of image conversion reach preset value.
The present invention also provides a kind of consistance image transformation system of retentive control point correspondence, comprises following unit:
Forward, reciprocal transformation construction of function unit, be used for according to reference mark, source and target control point correspondence, structure from the source mapping of control points to target control point the positive-going transition function and be mapped to the reciprocal transformation function at reference mark, source from the target control point, and the displacement function of the forward of computed image and reciprocal transformation function;
The reorientation unit is used for the displacement function of forward and reciprocal transformation function is carried out reorientation, the displacement function of the forward after being adjusted and reciprocal transformation function;
Adjustment unit, the forward after the adjustment that obtains according to the reorientation unit and the displacement function of reciprocal transformation function are adjusted the displacement function of the current forward of image and reciprocal transformation function for the first time;
Inverse function is found the solution the unit, is used for the inverse function of the current positive-going transition function of displacement function computed image of the current forward of the image that obtains according to the first adjustment unit and reciprocal transformation function and the inverse function of current reciprocal transformation function;
The mapping determining unit is used for finding the solution the inverse function of the current positive-going transition function of image that the unit obtains and the inverse function of current reciprocal transformation function is adjusted the displacement function of the current positive-going transition function of image and the displacement function of reciprocal transformation function for the second time according to inverse function; Then determine the interim mapping position at reference mark, source and the interim mapping position of target control point according to the displacement function of the current positive-going transition function of image after adjusting and the displacement function of reciprocal transformation function;
The estimation of error unit, for the displacement function of the current positive-going transition function of image that obtains according to the mapping determining unit and displacement function and the interim mapping position at reference mark, source and the interim mapping position of target control point of reciprocal transformation function, reference mark error and the conformity error of computed image conversion, if reference mark error and the conformity error of image conversion do not reach preset value, according to the interim mapping position at reference mark, source and the corresponding relation of target control point, and the corresponding relation at interim mapping position and reference mark, source is put in target control, with described forward, reciprocal transformation construction of function unit, the reorientation unit, adjustment unit, inverse function is found the solution the unit, the mapping determining unit repeats to cooperate and processes, until reference mark error and the conformity error of image conversion reach preset value.
Compared with prior art, the invention has the beneficial effects as follows: but the present invention has realized the consistance image conversion of retentive control point correspondence, can be used for solving the consistance transformation problem of image elastic registrating, under the prerequisite of finding the solution the consistance image conversion, kept as far as possible the corresponding relation at original reference mark.
Description of drawings
But the FB(flow block) of the consistance image conversion method of the retentive control point correspondence that Fig. 1 provides for the embodiment of the invention;
Fig. 2 be the embodiment of the invention provide find the solution the contrafunctional FB(flow block) of transforming function transformation function;
Fig. 3 is the consistance image transformation system configuration diagram of the retentive control point correspondence that provides of the embodiment of the invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
In embodiments of the present invention, but consistance transform method and image transformation system by the retentive control point correspondence, but realized the consistance image conversion of retentive control point correspondence, can be used for solving the consistance transformation problem of image elastic registrating, under the prerequisite of finding the solution the consistance image conversion, kept as far as possible the corresponding relation at original reference mark.。
But the FB(flow block) of the consistance image conversion method of the retentive control point correspondence that Fig. 1 is the present embodiment of the present invention to be provided, details are as follows:
In step S101, according to reference mark, source and target control point correspondence, structure from the source mapping of control points to target control point the positive-going transition function and be mapped to the reciprocal transformation function at reference mark, source from the target control point, and the displacement function of the forward of computed image and reciprocal transformation function.
Reference mark, the source q that at first makes the user input iBe r i, target control point p iBe s i, utilize radial basis function tectonic transition function, obtain from reference mark, source r iBe mapped to target control point s iThe positive-going transition function f 1(x), and from target control point s iBe mapped to reference mark, source r iThe reciprocal transformation function f 2(x).Calculate the displacement function u of positive-going transition function t(x)=f 1(x)-and x, the displacement function w of reciprocal transformation function t(x)=f 2(x)-x.
f 1 ( x ) = a 11 + a 1 x x x + a 1 y x y + Σ i = 1 n ω 1 i U ( | | r i - x | | ) - - - ( 1 )
f 2 ( x ) = a 21 + a 2 x x x + a 2 y x y + Σ i = 1 n ω 2 i U ( | | s i - x | | ) - - - ( 2 )
Wherein, r iReference mark, source q iInterim mapping position, s iTarget control point p iInterim mapping position,
Figure BDA00002414203800073
The thin plate spline basis function, coefficient (a 11, a 1x, a 1y, ω 1i) be equation P=L 1* W 1Solution,
L 1 = K 1 R R T 0 ( n + 3 ) × ( n + 3 ) , K 1 = 0 U ( d 12 ) . . . U ( d 1 n ) U ( d 21 ) 0 . . . U ( d 2 n ) . . . . . . . . . . . . U ( d n 1 ) U ( d n 2 ) . . . 0 n × n , d ij=||r i-r j||, W 1 = ω 11 . . . ω 1 n a 11 a 1 x a 1 y , ( n + 3 ) × 3
P = 1 p 1 1 p 2 . . . . . . 1 p n n × 3 , R = 1 r 1 1 r 2 . . . . . . 1 r n n × 3
L 1Be (n+3) * (n+3) matrix, 0 is 3 * 3 null matrix; W 1Be (n+3) * 3 matrixes, represent deformation function f 1Coefficient vector on X and Y-direction, K 1N * n matrix, according to r iBetween distance calculate, P is target control point set, target control point p i∈ P, R are reference mark, source q iThe set of interim mapping position, d IjR iAnd r jBetween Euclidean distance.
Coefficient (a 21, a 2x, a 2y, ω 2i) be equation Q=L 2* W 2Solution,
L 2 = K 2 S S T 0 ( n + 3 ) × ( n + 3 ) , K 2 = 0 U ( d 12 ) . . . U ( d 1 n ) U ( d 21 ) 0 . . . U ( d 2 n ) . . . . . . . . . . . . U ( d n 1 ) U ( d n 2 ) . . . 0 n × n , d ij=||s i-s j||, W 2 = ω 21 . . . ω 2 n a 21 a 2 x a 2 y , ( n + 3 ) × 3
Q = 1 q 1 1 q 2 . . . . . . 1 q n n × 3 , S = 1 s 1 1 s 2 . . . . . . 1 s n n × 3
L 2Be (n+3) * (n+3) matrix, 0 is 3 * 3 null matrix; W 2Be (n+3) * 3 matrixes, represent deformation function f 2Coefficient vector on X and Y-direction, K 2N * n matrix, according to s iBetween distance calculate, Q is reference mark, source set, reference mark, source q i∈ Q, S are target control point p iThe set of interim mapping position, d IjS iAnd s jBetween Euclidean distance.
In step S102, the displacement function of forward and reciprocal transformation function is carried out reorientation, the displacement function of the forward after being adjusted and reciprocal transformation function.
The displacement function of supposing the image positive-going transition function that last iteration is determined is u k(x), the displacement function of the reciprocal transformation function determined of last iteration is w k(x), the displacement function u of positive-going transition function t(x) reorientation is The displacement function w of reciprocal transformation function k(x) reorientation is
u *(x)=u t(u k(x)+x),u t(x)=f 1(x)-x (3)
w *(x)=w t(w k(x)+x),w t(x)=f 2(x)-x (4)
Displacement field through after redefining along with the increase of iterations, can guarantee q iMapping position r iConstantly to p iApproach, and in the iteration of back, r iThe position more and more to p iApproach, rather than at p iNear swing, this will help algorithm after convergence, the mapping error at reference mark in the scope that can control, thereby improve the precision of image registration.
In step S103, adjust for the first time the displacement function of the current forward of image and reciprocal transformation function according to the displacement function of the forward after adjusting and reciprocal transformation function.
The displacement function of the image positive-going transition function that this iteration is determined is u K+1(x), the displacement function of reciprocal transformation function is w K+1(x), adjust the forward of image the first time, the displacement function of reciprocal transformation function is
u k+1(x)=u k(x)+αu *(x) (5)
w k+1(x)=w k(x)+αw *(x) (6)
In step S104, according to the inverse function of the current positive-going transition function of displacement function computed image of the current forward of image and reciprocal transformation function and the inverse function of current reciprocal transformation function.
The positive-going transition function of image is h (x)=x+u (x), and the reciprocal transformation function is g (x)=x+w (x).Inverse function with the positive-going transition function is solved to example,
Figure BDA00002414203800091
Ω is the image space territory, finds the solution h (x by following iterative process *)=n, i.e. h -1(n)=x *, process flow diagram as shown in Figure 2.
Step S201 chooses initial point x 0, given permissible error ε, but maximum iterations iternumber, k=0;
Step S202 checks whether satisfy || h (x k)-n||<ε.If satisfy, then iteration finishes, optimum solution x *=x kOtherwise, turn to Step 203;
Step S203, structure direction of search d k, d k=[n-h (x k)];
Step S204, x K+1=x k+ λ kd k, λ k=0.5, k=k+1, λ k
Figure BDA00002414203800092
To adjust step-length;
If step S205 is k〉iternumber, iteration finishes, otherwise turns step 202.
In step S105, adjust for the second time the displacement function of the current positive-going transition function of image and the displacement function of reciprocal transformation function according to the inverse function of the current positive-going transition function of the image that obtains and the inverse function of current reciprocal transformation function; Then determine the interim mapping position at reference mark, source and the interim mapping position of target control point according to the displacement function of the current positive-going transition function of image after adjusting and the displacement function of reciprocal transformation function.
The second time adjusts the displacement function of the current positive-going transition function of image and the displacement function of reciprocal transformation function is:
u k+1(x)=u k(x)-β[u k(x)-g -1(x)+x] (7)
w k+1(x)=w k(x)-β[w k(x)-h -1(x)+x] (8)
Wherein, g -1(x) be the inverse function of image reversal transforming function transformation function, h -1(x) be the inverse function of image positive-going transition function, β is for adjusting coefficient.
According to the image forward after adjusting for the second time, the displacement function of reciprocal transformation function, determine reference mark, source q iInterim mapping position r iWith target control point p iInterim mapping position s i
r i=q i+u(q i) (9)
s i=p i+w(p i) (10)
In step S106, according to displacement function and the interim mapping position at reference mark, source and the interim mapping position of target control point of displacement function and the reciprocal transformation function of the current positive-going transition function of the image that obtains, reference mark error and the conformity error of computed image conversion.
The present invention calculates maximum reference mark error and maximum uniform error, and each error is defined as follows:
Maximum reference mark error (Maximum Landmark Error, MaxLE):
MaxLE=max{||h(q 1)-g -1(q 1)|| 2,…,||h(q N)-g -1(q N)|| 2,||g(p 1)-h -1(p 1)|| 2,…,||g(p N)-h -1(p N)|| 2}
(11)
Wherein, q iBe reference mark, source, p iBe the target control point.
Most homogeneous error (Maximum Consistency Error, MaxCE):
MaxCE=max{||h(x)-g -1(x)|| 2,x∈Ω} (12)
Wherein x is the point in the image space territory, and MN is the image pixel number.
If reference mark error and the conformity error of image conversion do not reach preset value, according to the interim mapping position at reference mark, source and the corresponding relation of target control point, and target control puts the corresponding relation at interim mapping position and reference mark, source, goes to step S101.
Fig. 3 is the consistance image transformation system configuration diagram of the retentive control point correspondence that provides of the embodiment of the invention, for convenience of explanation, only shows the relevant part of the embodiment of the invention.Wherein, but the consistance transform method device of this retentive control point correspondence can be the software unit that is built in image transformation system, the unit of hardware cell or soft or hard combination.
With reference to Fig. 3, in the present embodiment, but the consistance converting means that is somebody's turn to do the retentive control point correspondence comprises: forward, reciprocal transformation construction of function unit 31, reorientation unit 32, adjustment unit 33, inverse function are found the solution unit 34, mapping determining unit 35, estimation of error unit 36.
Forward, reciprocal transformation construction of function unit 31 are according to reference mark, source and target control point correspondence, structure from the source mapping of control points to target control point the positive-going transition function and be mapped to the reciprocal transformation function at reference mark, source from the target control point, and the displacement function of the forward of computed image and reciprocal transformation function.Concrete principle does not repeat them here as mentioned above.
Reorientation unit 32, according to the displacement function of the definite image positive-going transition function of last iteration and the displacement function of reciprocal transformation function, and forward, reciprocal transformation construction of function unit 31 positive-going transition function and the direction transformation function, the displacement function of reorientation positive-going transition function and the displacement function of reciprocal transformation function that obtain.Through the displacement field after redefining, along with the increase of iterations, can guarantee that the mapping position at reference mark, source is constantly approached to the target control point, and in the iteration of back, mapping position is more and more approached to the target control point, rather than near swing target control point.Concrete condition does not repeat them here as mentioned above.
Adjustment unit 33, the forward after the adjustment that obtains according to the reorientation unit and the displacement function of reciprocal transformation function are adjusted the displacement function of the current forward of image and reciprocal transformation function for the first time.
Inverse function is found the solution unit 34, the forward that the image that obtains according to adjustment unit is current and the inverse function of the current positive-going transition function of displacement function computed image of reciprocal transformation function and the inverse function of current reciprocal transformation function.
Mapping determining unit 35 is found the solution the inverse function of the current positive-going transition function of image that the unit obtains and the inverse function of current reciprocal transformation function is adjusted the displacement function of the current positive-going transition function of image and the displacement function of reciprocal transformation function for the second time according to inverse function; Then determine the interim mapping position at reference mark, source and the interim mapping position of target control point according to the displacement function of the current positive-going transition function of image after adjusting and the displacement function of reciprocal transformation function.
Estimation of error unit 36, according to the displacement function of the current positive-going transition function of image that obtains of mapping determining unit and displacement function and the interim mapping position at reference mark, source and the interim mapping position of target control point of reciprocal transformation function, reference mark error and the conformity error of computed image conversion, if reference mark error and the conformity error of image conversion do not reach preset value, according to the interim mapping position at reference mark, source and the corresponding relation of target control point, and the corresponding relation at interim mapping position and reference mark, source is put in target control, with described forward, reciprocal transformation construction of function unit 31, reorientation unit 32, adjustment unit 33, inverse function is found the solution unit 34, the mapping determining unit repeats to cooperate processes 35, until reference mark error and the conformity error of image conversion reach preset value.
Wherein, it is as indicated above that above-mentioned forward, reciprocal transformation construction of function unit 31, reorientation unit 32, adjustment unit 33, inverse function are found the solution the algorithmic formula of concrete operation time institute foundation of unit 34, mapping determining unit 35, estimation of error unit 36, gives unnecessary details no longer one by one.
In the embodiment of the invention, but consistance transform method and image transformation system by the retentive control point correspondence, but realized the consistance image conversion of retentive control point correspondence, can be used for solving the consistance transformation problem of image elastic registrating, under the prerequisite of finding the solution the consistance image conversion, kept as far as possible the corresponding relation at original reference mark.
The above only is preferred embodiment of the present invention, not in order to limiting the present invention, all any modifications of doing within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. but the consistance image conversion method of a retentive control point correspondence is characterized in that, described method comprises the steps:
Steps A, according to reference mark, source and target control point correspondence, structure from the source mapping of control points to target control point the positive-going transition function and be mapped to the reciprocal transformation function at reference mark, source from the target control point, and the displacement function of the forward of computed image and reciprocal transformation function;
Step B carries out reorientation, the displacement function of the forward after being adjusted and reciprocal transformation function to the forward that obtains in the steps A and the displacement function of reciprocal transformation function;
Step C adjusts the displacement function of the current forward of image and reciprocal transformation function for the first time according to the displacement function of the forward after the adjustment that obtains among the step B and reciprocal transformation function;
Step D is according to the inverse function of the current positive-going transition function of displacement function computed image of the current forward of the image that obtains among the step C and reciprocal transformation function and the inverse function of current reciprocal transformation function;
Step e is adjusted the displacement function of the current positive-going transition function of image and the displacement function of reciprocal transformation function for the second time according to the inverse function of the current positive-going transition function of the image that obtains among the step D and the inverse function of current reciprocal transformation function; Then determine the interim mapping position at reference mark, source and the interim mapping position of target control point according to the displacement function of the current positive-going transition function of image after adjusting and the displacement function of reciprocal transformation function;
Step F, displacement function and the interim mapping position at reference mark, source and the interim mapping position of target control point according to displacement function and the reciprocal transformation function of the current positive-going transition function of the image that obtains in the step e, reference mark error and the conformity error of computed image conversion, if reference mark error and the conformity error of image conversion do not reach preset value, according to the interim mapping position at reference mark, source and the corresponding relation of target control point, and the corresponding relation at interim mapping position and reference mark, source is put in target control, repeating step A is to step e, until reference mark error and the conformity error of image conversion reach preset value.
2. the method for claim 1 is characterized in that, described steps A is according to the forward of following formula computed image and the displacement function of reciprocal transformation function:
The displacement function of positive-going transition function: u t(x)=f 1(x)-x;
The displacement function of reciprocal transformation function: w t(x)=f 2(x)-x;
Wherein, f 1 ( x ) = a 11 + a 1 x x x + a 1 y x y + Σ i = 1 n ω 1 i U ( | | r i - x | | )
f 2 ( x ) = a 21 + a 2 x x x + a 2 y x y + Σ i = 1 n ω 2 i U ( | | s i - x | | )
X is the point coordinate of two-dimensional space, r iReference mark, source q iInterim mapping position, s iTarget control point p iInterim mapping position, The thin plate spline basis function, coefficient (a 11, a 1x, a 1y, ω 1i) be equation P=L 1* W 1Solution,
L 1 = K 1 R R T 0 ( n + 3 ) × ( n + 3 ) , K 1 = 0 U ( d 12 ) . . . U ( d 1 n ) U ( d 21 ) 0 . . . U ( d 2 n ) . . . . . . . . . . . . U ( d n 1 ) U ( d n 2 ) . . . 0 n × n , dij=||ri-rj||, W 1 = ω 11 . . . ω 1 n a 11 a 1 x a 1 y ( n + 3 ) × 3 ,
P = 1 p 1 1 p 2 . . . . . . 1 p n n × 3 , R = 1 r 1 1 r 2 . . . . . . 1 r n n × 3
L 1(n+3) * (n+3) matrix, wherein 0 be 3 * 3 null matrix; W 1Be (n+3) * 3 matrixes, represent deformation function f 1Coefficient vector on X and Y-direction, K 1N * n matrix, according to r iBetween distance calculate, P is target control point set, target control point p i∈ P, R are reference mark, source q iThe set of interim mapping position, d IjR iAnd r jBetween Euclidean distance;
Coefficient (a 21, a 2x, a 2y, ω 2i) be equation Q=L 2* W 2Solution,
L 2 = K 2 S S T 0 ( n + 3 ) × ( n + 3 ) , K 2 = 0 U ( d 12 ) . . . U ( d 1 n ) U ( d 21 ) 0 . . . U ( d 2 n ) . . . . . . . . . . . . U ( d n 1 ) U ( d n 2 ) . . . 0 n × n , d ij=||s i-s j||, W 2 = ω 21 . . . ω 2 n a 21 a 2 x a 2 y ( n + 3 ) × 3 ,
Q = 1 q 1 1 q 2 . . . . . . 1 q n n × 3 , S = 1 s 1 1 s 2 . . . . . . 1 s n n × 3
L 2Be (n+3) * (n+3) matrix, 0 is 3 * 3 null matrix; W 2Be (n+3) * 3 matrixes, represent deformation function f 2Coefficient vector on X and Y-direction, K 2N * n matrix, according to s iBetween distance calculate, Q is reference mark, source set, reference mark, source q i∈ Q, S are target control point p iThe set of interim mapping position, d IjS iAnd s jBetween Euclidean distance.
3. method as claimed in claim 2 is characterized in that, described step B carries out reorientation, the displacement function of the forward after being adjusted and reciprocal transformation function according to following formula to the forward that obtains in the steps A and the displacement function of reciprocal transformation function:
u *(x)=u t(u k(x)+x),u t(x)=f 1(x)-x
w *(x)=w t(w k(x)+x),w t(x)=f 2(x)-x
Wherein, u k(x) be the displacement function of the definite image positive-going transition function of last iteration, w k(x) be the displacement function of the definite reciprocal transformation function of last iteration, u *(x) be the displacement function u of interim positive-going transition function t(x) reorientation result, w *(x) be the displacement function w of interim reciprocal transformation function t(x) reorientation result.
4. but the consistance image conversion method of retentive control point correspondence as claimed in claim 3 is characterized in that, described step C is according to following the formula for the first time current forward of image and the displacement function of reciprocal transformation function:
The displacement function of the positive-going transition function that image is current: u K+1(x)=u k(x)+α u *(x)
The displacement function of the reciprocal transformation function that image is current: w K+1(x)=w k(x)+α w *(x);
Wherein α adjusts coefficient.
5. the method for claim 1 is characterized in that, described step e is adjusted the displacement function of the current positive-going transition function of image and the displacement function of reciprocal transformation function for the second time according to following formula:
The displacement function of the current positive-going transition function of image: u K+1(x)=u k(x)-β [u k(x)-g -1(x)+x]
The displacement function of the current reciprocal transformation function of image: w K+1(x)=w k(x)-β [w k(x)-h -1(x)+x]
Wherein, g -1(x) be the inverse function of image reversal transforming function transformation function, h -1(x) be the inverse function of image positive-going transition function, β is for adjusting coefficient; u k(x) be the displacement function of the positive-going transition function that obtains of last iteration, w k(x) be the displacement function of the reciprocal transformation function that obtains of last iteration, u K+1(x) be the displacement function of the positive-going transition function that obtains of this iteration, w K+1(x) be the displacement function of the reciprocal transformation function that obtains of this iteration;
Described step F is determined the interim mapping position at reference mark, source and the interim mapping position of target control point according to the displacement function of the current positive-going transition function of image and the displacement function of reciprocal transformation function:
Reference mark, source q iInterim mapping position: r i=q i+ u K+1(q i)
Target control point p iInterim mapping position: s i=p i+ w K+1(p i)
Wherein, q iThe reference mark, source, p iThe target control point, r iReference mark, source q iInterim mapping position, s iTarget control point p iInterim mapping position, u K+1(x) be the displacement function of the positive-going transition function that obtains of this iteration, w K+1(x) be the displacement function of the reciprocal transformation function that obtains of this iteration.
6. the consistance image transformation system of a retentive control point correspondence is characterized in that, described system comprises following unit:
Forward, reciprocal transformation construction of function unit, be used for according to reference mark, source and target control point correspondence, structure from the source mapping of control points to target control point the positive-going transition function and be mapped to the reciprocal transformation function at reference mark, source from the target control point, and the displacement function of the forward of computed image and reciprocal transformation function;
The reorientation unit is used for the displacement function of forward and reciprocal transformation function is carried out reorientation, the displacement function of the forward after being adjusted and reciprocal transformation function;
Adjustment unit, the forward after the adjustment that obtains according to the reorientation unit and the displacement function of reciprocal transformation function are adjusted the displacement function of the current forward of image and reciprocal transformation function for the first time;
Inverse function is found the solution the unit, is used for the inverse function of the current positive-going transition function of displacement function computed image of the current forward of the image that obtains according to adjustment unit and reciprocal transformation function and the inverse function of current reciprocal transformation function;
The mapping determining unit is used for finding the solution the inverse function of the current positive-going transition function of image that the unit obtains and the inverse function of current reciprocal transformation function is adjusted the displacement function of the current positive-going transition function of image and the displacement function of reciprocal transformation function for the second time according to inverse function; Then determine the interim mapping position at reference mark, source and the interim mapping position of target control point according to the displacement function of the current positive-going transition function of image after adjusting and the displacement function of reciprocal transformation function;
The estimation of error unit, for the displacement function of the current positive-going transition function of image that obtains according to the mapping determining unit and displacement function and the interim mapping position at reference mark, source and the interim mapping position of target control point of reciprocal transformation function, reference mark error and the conformity error of computed image conversion, if reference mark error and the conformity error of image conversion do not reach preset value, according to the interim mapping position at reference mark, source and the corresponding relation of target control point, and the corresponding relation at interim mapping position and reference mark, source is put in target control, with described forward, reciprocal transformation construction of function unit, the reorientation unit, adjustment unit, inverse function is found the solution the unit, the mapping determining unit repeats to cooperate and processes, until reference mark error and the conformity error of image conversion reach preset value.
7. system as claimed in claim 6 is characterized in that, described forward, reciprocal transformation construction of function unit calculate the displacement function of forward and reciprocal transformation function according to following formula:
The displacement function of positive-going transition function: u t(x)=f 1(x)-x;
The displacement function of reciprocal transformation function: w t(x)=f 2(x)-x;
Wherein, f 1 ( x ) = a 11 + a 1 x x x + a 1 y x y + Σ i = 1 n ω 1 i U ( | | r i - x | | )
f 2 ( x ) = a 21 + a 2 x x x + a 2 y x y + Σ i = 1 n ω 2 i U ( | | s i - x | | )
X is the point coordinate of two-dimensional space, r iReference mark, source q iInterim mapping position, s iTarget control point p iInterim mapping position,
Figure FDA00002414203700063
The thin plate spline basis function, coefficient (a 11, a 1x, a 1y, ω 1i) be equation P=L 1* W 1Solution,
L 1 = K 1 R R T 0 ( n + 3 ) × ( n + 3 ) , K 1 = 0 U ( d 12 ) . . . U ( d 1 n ) U ( d 21 ) 0 . . . U ( d 2 n ) . . . . . . . . . . . . U ( d n 1 ) U ( d n 2 ) . . . 0 n × n , d ij=||r i-r j||, W = ω 11 . . . ω 1 n a 11 a 1 x a 1 y ( n + 3 ) × 3 ,
P = 1 p 1 1 p 2 . . . . . . 1 p n n × 3 , R = 1 r 1 1 r 2 . . . . . . 1 r n n × 3
L 1Be (n+3) * (n+3) matrix, 0 is 3 * 3 null matrix; W 1Be (n+3) * 3 matrixes, represent deformation function f 1Coefficient vector on X and Y-direction, K 1N * n matrix, according to r iBetween distance calculate, P is target control point set, target control point p i∈ P, R are reference mark, source q iThe set of interim mapping position, d IjR iAnd r jBetween Euclidean distance;
Coefficient (a 21, a 2x, a 2y, ω 2i) be equation Q=L 2* W 2Solution,
L 2 = K 2 S S T 0 ( n + 3 ) × ( n + 3 ) , K 2 = 0 U ( d 12 ) . . . U ( d 1 n ) U ( d 21 ) 0 . . . U ( d 2 n ) . . . . . . . . . . . . U ( d n 1 ) U ( d n 2 ) . . . 0 n × n , d ij=||s i-s j||, W 2 = ω 21 . . . ω 2 n a 21 a 2 x a 2 y ( n + 3 ) × 3 ,
Q = 1 q 1 1 q 2 . . . . . . 1 q n n × 3 , S = 1 s 1 1 s 2 . . . . . . 1 s n n × 3
L 2Be (n+3) * (n+3) matrix, 0 is 3 * 3 null matrix; W 2Be (n+3) * 3 matrixes, represent deformation function f 2Coefficient vector on X and Y-direction, K 2N * n matrix, according to s iBetween distance calculate, Q is reference mark, source set, reference mark, source q i∈ Q, S are target control point p iThe set of interim mapping position, d IjS iAnd s jBetween Euclidean distance.
8. system as claimed in claim 7 is characterized in that, described reorientation unit carries out reorientation, the displacement function of the forward after being adjusted and reciprocal transformation function according to following formula to the displacement function of forward and reciprocal transformation function:
u *(x)=u t(u k(x)+x),u t(x)=f 1(x)-x
w *(x)=w t(w k(x)+x),w t(x)=f 2(x)-x
Wherein, u k(x) be the displacement function of the definite image positive-going transition function of last iteration, w k(x) be the displacement function of the definite reciprocal transformation function of last iteration, u *(x) be the displacement function u of interim positive-going transition function t(x) reorientation result, w *(x) be the displacement function w of interim reciprocal transformation function t(x) reorientation result.
9. system as claimed in claim 8 is characterized in that, described adjustment unit is determined forward that image is current and the displacement function of reciprocal transformation function according to following formula:
The displacement function of the positive-going transition function that image is current: u K+1(x)=u k(x)+α u *(x)
The displacement function of the reciprocal transformation function that image is current: w K+1(x)=w k(x)+α w *(x).
Wherein α adjusts coefficient.
10. system as claimed in claim 6 is characterized in that, described mapping determining unit is determined the displacement function of the current positive-going transition function of image and the displacement function of reciprocal transformation function according to following formula:
The displacement function of the current positive-going transition function of image: u K+1(x)=u k(x)-β [u k(x)-g -1(x)+x]
The displacement function of the current reciprocal transformation function of image: w K+1(x)=w k(x)-β [w k(x)-h -1(x)+x]
Wherein, g -1(x) be the inverse function of image reversal transforming function transformation function, h -1(x) be the inverse function of image positive-going transition function, β is for adjusting coefficient; u k(x) be the displacement function of the positive-going transition function that obtains of last iteration, w k(x) be the displacement function of the reciprocal transformation function that obtains of last iteration, u K+1(x) be the displacement function of the positive-going transition function that obtains of this iteration, w K+1(x) be the displacement function of the reciprocal transformation function that obtains of this iteration;
Described mapping determining unit is also determined the interim mapping position at reference mark, source and the interim mapping position of target control point according to the displacement function of the current positive-going transition function of image and the displacement function of reciprocal transformation function:
Reference mark, source q iInterim mapping position: r i=q i+ u K+1(q i)
Target control point p iInterim mapping position: s i=p i+ w K+1(p i)
Wherein, q iThe reference mark, source, p iThe target control point, r iReference mark, source q iInterim mapping position, s iTarget control point p iInterim mapping position, u K+1(x) be the displacement function of the positive-going transition function that obtains of this iteration, w K+1(x) be the displacement function of the reciprocal transformation function that obtains of this iteration.
CN201210462102.6A 2012-11-16 2012-11-16 Consistency image transformation method and system capable of keeping control point correspondence Expired - Fee Related CN102930502B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210462102.6A CN102930502B (en) 2012-11-16 2012-11-16 Consistency image transformation method and system capable of keeping control point correspondence

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210462102.6A CN102930502B (en) 2012-11-16 2012-11-16 Consistency image transformation method and system capable of keeping control point correspondence

Publications (2)

Publication Number Publication Date
CN102930502A true CN102930502A (en) 2013-02-13
CN102930502B CN102930502B (en) 2015-05-13

Family

ID=47645293

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210462102.6A Expired - Fee Related CN102930502B (en) 2012-11-16 2012-11-16 Consistency image transformation method and system capable of keeping control point correspondence

Country Status (1)

Country Link
CN (1) CN102930502B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103942752B (en) * 2014-04-25 2017-02-22 深圳大学 Quick consistent image transformation method and system
CN110853083A (en) * 2019-10-28 2020-02-28 上海联影智能医疗科技有限公司 Deformation field processing method and device, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006011539A (en) * 2004-06-22 2006-01-12 Namco Ltd Program, information storage medium, and image generating system
CN102201119A (en) * 2011-06-10 2011-09-28 深圳大学 Method and system for image registering based on control point unbiased transformation

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006011539A (en) * 2004-06-22 2006-01-12 Namco Ltd Program, information storage medium, and image generating system
CN102201119A (en) * 2011-06-10 2011-09-28 深圳大学 Method and system for image registering based on control point unbiased transformation

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
H.J.JOHNSON AND G. E. CHRISTENSEN: "Consistent Landmark and Intensity-Based Image Registration", 《IEEE TRANSACTIONS ON MEDICAL IMAGING》 *
HUA LONG, ET AL.: "Improved Consistent Elastic Image Registration Based on Landmark Correspondence", 《ICSP2012 PROCEEDINGS》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103942752B (en) * 2014-04-25 2017-02-22 深圳大学 Quick consistent image transformation method and system
CN110853083A (en) * 2019-10-28 2020-02-28 上海联影智能医疗科技有限公司 Deformation field processing method and device, electronic equipment and storage medium
CN110853083B (en) * 2019-10-28 2023-02-17 上海联影智能医疗科技有限公司 Deformation field processing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN102930502B (en) 2015-05-13

Similar Documents

Publication Publication Date Title
US9472021B2 (en) Method and system for three-dimensionally reconstructing non-rigid body based on multi-depth-map
CN110174894B (en) Robot and repositioning method thereof
CN107991683A (en) A kind of robot autonomous localization method based on laser radar
CN109478330B (en) Tracking system based on RGB-D camera and method thereof
CN104048659A (en) Method and system for transforming map coordinate system
CN103335724A (en) Calibration-based scene self-adaption IRFPA heterogeneity correction method
CN107808395B (en) Indoor positioning method based on SLAM
Cai et al. An integrated localization and control framework for multi-agent formation
He et al. Comparison of two kinds of prediction-correction methods for monotone variational inequalities
CN105957097A (en) Image registration method based on mixed mutual information and improved particle swarm optimization
CN112986906B (en) RSS-TOA joint positioning method for semi-positive definite programming
CN104182933A (en) Wide-angle lens image distortion correcting method based on reverse division model
JP2019184908A5 (en)
CN102930502A (en) Consistency image transformation method and system capable of keeping control point correspondence
CN104102844B (en) Based on 11The rational function model parametric solution and full parameter optimization method of norm constraint
Dubbelman et al. Closed-form online pose-chain slam
CN106156451A (en) A kind of based on the Mutual coupling technology improving quantum particle swarm
JPWO2016151864A1 (en) Optimization processing apparatus, optimization processing method, and program
Antipin Terminal control of boundary models
CN108428245B (en) Slip image registration method based on self-adaptive regular term
CN104866462B (en) A kind of topological relation correcting method of Map Generalization adjacent space key element
CN104537614A (en) Orthographic correction method of CCD image of HJ-1 satellite
CN104290102A (en) Rapid positioning compensation method
Zhao et al. Linear MonoSLAM: A linear approach to large-scale monocular SLAM problems
JP2012103115A (en) Device and program for acquiring three dimensional information

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150513

Termination date: 20161116