yinyunie/depth_renderer

Build correspondence between pixels and points

KeeganZQJ opened this issue · 1 comments

Hi, thanks for your helpful work. I would like to ask if there is a convenient way of outputing correspondence relationships between pixels on the rendered image and points on the corresponding 3D model. I notice that "visualization/draw_pc_from_depth.py" can generate partial point clouds from specific viewpoints. Is there any function to obtain such "pixel-point" mapping? Look forward to your reply as soon as possible!

It is actually a back-projection function. Yes, you can find it in draw_pc_from_depth.py. What you need are a camera intrinsic matrix and the pixel location on the image.