Forum

Author Topic: How to quickly trace back from a dense point to multiple related 2D images  (Read 2616 times)

shunfu

  • Newbie
  • *
  • Posts: 8
    • View Profile
Hi, guys

     My goal:Select any point from the dense point cloud reconstructed by metashape, and use the camera internal and external parameters in camera.xml exported from metashape to trace back to multiple two-dimensional pictures containing the selected point.

    My setting:
   1)The input 2D images is from the UAV with longitude and latitude coordinates and elevation.
   2)After obtaining dense point cloud, to avoid the  the impact of chunk coordinate system,click 'chunk-reset transform' to let chunk transform matric to be Identity matrix.
   3)then,export camera.xml and dense point cloud (x,y,z)
   4)  I use the following formula to trace a 2D images of a three-dimensional point:
        [u,v,1]=K*RT*[x,y,z,1]
   5)After traversing all the projection matrices(RiTi), find all the 2D image sets that (u,v) meet the image resolution(u>0 and u<resolution.width,v>0 and v<resolution.height).

   But many of eligible images do not contain the selected dense point (x,y,z) in the image view

  Actually,It would be better if this could be implemented on the metashape interface like First, select a dense point, and then directly display the relevant two-dimensional image.

      I hope I could state my problem clearly and hopefully I have not missed the answer in some other thread of this forum.

Thanks for your help, guys!
« Last Edit: December 01, 2021, 01:44:10 PM by shunfu »