PointCloud generated with yarp::sig::utils::depthRgbToPC has points with depth 0 #2600
Replies: 3 comments 3 replies
-
Such a point cloud is said to be "organized" in PCL terminology. If you want to interface with PCL, there are different algorithms specifically designed for working with either organized or unorganized clouds. The former are usually much, much faster since it is possible to iterate over rows and columns pretty much like in a typical camera frame. At roboticslab-uc3m, we are currently exploiting this so that a RGBD frame acquisition is followed by a pinhole-model conversion into a point cloud, which we are able to convert then into a mesh in real time. Without Edit: this YT video shows an example of RT depth-frame-to-mesh conversion, simulated environment, real camera (context at roboticslab-uc3m/vision#102). |
Beta Was this translation helpful? Give feedback.
-
fixed in pr #2601 |
Beta Was this translation helpful? Give feedback.
-
Hi all,
I've noticed that the generation of the pointcloud with yarp::sig::utils::depthRgbToPC has inside points with depth zero (that in fact are not valid). This can lead to both use a lot of network without the real need and also to filter later the pointcloud to discard these points. I was wondering if this behaviour is wanted or rather if we can change the generation to discard these points (maybe adding also a dense or something else parameter to avoid generating these points or simply discard them when depth is 0 if they are not used)
a simple fix can be:
Beta Was this translation helpful? Give feedback.
All reactions