-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
I have a question about the get_reference_height function?
BEVHeight/dataset/nusc_mv_det_dataset.py
Line 80 in fa3bf88
| def get_reference_height(denorm): |
ref_height = np.abs(denorm[3])/np.sqrt(denorm[0]**2 + denorm[1]**2 + denorm[2]**2)This function represents the distance from the origin to the plane According to this schematic from BEVHeight , It's the distance from the origin of the blue(sensor) coordinate system to the xy plane of the green(ego) coordinate system so denorm represents the xy plane of the green (ego)coordinate system
BUT!!! in get_denorm
BEVHeight/dataset/nusc_mv_det_dataset.py
Line 59 in fa3bf88
| def get_denorm(sweepego2sweepsensor): |
ground_points_lidar = np. array ([[0.0, 0.0, 0.0], [0.0, 1.0, 0.0], [1.0, 1.0, 0.0]])represents the xy plane of the bule( sensor )coordinate system
ground_points_cam = np.matmul(sweepego2sweepsensor, ground_points_lidar.T).Tthen can be understood as the xy plane of the green (ego) coordinate system.
So!!! i wonder whether
np.matmul(sweepego2sweepsensor, ground_points_lidar.T).Tneed to be changed to
np.matmul(sweepsensor2sweepego, ground_points_lidar.T).TMetadata
Metadata
Assignees
Labels
No labels

