Conversion between lidar coordinate system, camera coordinate system and image coordinate system

Transformation between LiDAR coordinate system, camera coordinate system and image coordinate system
The problem solved in this paper is the mutual conversion of coordinates between point cloud and image after joint calibration. Required prior knowledge and conditions: camera calibration; lidar and camera joint calibration; camera internal reference, camera and radar external reference.

Considering the radar coordinate system as the world coordinate system, the world coordinates of any point W in the world coordinate system are: its world
insert image description here
homogeneous coordinates are:
insert image description here
and assuming that the transformation matrix from the radar coordinate system to the camera coordinate system is E, (the matrix is is the extrinsic matrix, take its English Extrinsic initials E), assuming its inverse matrix is:
insert image description here
Set the coordinates of point W in the camera coordinate system as:
insert image description here
its homogeneous coordinates in the camera coordinate system are:
insert image description here
Then there are:
insert image description here
namely:
insert image description here
In order to eliminate the homogeneous coordinates and simplify the calculation, the special order: the formula
insert image description here
becomes:
insert image description here
Set the conversion matrix K from the camera coordinate system to the image coordinate system (the K matrix is ​​the camera internal parameter matrix) and its inverse matrix K^(-1) is:
insert image description here
Let the coordinates of point W in the image coordinate system be:
insert image description here
its homogeneous coordinates in the image coordinate system are:
insert image description here
Then there is:
insert image description here
That is to say:
insert image description here
Putting it into the above formula can get the mutual conversion formula of the camera coordinate Ximg_h and the radar coordinate:
insert image description here
Among them, Represents taking the first three rows and the first three columns of the matrix M.

It can be seen from the above formula that the world (radar) coordinates are known and can be accurately projected onto the image coordinates. But to make the camera coordinates can be accurately converted to radar coordinates, you must know Zcam, which is the distance from the point to the camera plane. Since Zcam cannot be known from the image only, the point on the image cannot be projected to the world (radar) )Coordinate System.

Guess you like

Origin blog.csdn.net/qq_38222947/article/details/118220876