pclpy
pclpy copied to clipboard
bounding box
How could i get the bounding box of one point cloud? Thanks. Shouyang
@lsymuyu, do you mean selection of ROI?
If you're asking for axis aligned bounding box, you could use numpy functions:
xyz = point_cloud.xyz # this is a numpy array
print(np.min(xyz, axis=0)) # The lower left corner
print(np.max(xyz, axis=0)) # The upper right one
Is this what you meant?