It is a kind of to look around the detection method for demarcating synthetic effect
Technical field
The present invention relates to vehicle-mounted camera parameter calibration detection field, and in particular to a kind of to look around the inspection for demarcating synthetic effect
Survey method.
Background technology
Vehicle-mounted viewing system is made up of the multiple stage wide angle cameras being assemblied on car body all around, and every video camera covers
Lid is certain interval, and image generates top view through viewpoint change, and carries out splicing and obtain vehicle-mounted looking around aerial view.In order that above-mentioned
The image absorbed by the multiple stage wide angle cameras being assemblied on car body can generate the seamless spelling not distorted through viewpoint change
Panoramic view is looked down in the synthesis for connecing, and inner parameter and the external parameter of the above-mentioned wide angle cameras being assemblied on car body must be accurate
Demarcate.Whether the inner parameter of video camera accurately directly affects the distortion correction effect of composite diagram.The external parameter of video camera is
It is no can accurately affect composite diagram in each camera image junction whether misplace, look down panoramic view in also affecting final composite diagram
It is whether correct with the relative position relation of car body.
In the system, the part of most critical is the demarcation to camera inner parameter and external parameter, and synthesis process
Image algorithm.Prior art and product adopt a variety of algorithms, cause in the deformation extent for getting a bird's eye view picture for ultimately forming,
Degreeof tortuosity, the laminating degree of the splicing of each camera picture, and fog-level of process fusion picture etc. have very big difference.
Meanwhile, not to looking around the method for inspection and foundation of demarcating composite result in prior art and product.How to set
Meter demarcates the detection method of effect, to guarantee the accuracy of camera parameter calibration, becomes the weight of vehicle-mounted viewing system research
Want direction.
The content of the invention
Goal of the invention:In order to overcome the deficiencies in the prior art, the present invention to provide a kind of detection looked around and demarcate synthetic effect
Method, by setting detection zone on ground, by the position adjustment of the area image, glacing flatness detection, accuracy detection, distinguishable
Knowledge and magnanimity are detected and blind area is detected, it is ensured that the accuracy of camera parameter calibration.
Technical scheme:A kind of vehicle-mounted viewing system demarcates the detection method of synthetic effect, including host computer;It is characterized in that
Including an actual place detection zone, the actual place detection zone is rectangle, position on the basis of the center of the rectangle;It is flat
Row has some detection lines in long side and the broadside of rectangular area, respectively spaced set;Square has been evenly arranged in detection line
Detection block;Including test bar;
The method is comprised the following steps:
1) adjustment detection vehicle location:The actual place detection zone of detection vehicle viewing system output is obtained by host computer
Area image, the such as image are mismatched with detection zone image, are chosen adjusting point, are converted by plane Affine, obtain detection zone
The remedial frames that domain is matched with actual place detection zone;
2) glacing flatness detection:The detection line includes horizontal detection line and longitudinal detection line, calculates detection line on image
, respectively to standard lateral and the mean value of standard longitudinal direction detection line vertical range, computing formula is as follows for each pixel:
Wherein,
NhFor the summation of all horizontal detection line pixel counts;
NvFor the summation of all longitudinal detection line pixel counts;
HiFor preferable i-th x wire,For i-th x wire for detecting;
VjFor preferable j-th strip vertical line,For the j-th strip vertical line for detecting;
Dist () is the vertical range summation function put in above-mentioned two lines;
3) splice accuracy detection:In viewing system, boundary line and the detection line phase of every camera FOV intersection
Hand over, judge whether the detection line on image has bifurcated and fracture by the staggered pixels at the joining or dislocation;
4) can identification detection:By datum level place detection block, with detection block detect viewing system can identification;
Detection block in observation imaging whether there is, if fuzzy, deformation, if edge clear is visible.
5) blind area detection:The test bar is placed perpendicular to ground, one end patch ground;Test bar and the vehicle body for detecting vehicle
Fixed range is kept to move some weeks, the distance for controlling test bar each week with vehicle body is incremented by;Check whether output image occurs
Blind area or disjunction phenomenon;
The detection block length of side is 5cm-10cm.
The a diameter of 5cm of test bar, length is 1.5m.
Step 5) in, the increasing lengths of test bar and vehicle body distance according to 10cm, 30cm, 50cm, 100cm.Such size
Inspection block and check rod be easy to operate and recognize.
Beneficial effect:
1st, by a series of detection, ensure that the accuracy of vehicle-mounted viewing system camera parameter calibration;
2nd, the reducing degree looked around to actual vehicle and surrounding enviroment, including visual can be detected, whether ratio is accurate
Really, vehicle grazing can not occur because of proportional imbalance.
3rd, the precision for looking around picture is can interpolate that, lines distortion or fuzzy on picture is looked around, be can confirm that such ring
Depending on putting in actual use, it is impossible to which effectively auxiliary human pilot operates vehicle.
4th, the size and location of blind area is can interpolate that, more than a certain degree of blind area scope, you can confirm the viewing system
It is unqualified.
Description of the drawings
Fig. 1 actual place detection zone schematic diagrames
Before Fig. 2 adjustment vehicle detection area images
After Fig. 3 adjustment vehicle detection area images
Fig. 4 glacing flatness detects schematic diagrams
Fig. 5 boundary line schematic diagrames
Fig. 6 vertical directions imaging dislocation schematic diagram
Fig. 7 puts schematic diagram for detection block
Fig. 8 test bar mobile route schematic diagrames
Specific embodiment
Below in conjunction with the accompanying drawings the present invention is done and is further explained.
A kind of vehicle-mounted viewing system demarcates the detection method of synthetic effect, including host computer;In this example, imaging is referred to
The image that the picture that the camera of vehicle-mounted viewing system shoots is shown after passing host computer back.
As shown in figure 1, the method includes an actual place detection zone, the place is set up on smooth ground, real
Border place detection zone is rectangle, is to ensure that most of dilly can enter inspection, the size of the rectangular area of this example
It is set to 3m × 6m.Position on the basis of the center of the rectangle is set, for positioning vehicle.Detect other kinds of large-scale if desired
Vehicle, the method for arranging place are identical, proportionally adjust accordingly.
As shown in figure 1, actual place detection zone is provided with detection line, long side of these detection lines parallel to rectangular area
And broadside;Including horizontal detection line and longitudinal detection line, width of the horizontal detection line parallel to rectangle in figure, longitudinal detection line are put down
Row is in the height of rectangle;Wherein, there are two detection lines intersecting through reference position.
The method is comprised the following steps:
Step 1) adjustment detection vehicle location:The actual place inspection of detection vehicle viewing system output is obtained by host computer
Area image is surveyed, as shown in Fig. 2 because of storing cycle not just, the image and detection zone image captured by vehicle-mounted viewing system
Mismatch, need image correction, the detection zone image of the rectangular area allowed in captured image and host computer Plays
Essentially coincide.Artificial operation is now needed, adjusting point is chosen, this example selects two tops in rectangular area upper left and upper right in Fig. 2
Point, host computer are converted automatically by plane Affine, are modified to position and the angle of picture, so as to obtain detection zone and actual field
The remedial frames that ground detection zone matches, the remedial frames are as shown in Figure 3.
2) glacing flatness detection:For detecting the precision of camera inner parameter calculating.Judge each bar detection line glacing flatness
Whether set test stone is met.Concrete grammar is each pixel for calculating detection line on image respectively to standard lateral and mark
The mean value of quasi- longitudinal direction detection line vertical range, computing formula are as follows:
Wherein,
NhFor the summation of all horizontal detection line pixel counts;
NvFor the summation of all longitudinal detection line pixel counts;
HiFor preferable i-th x wire,For i-th x wire for detecting;
VjFor preferable j-th strip vertical line,For the j-th strip vertical line for detecting;
Dist () is the vertical range summation function put in above-mentioned two lines;
As shown in figure 4, line straight in figure is normal line, above normal line, not straight line is exported to be detected camera
Detection line.By calculating, when the mean value of vertical range exceeds given area, that is, judge that glacing flatness detection is unqualified.
3) splice accuracy detection:In viewing system, as shown in figure 5, four oblique lines in figure are every camera ken model
The boundary line of intersection is enclosed, the boundary line is intersected with detection line, the point intersected with horizontal item detection line can aid in detection level side
To splicing precision.The point intersected with longitudinal detection line, can aid in detecting the splicing precision of vertical direction.As shown in fig. 6, logical
Whether the detection line that the staggered pixels or dislocation crossed at the joining are judged on image has bifurcated and fracture;The d1 represented in Fig. 6
For the width of dislocation, d2 is normal live width.
4) can identification detection:As shown in fig. 7, by detection block detect viewing system can identification;Detection block is for just
Square, the length of side is set in 5cm-10cm as needed.Uniformly put along detection line.Whether the detection block in observation imaging deposits
In, if fuzzy, deformation, if edge clear is visible etc..
5) blind area detection:The test bar is placed perpendicular to ground, one end patch ground;The material of test bar may be selected PVC
The common used materials such as tubing, can recycle.The diameter of test bar is about 5cm, and length is about 1.5m.
Test bar keeps fixed range movement mobile one week with the vehicle body of detection vehicle, forms a detection circle, can choose
The each movement in 10cm, 30cm, 50cm, 100cm source one week, mobile route is as shown in Figure 8.Check whether output image blind area occurs
Or disjunction phenomenon.
In a practical situation, in the case of conditions permit, species can be increased and is separately verified.Check rod and vehicle body distance
Less value can be used, and with multiple different lengths checking, the accuracy of blind area detection is improved by repeated detection.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should
It is considered as protection scope of the present invention.