-
Notifications
You must be signed in to change notification settings - Fork 27
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
issue about get_denorm and ego2sensor #53
Comments
looking forward to your reply ,thanks!!!! @yanglei18 |
|
thanks!for your reply ~ and i still get some doubt that 1.ego coordinate system corresponds to the green coordinate system in this picture, right? 2.based on the formula in picture we can infer that the func BEVHeight/dataset/nusc_mv_det_dataset.py Line 80 in fa3bf88
aim to get the distace from the origin to the plane determined by denorm .so ----1)who is the origin(the coordinates of the inf camera? or other)? ----2)and who is the plane (xy plane in the ego system? or xy plane in the sensor system? ) thanks for your reply~~~ |
my question is based on the reproduction in DAIR-V2X dataset @yanglei18 thanks you !~ |
|
您的回复 |
waiting for your reply @yanglei18 thanks~💗 |
I have a question about the get_reference_height function?
BEVHeight/dataset/nusc_mv_det_dataset.py
Line 80 in fa3bf88
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
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).T
then can be understood as the xy plane of the green (ego) coordinate system.
So!!! i wonder whether
np.matmul(sweepego2sweepsensor, ground_points_lidar.T).T
need to be changed to
np.matmul(sweepsensor2sweepego, ground_points_lidar.T).T
The text was updated successfully, but these errors were encountered: