Forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - chrisbin07

Pages: [1]
1
Python and Java API / Filter Photos By Point - Python API
« on: January 22, 2025, 03:01:09 AM »
Hello  :)

I'm trying to perform the following task using the python API which is already implemented in the GUI feature - Filter Photos by Tie Points/Points

If I have a list of points (belonging to the original list of tie points/Point clouds) - the points are stored externally and can be imported into python.

I need to find the images in which these points appear (one or more together) and the location of the points in the images.

Thanks!

2
Hello dyoung,

Yes, you can project a 3D point to the cameras and get the 2D coordinates in the image space using Python. Do you need an example?

Hi Alexey,
I'm currently trying to do this. Can you please share the example. Thanks

3
Hi,
I was wondering if it is possible to access the transform matrix which is used to rotate and realign the created dense cloud when we use the "Look through" option for each image/camera?

I am creating dense clouds of objects via metashape. For the project that I am working on, I need to realign the dense clouds to each image and the "Look through" option does exactly that! for each image, I'd like to realign the point cloud so that its 2D projection is as close to the individual image. I'm not sure how to get the camera parameters for how to do it, I went through the metashape API documentation but couldn't find anything. I am exporting the dense clouds as LAS files, and I'd like to get the transform matrix for each image to realign the dense cloud. I've attached some images which show what I'm working with, any help will be much appreciated.

Thanks,
Chris

Pages: [1]