Background technology
Along with continuing to bring out of novel sensor, the ability that people obtain image improves rapidly, and the image that sensor produced of different physical features also is on the increase.Because the digital picture that the different images sensor obtains exists tangible limitation and otherness, so only utilize a kind of view data often to be difficult to practical requirement.Second image mainly is through obtaining the information of visible light part, have the resolution height, the characteristics clearly that form images, but be difficult to differentiate through camouflage and the object that covers, and relatively poor at the imaging effect of light dark place.Infrared image mainly is the information that receives infrared band through infrared sensor, and the thermal-radiating difference in can reflecting regional can disclose through camouflage and the object that covers, and can reflect the sight of dark place.For this reason, need can optical sensor and the infrared image synthesis that obtains be got up to use, reach, the accurately purpose of understanding and cognition more comprehensive, clear target through image registration techniques.
In the prior art, image registration techniques mainly is divided three classes: the method for finding the solution based on the method for half-tone information, based on the method and the transform domain of characteristic.Method for registering based on gray scale is directly to utilize the gray scale of image to measure the similarity between two width of cloth images, then, adopts the method searching of search to make similarity measurement maximum or minimum point, thereby confirms the transformation model parameter between two width of cloth images.The shortcoming that exists based on the method for registering of gray scale is that calculated amount is big, between two width of cloth images disappearance can not be arranged, and is comparatively responsive to convergent-divergent rotation and distortion.Based on the method for registering of characteristic, be on two width of cloth images, to extract characteristics of image respectively, like profile, angle point etc., two stack features that extract are carried out registration, the registration parameter of obtaining is the registration parameter of two width of cloth images.The method that transform domain is found the solution is to utilize the translation character of Fourier transform under the frequency and phase propetry to come the translation vector between the detected image, but this method is responsive for convergent-divergent and distortion.
Need a kind of new method for registering images, on the basis that reduces operand, keep very strong robustness, can also be applicable to the registration problems of different source images.
Summary of the invention
The object of the present invention is to provide a kind of based on method for registering minor increment sum between feature point set, that be particularly useful for the infrared image and second image; Pass through Corner Detection extract minutiae collection at the infrared image of treating registration and second image; Through making up objective function, registration problems is converted into the minimum problem of asking objective function based on minor increment sum between point set.Find the solution the parameter that parameter that this objective function obtains is registration, with this registration parameter to infrared image and second image enforcement registration.The present invention has reduced the scale of calculating, and has computing simple and high-efficient characteristics, has very strong robustness, is particularly suitable for the registration problems of different source images.
According to a main aspect of the present invention, a kind of method for registering images is provided, it comprises the steps:
(a) obtain the feature point set of first image and second image respectively;
(b) be the target point set with one of them feature point set, another feature point set is the point set that floats, and each point obtains shining upon point set through conversion in the point set that floats;
(c) calculate the distance matrix that shines upon between point set and each point of target point set, and, obtain the bee-line of interior each point of point set apart from the other side's point set according to distance matrix;
(d) all bee-lines are sued for peace, with this establishing target function;
(e) ask the minimal value of objective function, the parameter that obtains is the registration parameter of feature point set; And
(f) utilize the registration parameter of trying to achieve that first image and second image are carried out registration.
According to an aspect of the present invention, first image is an infrared image.
According to an aspect of the present invention, second image is a visible images.
According to an aspect of the present invention, adopt corner detection approach to obtain the feature point set of image.
According to an aspect of the present invention, corner detection approach comprises the Harris corner detection approach.
According to an aspect of the present invention, conversion comprises translation, rotation, convergent-divergent.
According to an aspect of the present invention, registration parameter comprises the parameter of translation, rotation, convergent-divergent.
Will be appreciated that the characteristic in the above each side of the present invention is independent assortment within the scope of the invention, and do not receive the restriction of its order---as long as the technical scheme after the combination drops in the connotation of the present invention.
Embodiment
Hereinafter will combine the preferred embodiments of the present invention that technical scheme of the present invention is elaborated.
Need to understand that the description of hereinafter (comprising accompanying drawing) only is exemplary, but not the description of limitation of the present invention property.Can relate to the concrete quantity of parts in the following description, yet also need should be appreciated that, these quantity also only are exemplary, and those skilled in the art can choose the parts of right quantity with reference to the present invention arbitrarily.And wordings such as mentioned in the present invention " first ", " second " are not the ordering of expression to parts importance, only make the difference name of parts and are referred to as to use.
Fig. 1 has shown the process flow diagram of the inventive method.
In one embodiment of the invention, its key step is following:
At first, adopt Harris angular-point detection method extract minutiae collection respectively for same target infrared image and visible images.Angle point is the important local feature of image, and its definition directly perceived is at all bigger point of both direction epigraph grey scale change at least.At the angle point place, the shade of gray of image is discontinuous, and in the contiguous zone of angle point, gradient has two or more different values.To each pixel on the gray level image, calculate in horizontal and vertical first order derivative, and the product of the two, obtain three width of cloth new images like this.The corresponding property value of each pixel is represented g respectively on three width of cloth imagesx, gy, gxgyCarry out gaussian filtering for three width of cloth images, calculate the interest value of each corresponding point:
I=det(M)-k·tr2(M) (2)
Wherein, k is the weights coefficient, preferably gets 0.04, gxBe the gradient of x direction, gyBe the gradient of y direction,Be Gauss's template, det () is a determinant of a matrix, and tr () is a matrix trace.After the interest value of having calculated each point, extract the maximum point of all partial interest values of original image and be unique point.
Secondly, the feature point set that extracts with visible images is as target point set X={x1, x2..., xn, the number of point is n in the point set; , the feature point set that extracts with infrared image is as unsteady point set Y={y1, y2..., ym.The number of point is m in the point set.Point xiWith yjBetween distance be d (xi, yj)=|| xi-yj||, || || the tolerance of expression distance.Each some process translation (Δ y that the point set Y that floats is interior1, Δ y2), the rotation θ, conversion such as convergent-divergent α, by former coordinate space to target point set spatial mappings.Its mid point yiBe designated as T (y through mappingi), the point set Y that floats is designated as T (Y) through mapping.Wherein translation transformation does
Rotational transform does
Scale transformation does
Once more, will pass through interior 1 the T (y of mapping back point set T (Y)i) be designated as { d (T (y to the distance of the interior each point of target point set Xi), x1), d (T (yi), x2) ..., d (T (yi), xm), wherein minor increment is designated as mind (T (yi), X).Equally, 1 x in the target point set XjDistance to the interior each point of point set T (Y) is { d (T (y1), xj), d (T (y2), xj) ..., d (T (yn), xj), wherein minor increment is designated as min d (T (Y), xj).
Calculate the bee-line of the interior each point of mapping point set and target point set, obtain two minor increments set, be respectively to the other side's point set
{ min d (T (y1), X), min d (T (y2), X) ..., min d (T (yn), X) }, with
{min?d(T(Y),x1),min?d(T(Y),x2),…,min?d(T(Y),xm)}。
Then, the point set Y that will float is through transforming to mapping point set T (Y), and the matching degree between T (Y) and the target point set X adds up with two-way minor increment and measures, and sets up objective function
Then, ask the minimal value of this function, confirm parameter (Δ y1, Δ y2, θ, α).
At last, according to the registration parameter of obtaining, carry out registration for infrared image and visible images.
Above basis has preferred embodiment been done detailed description to the present invention; But it will be appreciated that; Scope of the present invention is not limited to these concrete embodiments, but comprises that those skilled in the art are according to any change and the change that openly can make of the present invention.