Skip to content

Error when counting points in point cloud #13

@dgriffiths3

Description

@dgriffiths3

In the examples/groundtruth_extraction.py example script there is a small bug. The matrix you get at Line 71 does not take into account the height, width, length should be divided by 2 as it is from the center of the object. The resulting boxes are 2x the size they should be and therefore the mask obtained includes points that are not part of the object.

Changing:
sl, sh, sw = box.length, box.height, box.width to
sl, sh, sw = box.length/2., box.height/2., box.width/2.

in the utils. get_box_transformation_matrix fixes the problem in this instance but maybe that breaks the function for other uses?

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