facebookresearch / pytorch3d

PyTorch3D is FAIR's library of reusable components for deep learning with 3D data
https://pytorch3d.org/
Other
8.7k stars 1.3k forks source link

Using pytorch3d to generate depth map of point cloud with shape (N, 3) #1719

Closed songwei100110 closed 8 months ago

songwei100110 commented 8 months ago

Is it possible to generate a depth map of a point cloud using pytorch3d? If so, can you give an example?

bottler commented 8 months ago

The point cloud renderers output a depth map as well as the image. E.g. you get it in images[..., 3] in the tutorial.

songwei100110 commented 8 months ago

image Thank you. i have got it.