Skip to content

issue about get_denorm and ego2sensor  #53

@WjzZwd

Description

@WjzZwd

image
image

I have a question about the get_reference_height function?

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
def get_denorm(sweepego2sweepsensor):
if you think of
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions