Summary of the invention
Technical matters to be solved by this invention is to overcome the deficiency of existing ranging technology, and a kind of target ranging method based on the synthetic aperture focusing image is provided, and has the advantages such as the cost of realization is low, antijamming capability is strong, algorithm is simple.
Target ranging method based on the synthetic aperture focusing image of the present invention may further comprise the steps:
Step 1, utilize the pinhole imaging system model camera to obtain the uniformly-spaced linear array seat in the plane image sequence vertical with line of sight, the image of linear array and seat in the plane, line of sight intersection point place is as benchmark image;
Step 2, can find range is divided into a plurality of distance segment from scope, for each distance segment, calculate respectively first the aberration between each width of cloth image and benchmark image in the described image sequence, then each width of cloth image in the image sequence is carried out superposeing behind the aberration correction, obtain the corresponding aberration correction superimposed image of this distance segment; The corresponding width of cloth aberration correction superimposed image of each distance segment;
Step 3, calculate each pixel in the benchmark image neighborhood and each width of cloth aberration correction superimposed image in the similarity of respective regions, and choose scope that similarity changes with the aberration correction superimposed image greater than the pixel conduct of the predetermined threshold value pixel of can finding range;
Step 4, for each the found range pixel in the benchmark image, select the aberration correction superimposed image of similarity maximum of the neighborhood of respective regions and this pixel of can finding range, the corresponding distance segment of this aberration correction superimposed image is this residing distance segment of the corresponding impact point of pixel of can finding range.
In the technique scheme, described uniformly-spaced linear array seat in the plane image sequence can utilize a plurality of video cameras of uniformly-spaced arranging to take simultaneously simultaneously or not and obtain, also can utilize same pinhole imaging system model camera uniformly-spaced follow shot obtain, especially the latter for take photo by plane the range finding application have more significance.
Compared to existing technology, the present invention has following beneficial effect:
1) be embodied as the flexible movement (with the flexible hypertonic of aperture) of image planes with the real time signal processing method, realize that monocular focuses on measuring distance, avoided the mechanical action of optical lens focal imaging, measuring speed is fast, and is easy-to-use;
2) compare with the manufacturing process of optics high-aperture lenses complexity, it is easier to form same large synthetic aperture, and large synthetic aperture focusing distance accuracy is high, can be widely used in the fields such as production, scientific research, military affairs, especially can be applicable to aerial image sequence, survey and draw out the ground scene 3-D view;
3) passive mapping have hidden, without the advantage of Contamination of Electromagnetic Wave, the mapping cost low;
4) if initiatively to target area projective textures pattern, can make target area image information entropy reasonable layout, but the point distance measurement distribution suits the requirements;
5) because linear array adjacent camera baseline is very short, the shielded image that mild viewpoint difference causes changes, the image sequence synthesized image has obvious inhibition ability to differences such as single image illumination, DE Camera Shake, noises, and this method does not need to carry out images match, and algorithm is stable.
Embodiment
Below in conjunction with accompanying drawing technical scheme of the present invention is elaborated:
Fully understand technical scheme of the present invention for the ease of the public, at first the ultimate principle of Technologies Against Synthetic Aperture focal imaging is introduced:
During the high-aperture lenses imaging, the incident ray by each position of camera lens is after the camera lens refraction, and target light is assembled again, becomes two-dimensional image at imaging surface.If incident ray is pressed the sub-aperture separate imaging that passes through, with the signal processing method stack, just obtain the synthetic aperture picture again, imaging results is consistent with the high-aperture lenses imaging.Fig. 1 a display-object point p1Focus on the imaging surface through the large aperture optical lens; Fig. 1 b shows has a sub-aperture apart from photocentre line r place, through this sub-aperture imaging, and p1Still focus on the picture center, and the impact point p of another distance2There is aberration ε in imaging apart from the picture center, it and r linear positive correlation.Fig. 1 c, Fig. 1 d show full aperture imaging p1Be a bit, and p2Be imaged as a circle, it is comprised of each sub-aperture imaging, therefore we can emulation high-aperture lenses imaging process, each sub-aperture image is superposeed by certain rule, obtain the synthetic aperture picture, it has the feature of high-aperture lenses imaging, and the method that can use the monocular range finding is measured the distance of synthetic aperture target.Form the synthetic aperture picture, and do not require that all sub-aperture images all participate in calculating in Fig. 1 d macropore collar, only need the parton aperture image to participate in superposition calculation, just can form the synthetic aperture effect.
Thinking of the present invention is exactly to utilize the principle of synthetic aperture focusing imaging to carry out object ranging, specifically as shown in Figure 3, may further comprise the steps:
Step 1, utilize the pinhole imaging system model camera to obtain the uniformly-spaced linear array seat in the plane image sequence vertical with line of sight, the image of linear array and seat in the plane, line of sight intersection point place is as benchmark image.
Above-mentioned image sequence can utilize uniformly-spaced a plurality of video cameras of arranging to take simultaneously simultaneously or and obtain, also can utilize same pinhole imaging system model camera uniformly-spaced follow shot obtain (for example aerial image sequence).Describe as an example of video camera linear array shown in Figure 2 example in this embodiment, each video camera imaging meets the pinhole imaging system model in the linear array, and each video camera can be regarded the sub-aperture of linear array of high-aperture lenses as like this.As shown in Figure 2, the 2N+1 in this video camera linear array identical video camera CnParallel placement, n=-N ..., 0 ... N, C0Be fiducial cameras, all video cameras evenly are fixed on the cross bar that length is 2NB, and the video camera spacing is B, fiducial cameras C0At the cross bar center.The lens direction of video camera is vertical with cross bar, all video camera axis coplanar.So, video camera CnWith fiducial cameras C0Baseline be nB.Utilize in this video camera linear array video camera simultaneously or simultaneously target is not taken, can obtain comprising the image sequence of 2N+1 width of cloth image.Fig. 4 is an example of linear array seat in the plane image sequence uniformly-spaced, and video camera for shooting is the aperture camera lens of the super depth of field, and image sequence is not simultaneously collection, and each image irradiation is widely different.Synthetic aperture focusing stereoscopic vision requires to obtain a plurality of images of the different seats in the plane of same target, and illumination, video camera difference, noise etc. are had stronger adaptive faculty.Image sequence can from video camera array, also can be that same camera shifting timesharing is taken.In fact aerial image sequence is processed, and the mobile camera image sequence processing also can adopt the synthetic aperture principle to obtain depth information.
Step 2, can find range is divided into a plurality of distance segment from scope, for each distance segment, calculate respectively first the aberration between each width of cloth image and benchmark image in the described image sequence, then each width of cloth image in the image sequence is carried out superposeing behind the aberration correction, obtain the corresponding aberration correction superimposed image of this distance segment; The corresponding width of cloth aberration correction superimposed image of each distance segment.
Still the video camera linear array in Fig. 2 is as example, and the initial point of each camera coordinate system is the photocentre of camera lens separately, and Z axis is by photocentre direction field sight spot direction, and perpendicular to the plane of delineation, along base direction, perpendicular to other diaxon, this three satisfies the right-hand rule to Y-axis to X-axis by photocentre by photocentre.x
nBe impact point P horizontal ordinate in each image coordinate system, z be P to the distance of video camera principal plane, nB is base length, f is focal length.Can draw video camera C by geometric relationship
nWith fiducial cameras C
0Aberration be:
L wherein
cBe the target surface pixel distance.Aberration between each image and the benchmark image in (distance segment that different values is corresponding different) image sequence in the time of can obtaining z and get different value according to following formula.For each distance segment, according to the aberration that calculates each width of cloth image in the sequence is carried out aberration correction, and the 2N+1 width of cloth image behind the aberration correction superposeed, then obtain to aberration correction superimposed image that should distance segment the corresponding width of cloth aberration correction superimposed image of each distance segment.If fiducial cameras C
0Image for being designated as s
0(x, y), then superposed signal is:
WhereinFor synthetic aperture pixel diffusion kernel, different from optical aperture, synthetic aperture nuclear proliferation scope can be very large, and diffusion way can disperse, and diffusion peacekeeping direction also can artificially design.Displacement can be sub-pixel, can make the synthetic aperture image focu in any distance, and namely imaging surface can move arbitrarily.Directly all image sequence stack gained synthesized images are focused on the infinite point target.Video camera linear array length 2NB is length of synthetic aperture, gives up linear array two ends camera review and can be analogous to the aperture that has dwindled process shot.Because linear array adjacent camera baseline is very short, alleviated the shielded image variation that the viewpoint difference causes.Fig. 5 a and Fig. 5 b have shown two width of cloth image sequence synthesized images, and Fig. 5 a focuses on the close shot place, and Fig. 5 b focuses on relative distant view place, because the synthetic aperture diameter is more much bigger than optical lens, so small target range difference also can cause significantly poly-/defocusing effect.The image sequence synthesized image has obvious inhibition ability to differences such as single image illumination, DE Camera Shake, noises.
Step 3, calculate each pixel in the benchmark image neighborhood and each width of cloth aberration correction superimposed image in the similarity of respective regions, and choose scope that similarity changes with the aberration correction superimposed image greater than the pixel conduct of the predetermined threshold value pixel of can finding range.
The similarity of area image is defined as in the subregion:(x, y) is pixel coordinate in the subregion in the formula.For example, getting the length of side is the square slide block of 5 pixels, from left to right, sliding all over the view picture picture successively from top to bottom in picture as slide block center pixel neighborhood, calculates benchmark image and stacking diagram's similarity R in the slide blockzWhen (x, y), only need to revise ∑ corresponding to border variation pixel that slide block slides and causesX, ys∑(x, y) s0(x, y), ∑X, ys∑(x, y) and ∑X, ys0(x, y) just change can so that the similarity counting yield is high.Change the z value with orderly interval and calculate Rz(x, y) repeats said process, obtains R corresponding to all z values (distance segment)z(x, y).Like this, all there is the similarity value of a correspondence in each pixel in the benchmark image under each distance segment.
The target area image entropy can not be too little when using the focusing effect range finding, be that target area image will have certain quantity of information, otherwise can not produce the poly-difference that defocuses, Fig. 6 has shown benchmark image information entropy distribution binary image, wherein white portion represents that this area image has enough target information amount, can find range, and the null value district represents that this area image does not have enough target information amount, cannot find range.Yet, very complicated with the information entropy split image, can suffer from each image sampling condition difference.In fact by investigating Rz(x, y) just can distinguish poly-defocus difference and split image.Its R of image-region that entropy is littlez(x, y) is with z(or distance segment) variation is little, on the contrary then dynamic change scope is large.Give similarity Rz(x, y) is with z(or distance segment) the dynamic change scope establishes a threshold value, to each neighborhood of pixels in the benchmark image, similarity Rz(x, y) dynamic change scope (being the poor of similarity maximal value and minimum value) is only effective range finding greater than the object ranging of this threshold value, and this pixel is for finding range pixel, and the pixel that is less than or equal to this threshold value then should not be used to find range.
Step 4, for each the found range pixel in the benchmark image, select the aberration correction superimposed image of similarity maximum of the neighborhood of respective regions and this pixel of can finding range, the corresponding distance segment of this aberration correction superimposed image is this residing distance segment of the corresponding impact point of pixel of can finding range.
For the found range pixel in the benchmark image, its maximum similarity Rz(x, y) corresponding z value (distance segment) is the distance segment at the corresponding impact point of this pixel place.Distance according to the corresponding impact point of pixel of respectively can finding range that obtains can obtain synthetic aperture target depth image as shown in Figure 7, and brightness represents target depth among the figure, and the yardstick unit of the brightness in left side and distance collation table is rice.Utilize this figure in conjunction with Fig. 6, can get the degree of depth (distance) at target effective position.
The target ranging method that the present invention is based on the synthetic aperture focusing image only focuses on the specific range target, focuses on the echo signal concentration of energy, is subjected to other distance objective effect of signals little, focusing as concentration of energy in the zonule, be easy to distinguish with other distance objectives, algorithm is stable, is suitable for engineering and uses.Byn=-N,…,0,…N。Minimum value wherein isThis shows that range resolution is directly proportional with square distance, and distance distance accuracy far away is poorer.D (x in the formula0-xn) be that image can be distinguished pixel displacement, jointly determined by algorithm and system hardware, usually pixel distance on the target surface as d (x0-xn) assessed value, it is subjected to the hardware advances horizontal constraints.As seen increase the length of B or select long focal length lens can improve resolution, but can bring finding range to change.It has been generally acknowledged that but the range finding maximum distance is subjected to the size restriction of target recognition image, the range finding minimum distance is tested apart from the dead band restriction, enter the range finding dead band after, have the partial line array camera to cannot see target, affect the figure image focu and finds range.The video camera distribution density, whether whether evenly distribute affects non-distance z place scene image by evenly level and smooth.The number of cameras increase means that calculated amount increases and systematic error increases.
The synthetic aperture focusing range finding need utilize texture and the marginal information of target image, if initiatively to target area projective textures pattern, can make target area image information entropy reasonable layout, point distance measurement suits the requirements.Because linear array adjacent camera baseline is very short, the shielded image that mild viewpoint difference causes changes.This algorithm does not need to carry out images match, directly focuses on target, and algorithm is extremely stable, can process in real time.