Closed ZOUYIyi closed 1 year ago
@ZOUYIyi this is because you would need to project the points (which are in the lidar frame) into the image (which is in the camera frame), and this is done by transforming the frame of the points in this order:
@ZOUYIyi this is because you would need to project the points (which are in the lidar frame) into the image (which is in the camera frame), and this is done by transforming the frame of the points in this order:
- Transform points in lidar frame to ego frame
- Transform points in ego frame to global frame
- Transform points in global frame to ego frame of the timestamp of the image
- Transform points in ego frame of the timestamp of the image to camera frame
thanks for reply ,but i think the true reson is that the pointcloud is be transformed by motion distortion. if it is just the ori pointcloud ,we can just aply 1,4 step ,since 2,3 is just about time align
If the timestamp at which the lidar data is captured is exactly the same at which the camera data is captured, then probably doing only steps 1 and 4 will suffice
But there is usually a slight difference, so going through steps 1, 2, 3 and 4 gives a more accurate projection
as the nusence says ,the camera trigered when the lidar sweep just in the center of the image, so there is no need to do 2,3 if we use the ori pointcloud .but i suppose that the pointcloud is undistored by motion, so we need 2,3.
If the timestamp at which the lidar data is captured is exactly the same at which the camera data is captured, then probably doing only steps 1 and 4 will suffice
But there is usually a slight difference, so going through steps 1, 2, 3 and 4 gives a more accurate projection
the timestamp of the lidar is just the sweep end , and the sweep cant be as quick as image capture, that is what i think is the key
of the design
Yes @ZOUYIyi that is correct - the capture times of the lidar and the camera are slightly different
since image is trigered when the lidar sweep the center of image, and the timestamp of the pointcloud is at the finish of the sweep ,why there is still involves time and ego pose to do the render_pointcloud_in_image