Ich would like to generate a 2.5D point cloud of a scene from the camera's perspective with python. Let's say the camera has a rosolution of [n,m] pixel and as a result I want to have n*m 3D vectors each starting at the camera and pointing to the surface of the object. I don't expect any code, but please point me in the right direction.

  • 1
    $\begingroup$ you could just render the image and take the Z-Depth. From that Z-Depth image you can easily get everything you want (with some coding of course) $\endgroup$ – HenrikD Dec 8 '18 at 11:35

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.