CN103871071A - Method for camera external reference calibration for panoramic parking system - Google Patents

Method for camera external reference calibration for panoramic parking system Download PDF

Info

Publication number
CN103871071A
CN103871071A CN201410138126.5A CN201410138126A CN103871071A CN 103871071 A CN103871071 A CN 103871071A CN 201410138126 A CN201410138126 A CN 201410138126A CN 103871071 A CN103871071 A CN 103871071A
Authority
CN
China
Prior art keywords
coordinate system
reference point
camera
world coordinate
ideal
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
CN201410138126.5A
Other languages
Chinese (zh)
Other versions
CN103871071B (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.)
Beijing Jingwei Hirain Tech Co Ltd
Original Assignee
Beijing Jingwei Hirain Tech Co Ltd
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 Beijing Jingwei Hirain Tech Co Ltd filed Critical Beijing Jingwei Hirain Tech Co Ltd
Priority to CN201410138126.5A priority Critical patent/CN103871071B/en
Publication of CN103871071A publication Critical patent/CN103871071A/en
Application granted granted Critical
Publication of CN103871071B publication Critical patent/CN103871071B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method for industrially-automatic external reference calibration for a panoramic parking system. The method comprises the steps that a calibrated site is arranged, an ideal world coordinate system is determined, and a reference point is placed; the position of the reference point in an image coordinate system is calculated; the position of the reference point in a sensor coordinate system is calculated; an ideal external reference of a camera is calculated; the rotating deviation and the horizontally-moving deviation of a vehicle relative to the ideal world coordinate system are calculated; according to the rotating deviation and the horizontally-moving deviation, the position of the reference point in the ideal world coordinate system determined by the actual position of the vehicle relatively is calculated again; according to an internal reference of the camera, the position of the reference point in the sensor coordinate system and the position of the reference point in the ideal world coordinate system determined by the actual position of the vehicle relatively, an actual external reference of the camera is calculated. According to the method, the calibration process can be simplified, the calculation accuracy is improved, and the method can be automatically achieved on a production line.

Description

A kind of camera for panoramic parking system is joined scaling method outward
Technical field
The present invention relates to the image of panorama in parking and process and optical technical field, more particularly, relate to a kind of camera for panoramic parking system and join scaling method outward.
Background technology
China is the fastest country of development of automobile in the world, and along with the development in China city, the recoverable amount of automobile increases progressively at a high speed, and the thing followed is that the contradiction between people and car, car and car is growing more intense.First be parking difficulty problem, in narrow region, park and become an outstanding problem of puzzlement driver trip, the security incident causing due to driver's seat blind area when low speed driving is in addition also of common occurrence, has brought huge hidden danger to pedestrian's personal safety.Although the conventional equipment such as backsight camera lens or radar for backing car has played booster action to a certain extent, coverage rate is narrow, and the information that offers driver is concrete not.Panoramic parking system is for the problems referred to above, by the fish-eye camera that has broad field angle is installed in vehicle body surrounding, cover the field range of 360 ° of vehicle body surroundings, under the support of optical calibrating and image treatment theory by vehicle arround scenery project to ground level, and the scenery that multichannel camera is captured splicing becomes a complete scene, eliminate driver's blind area, for driver provides reference information intuitively.
For general passenger car, under headstock, the tailstock and left and right rearview mirror, 4 field angle are installed and can cover at the fish-eye camera of 160 ° of left and right the scene of vehicle's surroundings, and the visual range that guarantees adjacent two fish-eye cameras has public overlap-add region, this method is also current modal mount scheme.For finally for driver provides 360 ° of complete scene images, the information that just 4 cameras need to be caught is carried out projection, splicing and fusion, the effect of these steps all will depend on the parameter such as optical characteristics and position and attitude of 4 cameras, obtains the process of these parameters and demarcates.The demarcation of camera can be divided into internal reference demarcation and outer ginseng is demarcated, wherein internal reference demarcate be mainly determine the refracting power of optical mirror slip and install in the distortion that causes due to lens light axis and CMOS/CCD sensor plane out of plumb, because this link can complete when camera is produced, so can complete with the instrument of relative complex and longer time.It is mainly that camera installation site and attitude parameter are demarcated that outer ginseng is demarcated, this process need carries out after camera is installed on car, so must complete in automobile assembly line, this just has higher requirement to time and the mode of demarcating, and typical demand is that whole calibration process completes and consuming time being limited within 3 minutes automatically.
Outer ginseng scaling scheme is mainly divided into two kinds: one is to utilize the aids such as scaling board that demarcation reference point is provided; Another kind method does not need people for reference point is provided, but as a reference point according to the identical point in the multiple image obtaining in vehicle movement process, also referred to as self-calibrating method.Because needing vehicle movement one segment distance, self-calibration scheme finds enough reference point, also uncertain according to the different required operating ranges of reconnaissance situation and time, be not adapted at using on production line, simultaneously the method complexity, calculated amount are large, be difficult to complete in real time on slave computer, so industrial employing the first scheme in general, uses the method that reference point is artificially set to carry out outer ginseng demarcation.Conventional outer ginseng scaling method often uses the aids such as scaling board respectively 4 cameras to be demarcated separately, and then go out 4 cameras position relationship each other according to the position calculation of each timing signal scaling board, it is not strong that this method arranges directiveness to the position of reference point, and the complicated precision of process is poor.
Summary of the invention
In view of this, the invention provides a kind of camera for panoramic parking system and join scaling method outward, by being set, demarcates unified ideal world coordinate system, and in overlapping public domain, four camera visuals field, reference point is set, the reference point quantity of needs setting is dropped to minimum, in unified ideal world coordinate system, calculated the outer ginseng of four cameras simultaneously, simplified calibration process, improve computational accuracy, be conducive to automatically complete on production line.
For solving the problems of the technologies described above, the technical solution used in the present invention is: a kind of camera for panoramic parking system is joined scaling method outward, comprising:
Arrange and demarcate place according to the size of vehicle, determine ideal world coordinate system, and assigned address in desirable world coordinate system is placed reference point;
Calculate the position in the image coordinate system that reference point forms on the image of camera collection according to Corner Detection Algorithm;
Position according to reference point in image coordinate system, calculates reference point and converges ray cast to sensor plane at camera, and sensor converts light intensity to the position in the sensor coordinate system forming on the image of electric signal generation;
Position according to the internal reference of camera, reference point in sensor coordinate system and the reference point position calculation in desirable world coordinate system goes out the ideal of camera and joins outward;
Calculate rotating deviation and the shifting deviation of vehicle with respect to ideal world coordinate system;
Recalculate the position of reference point in the world coordinate system determining with respect to vehicle physical location according to rotating deviation and shifting deviation;
Position according to the internal reference of camera, reference point in sensor coordinate system and the reference point position calculation in the world coordinate system determining with respect to vehicle physical location goes out the reality of camera and joins outward.
Preferably, the described size according to vehicle is arranged and is demarcated place, determines ideal world coordinate system, and assigned address in desirable world coordinate system is placed reference point and is specially:
Draw on the ground a rectangular area according to vehicle dimension, as the demarcation place of vehicle position;
X-axis using the longitudinal central axis line of rectangle as ideal world coordinate system, vehicle dead ahead when being oriented to vehicle ideal and being parked in rectangular area of X-axis;
Using the horizontal axis of rectangle as the Y-axis of ideal world coordinate system, vehicle left side when being oriented to vehicle ideal and being parked in rectangular area of Y-axis;
Vertically plane is upwards for the Z axis of ideal world coordinate system;
Initial point O using the intersection point of X-axis, Y-axis and Z axis as world coordinate system;
Place reference point, make each camera can see four reference point.
It is preferably, described that according to reference point, the position calculation in image coordinate system goes out the position of reference point in sensor coordinate system and is specially:
According to relational expression:
u ′ v ′ = c d e 1 u v + x c y c - - - ( 1 )
Calculate a reference point point u ' in image coordinate system=[u ', v '] tthe position u=[u of correspondence in sensor coordinate system, v] t;
Wherein: image coordinate system (u ', v ') take pixel as unit, initial point is in the upper left corner of image; The initial point of sensor coordinate system (u, v) is on the intersection point of camera optical axis and sensor plane; C, d, e represent the affine transformation parameter due to camera optical axis and the generation of sensor plane out of plumb; x cand y crepresent camera optical axis and the actual intersection point of the sensor plane side-play amount with respect to image coordinate system initial point.
Preferably, according to the internal reference of camera, reference point, the position in sensor coordinate system and the reference point position calculation in desirable world coordinate system goes out outside the ideal of camera to join and be specially:
Set up the reference point u=[u in sensor coordinate system, v by being created as transform g] trelation between imaging point P corresponding to it:
λg(u)=λp,λ>0; (2)
Wherein, p is the vector that camera photocentre points to some P, and λ is constant;
Become the expression formula of transform g to be:
g(u,v)=[u,v,f(u,v)] T; (3)
Wherein, f (u, v)=α 0+ α 1ρ+α 2ρ 2+ ... + α nρ n,
Figure BDA0000488070810000041
n=4, α 0, α 1, α 2, α 3, α 4, x c, y c, c, d, the e internal reference that is camera;
Suppose camera coordinate system O cx cy cz cinitial point O cat camera photocentre, x c, y caxle and sensor coordinate system cocurrent and parallel, Z caxle orientation sensor plane, ideal world coordinate system is chosen ground level as O wx wy wplane, Z wvertically upward, the coordinate of a reference point P in desirable world coordinate system that in space, camera is taken is P to axle w=[X w, Y w, Z w] t, in camera coordinate system, be expressed as P c=[X c, Y c, Z c] t, and:
P c=R·P w+T; (4)
Wherein, R = [ r 1 , r 2 , r 3 ] = r 11 r 12 r 13 r 21 r 22 r 23 r 31 r 32 r 33 For rotation matrix, T = t = t 1 t 2 t 3 For translation matrix;
Set up equation according to the relation between the ideal world coordinate of each reference point and sensor coordinates:
λ u v f ( ρ ) = r 11 r 12 r 13 t 1 r 21 r 22 r 23 t 2 r 31 r 32 r 33 t 3 X w Y w Z w 1 = r 11 r 12 t 1 r 21 r 22 t 2 r 31 r 32 t 3 X w Y w 1 ; - - - ( 5 )
Projection coordinate [u, v, f (ρ)] by equation (5) two ends this reference point of multiplication cross of setting up in sensor plane tobtain:
u v f ( ρ ) × r 11 r 12 t 1 r 21 r 22 t 2 t 31 r 32 t 3 X w Y w 1 = 0 ; - - - ( 6 )
Draw three equations of a reference point according to equation (6):
v·(r 31X w+r 32Y w+t 3)-f(ρ)·(r 21X w+r 22Y w+t 2)=0; (7)
f(ρ)·(r 11X w+r 12Y w+t 1)-u·(r 31X w+r 32Y w+t 3)=0; (8)
u·(r 21X w+r 22Y w+t 2)-v·(r 11X w+r 12Y w+t 1)=0; (9)
Adopt said method to draw the equation of its excess-three reference point that camera photographs, show that according to the equations simultaneousness of reference point the ideal of camera is joined r outward 11, r 12, r 13, r 21, r 22, r 23, r 31, r 32, r 33, t 1, t 2and t 3.
Can find out from above-mentioned technical scheme, a kind of camera for panoramic parking system disclosed by the invention is joined scaling method outward, first arrange and demarcate place according to the size of vehicle, determine ideal world coordinate system, and assigned address in desirable world coordinate system is placed reference point, then calculate the position of reference point in image coordinate system according to Corner Detection Algorithm, then according to reference point, the position calculation in image coordinate system goes out the position of reference point in sensor coordinate system, then according to the internal reference of camera, the position of reference point in sensor coordinate system and the position calculation of reference point in desirable world coordinate system go out the ideal of camera and join outward, then calculate rotating deviation and the shifting deviation of vehicle with respect to ideal world coordinate system, last according to the internal reference of camera, the position of reference point in sensor coordinate system and the position calculation of reference point in the world coordinate system determining with respect to vehicle physical location go out the reality of camera and join outward.This shows, the present invention demarcates by unified ideal world coordinate system is set, and has simplified the process of demarcating, and has improved computational accuracy, is conducive to automatically complete on production line.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the schematic diagram of the reference point of the demarcation place arranged of the size according to vehicle disclosed by the invention, definite ideal world coordinate system and placement;
Fig. 2 is the process flow diagram that a kind of camera for panoramic parking system disclosed by the invention is joined scaling method outward.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only a part of embodiment of the present invention, rather than whole embodiment.Based on the embodiment in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the invention discloses a kind of camera for panoramic parking system and join scaling method outward, by being set, demarcates unified ideal world coordinate system, and in overlapping public domain, four camera visuals field, reference point is set, the reference point quantity of needs setting has been dropped to minimum, in unified ideal world coordinate system, calculate the outer ginseng of four cameras simultaneously, simplify calibration process, improved computational accuracy, be conducive to automatically complete on production line.
As shown in Figure 2, join scaling method outward for a kind of camera for panoramic parking system disclosed by the invention, comprising:
S101, arrange and demarcate place according to the size of vehicle, determine ideal world coordinate system, and assigned address in desirable world coordinate system is placed reference point;
S102, calculate the position in the image coordinate system that reference point forms on the image of camera collection according to Corner Detection Algorithm;
S103, position according to reference point in image coordinate system, calculate reference point and converge ray cast to sensor plane at camera, and sensor converts light intensity to the position in the sensor coordinate system forming on the image that electric signal generates;
S104, position according to the internal reference of camera, reference point in sensor coordinate system and the position calculation of reference point in desirable world coordinate system go out the ideal of camera and join outward;
S105, calculate rotating deviation and the shifting deviation of vehicle with respect to ideal world coordinate system;
S106, recalculate the position of reference point in the world coordinate system determining with respect to vehicle physical location according to rotating deviation and shifting deviation;
S107, position according to the internal reference of camera, reference point in sensor coordinate system and the position calculation of reference point in the world coordinate system determining with respect to vehicle physical location go out the reality of camera and join outward.
Concrete, the course of work of above-mentioned method and principle are: first draw on the ground a rectangular area according to the size of vehicle, as shown in Figure 1, the position at mark vehicle place, makes length and the wide length of being a bit larger tham actual vehicle and wide of this rectangular area.Specifically arranging can be according to actual situation adjustment, to guarantee that vehicle can stop in this region, make the each camera on vehicle can see four reference point simultaneously, for example, the camera that headstock is installed can be seen a, b, c, tetra-reference point of d, the camera that the tailstock is installed can be seen e, f, g, tetra-reference point of h, the camera of installing under left-hand mirror can be seen a, b, e, tetra-reference point of f, and the camera of installing under right back visor can be seen c, d, g, tetra-reference point of h.Then follow the right-hand rule and determine ideal world coordinate system, as shown in Figure 1, the X-axis of system using the longitudinal central axis line of rectangle as ideal coordinates, is vehicle projection on the ground of longitudinal central axis line when desirable parking in rectangular area, the sensing vehicle dead ahead of X-axis; Using the horizontal axis of rectangle as the Y-axis of ideal world coordinate system, be parallel to the horizontal axis of vehicle, perpendicular to X-axis and point to vehicle left side, initial point O is the projection on the ground of intersection point of lateral direction of car, longitudinal central axis line; XOY plane is ground level; Vertically plane is upwards for Z axis.Then in the public domain covering in 4 camera visuals field, assigned address is placed reference point, and preferred reference point is positioned on the line on 4 summits corresponding to vehicle restriction rectangle, 4 summits of final visual stitching image rectangular extent.It should be noted that when reference point is set, preferably adopt the obvious angle point pattern of feature.
Then adopt the method for Corner Detection to calculate the position of reference point in image coordinate system, Corner Detection Algorithm is very ripe at present, precision can reach sub-pixel level, herein as long as select as required a kind of applicable method can obtain the position of reference point in image coordinate system in existing many algorithms, so repeat no more.In order to guarantee the accuracy of Corner Detection, except adopting the obvious angle point pattern of feature, also should keep demarcating the clean of place, avoid other objects or spot to exert an influence to this process.When placing reference point, preferably symmetrical placement between two, is so more conducive to the result of Corner Detection to be verified.
Then enter the outer ginseng computation process of camera, the concrete theory that outer ginseng is calculated is: the universal optical model that adopts Davide Scaramuzza to propose is basic as narration.First determine two coordinate systems: image coordinate system (u ', v ') and sensor coordinate system (u, v).Image coordinate system (u ', v ') take pixel as unit, initial point is in the image upper left corner; The initial point of sensor coordinate system is on the intersection point of camera optical axis and sensor plane.A reference point u ' in image coordinate system=[u ', v '] t, with its correspondence position u=[u in sensor coordinate system, v] tbetween relation can be expressed as:
u ′ v ′ = c d e 1 u v + x c y c - - - ( 1 )
Wherein, c, d, e represent the affine transformation parameter due to camera optical axis and the generation of sensor plane out of plumb; x cand y crepresent camera optical axis and the actual intersection point of the sensor plane side-play amount with respect to image coordinate system initial point.Become transform g can set up 1 u=[u in sensor coordinate system, v by setting up one] trelation between imaging point P corresponding to it:
λg(u)=λp,λ>0 (2)
Wherein p is the vector that is pointed to some P by camera lens photocentre, and λ is constant.
Become the expression formula of transform g to be:
g(u,v)=[u,v,f(u,v)] T (3)
Wherein function f only with
Figure BDA0000488070810000082
relevant, f (u, v)=α 0+ α 1ρ+α 2ρ 2+ ... + α nρ n, while experimental results show that N=4, effect is better.The parameter alpha more than relating to 0, α 1, α 2, α 3, α 4, x c, y c, c, d, the e internal reference that is camera, in the process that these parameters can be produced at camera, obtain as known parameters by demarcation.
Then suppose camera coordinate system O cx cy cz cinitial point O cat shooting head photocentre, x c, y caxle and sensor coordinate system cocurrent and parallel, Z caxle orientation sensor plane.Ideal world coordinate system free setting as required, generally chooses ground level as O wx wy wplane, Z waxle vertically upward.If the coordinate of certain some P in desirable world coordinate system is P in space w=[X w, Y w, Z w] t, it can be expressed as P in camera coordinate system so c=[X c, Y c, Z c] t, and:
P c=R·P w+T(4)
In above formula R = [ r 1 , r 2 , r 3 ] = r 11 r 12 r 13 r 21 r 22 r 23 r 31 r 32 r 33 For rotation matrix, T = t = t 1 t 2 t 3 For translation matrix, r 11, r 12, r 13, r 21, r 22, r 23, r 31, r 32, r 33, t 1, t 2and t 3being camera joins outward.This shows, actual internal reference is demarcated and has been determined contacting between image coordinate system and camera coordinate system, and outer ginseng is demarcated the relation of having determined between camera coordinate system and ideal world coordinate system, after ginseng outside internal reference is all determined, point in point and ideal world coordinate system in image has just been set up corresponding relation, makes the operation such as projective transformation and splicing fusion become possibility.
If suppose ideal world coordinate system midplane O wx wy wfor ground level, and on ground level, place reference point, the Z of all reference point w=0.Relation between ideal world coordinate and the sensor coordinates of each reference point can equation of simultaneous:
λ u v f ( ρ ) = r 11 r 12 r 13 t 1 r 21 r 22 r 23 t 2 r 31 r 32 r 33 t 3 X w Y w Z w 1 = r 11 r 12 t 1 r 21 r 22 t 2 r 31 r 32 t 3 X w Y w 1 - - - ( 5 )
Projection coordinate [u, v, f (ρ)] by equation (5) two ends this reference point of multiplication cross in sensor plane t, can obtain
u v f ( ρ ) × r 11 r 12 t 1 r 21 r 22 t 2 t 31 r 32 t 3 X w Y w 1 = 0 - - - ( 6 )
Known by formula (6), the ideal world coordinate of each group reference point and sensor coordinates can be contributed 3 equations for solving:
v·(r 31X w+r 32Y w+t 3)-f(ρ)·(r 21X w+r 22Y w+t 2)=0 (7)
f(ρ)·(r 11X w+r 12Y w+t 1)-u·(r 31X w+r 32Y w+t 3)=0 (8)
u·(r 21X w+r 22Y w+t 2)-v·(r 11X w+r 12Y w+t 1)=0 (9)
The unknown number that need to solve comprises r 11, r 12, r 13, r 21, r 22, r 23, r 31, r 32, r 33, t 1, t 2and t 3, totally 9.As long as so 3 reference point are set, in actual use, for parameter being optimized to maintenance computational accuracy, we select to arrange 4 reference point.Other 3 outer ginsengs can obtain by following formula:
r 31 r 32 r 33 = r 11 r 12 r 13 × r 21 r 22 r 23 - - - ( 10 )
Can be drawn by the above-mentioned outer ginseng theory of computation, first obtain internal reference in the time calculating outer ginseng, internal reference can be stored in the storer that camera carries in the time that camera is assembled, and when ginseng calculating outside, internal reference is read in camera storer.Then prepare other parameters.Before arranging reference point, design in advance the ideal world coordinate position of reference point, obtained again the position of reference point in image coordinate system by reference to the automatic detection of point.Utilize formula (1), can obtain the position of reference point in sensor coordinate system.Afterwards by internal reference substitution system of equations and calculate, because 8 reference point have been placed on the public part in 4 camera visuals field, so each camera can be seen 4 reference point.And the corresponding formula of each reference point (8), (9) and (10) three equations.Each like this camera can be set up 12 equations and solve, and the optimization that can obtain each camera by least square method is joined result outward.Owing to having used unified ideal world coordinate system, the outer ginseng of the each camera herein obtaining is the outer ginseng with respect to same ideal world coordinate system, without further conversion.
Because reference point is prepositioned according to ideal state, and can produce deviation with ideal position unavoidably in the process of vehicle within entering restriction rectangle, cause vehicle axis and the center line of restriction rectangle to produce rotating deviation, between real world coordinate origin and ideal world coordinate origin, produce shifting deviation simultaneously.In order to eliminate these deviations, first need to calculate the rotating deviation of vehicle.Be as the criterion and (be generally as the criterion with rearview camera with certain camera position, this camera present position is difficult for variation, be convenient to guarantee its installation accuracy by frock), utilize rotation matrix information in current outer ginseng can calculate the angle of its optical axis and vehicle world coordinate system coordinate axis in the time of ideal position, this angle is the rotating deviation of vehicle.
Then calculate the shifting deviation of vehicle.Calculate forward and backward camera with respect to ideal world true origin the translational movement along X-axis translation, the half of the two difference is the directions X translation distance between vehicle physical location and ideal position; In like manner calculate left and right camera with respect to ideal world coordinate origin the translational movement along Y-axis translation, the half of the two difference is the Y-direction translation distance between vehicle physical location and ideal position.
According to rotating deviation and shifting deviation, recalculate the position in the world coordinate system that 8 reference point determine with respect to vehicle physical location, owing to not relating to the deviation of Z axis, so this adjustment process is equivalent to a two-dimentional coordinate transformation process.Can construct a rotation matrix and a translation matrix by rotating deviation and shifting deviation, utilizing coordinate transformation method is the positional information of renewable reference point in real world coordinate system.Then the position in sensor coordinate system and the reference point position in the world coordinate system determining with respect to vehicle physical location according to the internal reference of camera, reference point, the reality that calculates camera with reference to the method for the outer ginseng of above-mentioned calculating ideal is joined outward.
In this instructions, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is and the difference of other embodiment, between each embodiment identical similar part mutually referring to.
To the above-mentioned explanation of the disclosed embodiments, make professional and technical personnel in the field can realize or use the present invention.To be apparent for those skilled in the art to the multiple modification of these embodiment, General Principle as defined herein can, in the situation that not departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention will can not be restricted to these embodiment shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (4)

1. join a scaling method outward for the camera of panoramic parking system, it is characterized in that, comprising:
Arrange and demarcate place according to the size of vehicle, determine ideal world coordinate system, and assigned address in desirable world coordinate system is placed reference point;
Calculate the position in the image coordinate system that reference point forms on the image of camera collection according to Corner Detection Algorithm;
Position according to reference point in image coordinate system, calculates reference point and converges ray cast to sensor plane at camera, and sensor converts light intensity to the position in the sensor coordinate system forming on the image of electric signal generation;
Position according to the internal reference of camera, reference point in sensor coordinate system and the reference point position calculation in desirable world coordinate system goes out the ideal of camera and joins outward;
Calculate rotating deviation and the shifting deviation of vehicle with respect to ideal world coordinate system;
Recalculate the position of reference point in the world coordinate system determining with respect to vehicle physical location according to rotating deviation and shifting deviation;
Position according to the internal reference of camera, reference point in sensor coordinate system and the reference point position calculation in the world coordinate system determining with respect to vehicle physical location goes out the reality of camera and joins outward.
2. method according to claim 1, is characterized in that, the described size according to vehicle is arranged and demarcated place, determines ideal world coordinate system, and assigned address in desirable world coordinate system is placed reference point and is specially:
Draw on the ground a rectangular area according to vehicle dimension, as the demarcation place of vehicle position;
X-axis using the longitudinal central axis line of rectangle as ideal world coordinate system, vehicle dead ahead when being oriented to vehicle ideal and being parked in rectangular area of X-axis;
Using the horizontal axis of rectangle as the Y-axis of ideal world coordinate system, vehicle left side when being oriented to vehicle ideal and being parked in rectangular area of Y-axis;
Vertically plane is upwards for the Z axis of ideal world coordinate system;
Initial point O using the intersection point of X-axis, Y-axis and Z axis as world coordinate system;
Place reference point, make each camera can see four reference point.
3. method according to claim 2, is characterized in that, described according to reference point, the position calculation in image coordinate system goes out the position of reference point in sensor coordinate system and is specially:
According to relational expression:
u ′ v ′ = c d e 1 u v + x c y c - - - ( 1 )
Calculate a reference point point u ' in image coordinate system=[u ', v '] tthe position u=[u of correspondence in sensor coordinate system, v] t;
Wherein: image coordinate system (u ', v ') take pixel as unit, initial point is in the upper left corner of image; The initial point of sensor coordinate system (u, v) is on the intersection point of camera optical axis and sensor plane; C, d, e represent the affine transformation parameter due to camera optical axis and the generation of sensor plane out of plumb; x cand y crepresent camera optical axis and the actual intersection point of the sensor plane side-play amount with respect to image coordinate system initial point.
4. method according to claim 3, is characterized in that, the position according to the internal reference of camera, reference point in sensor coordinate system and the reference point position calculation in desirable world coordinate system goes out outside the ideal of camera to join and be specially:
Set up the reference point u=[u in sensor coordinate system, v by being created as transform g] trelation between imaging point P corresponding to it:
λg(u)=λp,λ>0; (2)
Wherein, p is the vector that camera photocentre points to some P, and λ is constant;
Become the expression formula of transform g to be:
g(u,v)=[u,v,f(u,v)] T; (3)
Wherein, f (u, v)=α 0+ α 1ρ+α 2ρ 2+ ... + α nρ n,
Figure FDA0000488070800000022
n=4, α 0, α 1, α 2, α 3, α 4, x c, y c, c, d, the e internal reference that is camera;
Suppose camera coordinate system O cx cy cz cinitial point O cat camera photocentre, x c, y caxle and sensor coordinate system cocurrent and parallel, Z caxle orientation sensor plane, ideal world coordinate system is chosen ground level as O wx wy wplane, Z wvertically upward, the coordinate of a reference point P in desirable world coordinate system that in space, camera is taken is P to axle w=[X w, Y w, Z w] t, in camera coordinate system, be expressed as P c=[X c, Y c, Z c] t, and:
P c=R·P w+T; (4)
Wherein, R = [ r 1 , r 2 , r 3 ] = r 11 r 12 r 13 r 21 r 22 r 23 r 31 r 32 r 33 For rotation matrix, T = t = t 1 t 2 t 3 For translation matrix;
Set up equation according to the relation between the ideal world coordinate of each reference point and sensor coordinates:
λ u v f ( ρ ) = r 11 r 12 r 13 t 1 r 21 r 22 r 23 t 2 r 31 r 32 r 33 t 3 X w Y w Z w 1 = r 11 r 12 t 1 r 21 r 22 t 2 r 31 r 32 t 3 X w Y w 1 ; - - - ( 5 )
Projection coordinate [u, v, f (ρ)] by equation (5) two ends this reference point of multiplication cross of setting up in sensor plane tobtain:
u v f ( ρ ) × r 11 r 12 t 1 r 21 r 22 t 2 t 31 r 32 t 3 X w Y w 1 = 0 ; - - - ( 6 )
Draw three equations of a reference point according to equation (6):
v·(r 31X w+r 32Y w+t 3)-f(ρ)·(r 21X w+r 22Y w+t 2)=0; (7)
f(ρ)·(r 11X w+r 12Y w+t 1)-u·(r 31X w+r 32Y w+t 3)=0; (8)
u·(r 21X w+r 22Y w+t 2)-v·(r 11X w+r 12Y w+t 1)=0; (9)
Adopt said method to draw the equation of its excess-three reference point that camera photographs, show that according to the equations simultaneousness of reference point the ideal of camera is joined r outward 11, r 12, r 13, r 21, r 22, r 23, r 31, r 32, r 33, t 1, t 2and t 3.
CN201410138126.5A 2014-04-08 2014-04-08 Join scaling method outside a kind of camera for panoramic parking system Active CN103871071B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410138126.5A CN103871071B (en) 2014-04-08 2014-04-08 Join scaling method outside a kind of camera for panoramic parking system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410138126.5A CN103871071B (en) 2014-04-08 2014-04-08 Join scaling method outside a kind of camera for panoramic parking system

Publications (2)

Publication Number Publication Date
CN103871071A true CN103871071A (en) 2014-06-18
CN103871071B CN103871071B (en) 2018-04-24

Family

ID=50909576

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410138126.5A Active CN103871071B (en) 2014-04-08 2014-04-08 Join scaling method outside a kind of camera for panoramic parking system

Country Status (1)

Country Link
CN (1) CN103871071B (en)

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104715486A (en) * 2015-03-25 2015-06-17 北京经纬恒润科技有限公司 Simulated rack camera calibration method and real-time machine
CN105578176A (en) * 2014-10-29 2016-05-11 现代摩比斯株式会社 Method for adjusting output video of rear camera for vehicles
CN105701837A (en) * 2016-03-21 2016-06-22 完美幻境(北京)科技有限公司 Geometric calibration processing method and apparatus for camera
CN106056621A (en) * 2016-06-15 2016-10-26 中国船舶工业系统工程研究院 Unberthing and berthing operational parameter calculation device based on machine vision
CN106485756A (en) * 2016-09-30 2017-03-08 惠州华阳通用电子有限公司 A kind of parking system camera calibration method
CN107146255A (en) * 2017-04-05 2017-09-08 纵目科技(上海)股份有限公司 Panoramic picture error calibration method and device
CN107886472A (en) * 2016-09-30 2018-04-06 深圳市路畅科技股份有限公司 The image mosaic calibration method and image mosaic calibrating installation of panoramic parking system
CN108257183A (en) * 2017-12-20 2018-07-06 歌尔科技有限公司 A kind of camera lens axis calibrating method and device
CN109102544A (en) * 2017-08-31 2018-12-28 深圳市德赛微电子技术有限公司 A kind of camera parameter management method
CN109544647A (en) * 2018-11-30 2019-03-29 郑州天迈科技股份有限公司 Calibration cloth, place and method for 360 ° of panoramic parking assist systems
CN109767473A (en) * 2018-12-30 2019-05-17 惠州华阳通用电子有限公司 A kind of panorama parking apparatus scaling method and device
CN109859254A (en) * 2019-02-28 2019-06-07 北京百度网讯科技有限公司 Method and apparatus for sending information
CN110146869A (en) * 2019-05-21 2019-08-20 北京百度网讯科技有限公司 Determine method, apparatus, electronic equipment and the storage medium of coordinate system conversion parameter
CN110148185A (en) * 2019-05-22 2019-08-20 北京百度网讯科技有限公司 Determine method, apparatus, electronic equipment and the storage medium of coordinate system conversion parameter
CN110264520A (en) * 2019-06-14 2019-09-20 北京百度网讯科技有限公司 Onboard sensor and vehicle position orientation relation scaling method, device, equipment and medium
CN110351494A (en) * 2018-04-02 2019-10-18 杭州海康威视数字技术股份有限公司 A kind of panoramic video synthetic method, device and electronic equipment
CN110349222A (en) * 2019-08-07 2019-10-18 浙江吉利汽车研究院有限公司 A kind of method and system for demarcating Streaming Media outside rear-view mirror
CN111243029A (en) * 2018-11-28 2020-06-05 驭势(上海)汽车科技有限公司 Calibration method and device of vision sensor
CN112779830A (en) * 2020-12-29 2021-05-11 廊坊市亿创科技有限公司 Measuring method for positioning frog by using robot
CN113096187A (en) * 2021-05-03 2021-07-09 湖北汽车工业学院 Method for automatically acquiring relative position of vehicle and obstacle
CN113093740A (en) * 2021-03-29 2021-07-09 杭州海康威视数字技术股份有限公司 Parameter calibration method, system, device and equipment
CN109974667B (en) * 2017-12-27 2021-07-23 宁波方太厨具有限公司 Indoor human body positioning method
CN113212304A (en) * 2020-01-21 2021-08-06 上海赫千电子科技有限公司 Car roof camera system applied to self-driving tourism
CN113516717A (en) * 2020-04-10 2021-10-19 富华科精密工业(深圳)有限公司 Camera device external parameter calibration method, electronic equipment and storage medium
CN113538594A (en) * 2021-06-30 2021-10-22 东风汽车集团股份有限公司 Vehicle-mounted camera calibration method based on direction sensor
CN114463179A (en) * 2022-02-10 2022-05-10 北京航空工程技术研究中心 Closed space multi-camera image splicing method for sound source positioning judgment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101425181A (en) * 2008-12-15 2009-05-06 浙江大学 Panoramic view vision auxiliary parking system demarcating method
CN103177439A (en) * 2012-11-26 2013-06-26 惠州华阳通用电子有限公司 Automatically calibration method based on black and white grid corner matching
CN103192766A (en) * 2013-03-28 2013-07-10 北京工业大学 Panorama parking assist system and application method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101425181A (en) * 2008-12-15 2009-05-06 浙江大学 Panoramic view vision auxiliary parking system demarcating method
CN103177439A (en) * 2012-11-26 2013-06-26 惠州华阳通用电子有限公司 Automatically calibration method based on black and white grid corner matching
CN103192766A (en) * 2013-03-28 2013-07-10 北京工业大学 Panorama parking assist system and application method thereof

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
DAVIDE ET AL: "A Flexible Technique for Accurate Omnidirectional Camera Calibration and Structure from Motion", 《ICVS2006》 *
冯为嘉等: "基于鱼眼镜头的全方位视觉参数标定与畸变矫正", 《天津大学学报》 *
潘华伟等: "一种基于平面模板的多摄像机标定方法", 《计算机应用研究》 *

Cited By (34)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105578176A (en) * 2014-10-29 2016-05-11 现代摩比斯株式会社 Method for adjusting output video of rear camera for vehicles
CN104715486B (en) * 2015-03-25 2017-12-19 北京经纬恒润科技有限公司 One kind emulation stand camera marking method and real-time machine
CN104715486A (en) * 2015-03-25 2015-06-17 北京经纬恒润科技有限公司 Simulated rack camera calibration method and real-time machine
CN105701837A (en) * 2016-03-21 2016-06-22 完美幻境(北京)科技有限公司 Geometric calibration processing method and apparatus for camera
CN106056621A (en) * 2016-06-15 2016-10-26 中国船舶工业系统工程研究院 Unberthing and berthing operational parameter calculation device based on machine vision
CN106056621B (en) * 2016-06-15 2018-10-02 中国船舶工业系统工程研究院 It is a kind of based on machine vision from berthing job parameter computing device
CN106485756B (en) * 2016-09-30 2019-07-02 惠州华阳通用电子有限公司 A kind of parking system camera calibration method
CN106485756A (en) * 2016-09-30 2017-03-08 惠州华阳通用电子有限公司 A kind of parking system camera calibration method
CN107886472A (en) * 2016-09-30 2018-04-06 深圳市路畅科技股份有限公司 The image mosaic calibration method and image mosaic calibrating installation of panoramic parking system
CN107886472B (en) * 2016-09-30 2023-03-03 深圳市路畅科技股份有限公司 Image splicing calibration method and image splicing calibration device of panoramic parking system
CN107146255A (en) * 2017-04-05 2017-09-08 纵目科技(上海)股份有限公司 Panoramic picture error calibration method and device
CN109102544A (en) * 2017-08-31 2018-12-28 深圳市德赛微电子技术有限公司 A kind of camera parameter management method
CN108257183A (en) * 2017-12-20 2018-07-06 歌尔科技有限公司 A kind of camera lens axis calibrating method and device
CN109974667B (en) * 2017-12-27 2021-07-23 宁波方太厨具有限公司 Indoor human body positioning method
CN110351494A (en) * 2018-04-02 2019-10-18 杭州海康威视数字技术股份有限公司 A kind of panoramic video synthetic method, device and electronic equipment
CN110351494B (en) * 2018-04-02 2020-06-26 杭州海康威视数字技术股份有限公司 Panoramic video synthesis method and device and electronic equipment
CN111243029B (en) * 2018-11-28 2023-06-23 驭势(上海)汽车科技有限公司 Calibration method and device of vision sensor
CN111243029A (en) * 2018-11-28 2020-06-05 驭势(上海)汽车科技有限公司 Calibration method and device of vision sensor
CN109544647A (en) * 2018-11-30 2019-03-29 郑州天迈科技股份有限公司 Calibration cloth, place and method for 360 ° of panoramic parking assist systems
CN109767473A (en) * 2018-12-30 2019-05-17 惠州华阳通用电子有限公司 A kind of panorama parking apparatus scaling method and device
CN109767473B (en) * 2018-12-30 2022-10-28 惠州华阳通用电子有限公司 Panoramic parking device calibration method and device
CN109859254A (en) * 2019-02-28 2019-06-07 北京百度网讯科技有限公司 Method and apparatus for sending information
CN110146869A (en) * 2019-05-21 2019-08-20 北京百度网讯科技有限公司 Determine method, apparatus, electronic equipment and the storage medium of coordinate system conversion parameter
CN110148185A (en) * 2019-05-22 2019-08-20 北京百度网讯科技有限公司 Determine method, apparatus, electronic equipment and the storage medium of coordinate system conversion parameter
CN110148185B (en) * 2019-05-22 2022-04-15 北京百度网讯科技有限公司 Method and device for determining coordinate system conversion parameters of imaging equipment and electronic equipment
CN110264520A (en) * 2019-06-14 2019-09-20 北京百度网讯科技有限公司 Onboard sensor and vehicle position orientation relation scaling method, device, equipment and medium
CN110349222A (en) * 2019-08-07 2019-10-18 浙江吉利汽车研究院有限公司 A kind of method and system for demarcating Streaming Media outside rear-view mirror
CN113212304A (en) * 2020-01-21 2021-08-06 上海赫千电子科技有限公司 Car roof camera system applied to self-driving tourism
CN113516717A (en) * 2020-04-10 2021-10-19 富华科精密工业(深圳)有限公司 Camera device external parameter calibration method, electronic equipment and storage medium
CN112779830A (en) * 2020-12-29 2021-05-11 廊坊市亿创科技有限公司 Measuring method for positioning frog by using robot
CN113093740A (en) * 2021-03-29 2021-07-09 杭州海康威视数字技术股份有限公司 Parameter calibration method, system, device and equipment
CN113096187A (en) * 2021-05-03 2021-07-09 湖北汽车工业学院 Method for automatically acquiring relative position of vehicle and obstacle
CN113538594A (en) * 2021-06-30 2021-10-22 东风汽车集团股份有限公司 Vehicle-mounted camera calibration method based on direction sensor
CN114463179A (en) * 2022-02-10 2022-05-10 北京航空工程技术研究中心 Closed space multi-camera image splicing method for sound source positioning judgment

Also Published As

Publication number Publication date
CN103871071B (en) 2018-04-24

Similar Documents

Publication Publication Date Title
CN103871071A (en) Method for camera external reference calibration for panoramic parking system
US9858639B2 (en) Imaging surface modeling for camera modeling and virtual view synthesis
CN109360245B (en) External parameter calibration method for multi-camera system of unmanned vehicle
JP7334881B2 (en) Cross-field of view for autonomous vehicle systems
JP5588812B2 (en) Image processing apparatus and imaging apparatus using the same
JP5455124B2 (en) Camera posture parameter estimation device
CN105844624B (en) Combined optimization method and device in dynamic calibration system, dynamic calibration system
CN104512328B (en) Automobile looks around image generating method and automobile viewing system
CN103177439B (en) A kind of automatic calibration method based on black and white lattice corners Matching
CN103136720A (en) Vehicle-mounted 360-degree panorama mosaic method
CN103802725B (en) A kind of new vehicle carried driving assistant images generation method
KR102516326B1 (en) Camera extrinsic parameters estimation from image lines
CN104442567A (en) Object Highlighting And Sensing In Vehicle Image Display Systems
JP2007235642A (en) Obstruction detecting system
JP2009227018A (en) Anti-dazzle device for vehicle
JP6471522B2 (en) Camera parameter adjustment device
JP7221161B2 (en) Head-up display and its calibration method
CN105551020A (en) Method and device for detecting dimensions of target object
CN106060427A (en) Panorama imaging method and device based on single camera
CN107146255A (en) Panoramic picture error calibration method and device
CN114283391A (en) Automatic parking sensing method fusing panoramic image and laser radar
TW201605247A (en) Image processing system and method
CN109895697B (en) Driving auxiliary prompting system and method
JP2019139273A (en) Display system
JP2004257837A (en) Stereo adapter imaging system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 4 / F, building 1, No.14 Jiuxianqiao Road, Chaoyang District, Beijing 100020

Patentee after: Beijing Jingwei Hengrun Technology Co., Ltd

Address before: 8 / F, block B, No. 11, Anxiang Beili, Chaoyang District, Beijing 100101

Patentee before: Beijing Jingwei HiRain Technologies Co.,Ltd.