Locating points of a 2D image in a 3D point cloud

greetings to all. I was wondering if anyone would know how to perform the following task:

Starting from an unstructured point cloud I was able to generate an image using the vtk point cloud viewer.

Once I have the image in openCV I perform a procedure to obtain landmarks and get as a result a collection of points in x, y coordinates (expressed in pixels).

What I need is to return those positions to the point cloud that is stored in a constructor of the PCL library:

pcl::PointCloud<pcl::PointXYZRGB>::Ptr cloud;

I am using Qt as a development tool and the QVTKOpenGLNativeWidget VTK viewer along with the PCLVisualizer.

Any suggestions are welcome. Thank you very much for everything

Upvotes: 0

Views: 454

Answers (0)

Related Questions