Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visualize Filtered Centerline on Image is Wrong. #328

Open
arijin opened this issue Oct 9, 2022 · 0 comments
Open

Visualize Filtered Centerline on Image is Wrong. #328

arijin opened this issue Oct 9, 2022 · 0 comments

Comments

@arijin
Copy link

arijin commented Oct 9, 2022

The origin code in argoverse_map_tutorial shows the prejection result of the centerlines on image. This step includes filtered the centerlines which is occluded. The function "plot_lane_centerlines_in_img2" provides this. But when filtering, the "clip_point_cloud_to_visible_region" is operating on the unsync lidar(ego) frame and camera frame. To correct this:
Origin:
centerline_egovehicle_fr = city_SE3_egovehicle.inverse().transform_point_cloud(centerline_city_fr)
centerline_uv_cam = cam_SE3_egovehicle.transform_point_cloud(centerline_egovehicle_fr)
# can also clip point cloud to nearest LiDAR point depth
centerline_uv_cam = clip_point_cloud_to_visible_region(centerline_uv_cam, lidar_pts) # Wrong!!!
Repair:
centerline_egovehicle_fr = city_SE3_egovehicle.inverse().transform_point_cloud(centerline_city_fr)
# can also clip point cloud to nearest LiDAR point depth
centerline_egovehicle_fr = clip_point_cloud_to_visible_region(centerline_egovehicle_fr, lidar_pts)
centerline_uv_cam = cam_SE3_egovehicle.transform_point_cloud(centerline_egovehicle_fr)
This visualization image result shows correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant