Closed c-chaitanya closed 7 years ago
Do you a working sample of the library? I mean, there's no documentation for depth2xyzuv and it seems just a few people understand the return of the function.
Hi @libasoles, The mistake I was making in the above code was that I was first saving the 3D point cloud to a 2D image, where all the important information of the third dimension are lost. I'm was then converting the 2D image to point cloud which gave me an almost flat point cloud. Directly save the capture to PCL format. The above code works fine as it is. The depth2xyzuv function saves the xyz 3D points of point cloud and color information in RGB if you select to save color information also, don't remember the uv part though.