Forum

Author Topic: Model vertex coordinate to camera frame  (Read 3606 times)

SamT

  • Newbie
  • *
  • Posts: 40
    • View Profile
Model vertex coordinate to camera frame
« on: April 18, 2024, 07:01:08 AM »
Hi all!

Just looking for the method to project a model vertex to spherical camera u,v coordinates for a non-georeferenced model. Having a hard time figuring out the transforms.

Appreciate any help.

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15320
    • View Profile
Re: Model vertex coordinate to camera frame
« Reply #1 on: April 18, 2024, 06:40:06 PM »
Hello SamT,

Can you give some additional details about the task? Do you have cameras with the spherical sensor type and would like to project the coordinates of the mesh vertices on them to get 2D image coordinates?
Best regards,
Alexey Pasumansky,
Agisoft LLC

SamT

  • Newbie
  • *
  • Posts: 40
    • View Profile
Re: Model vertex coordinate to camera frame
« Reply #2 on: April 19, 2024, 12:49:27 AM »
Never mind.

camera.project() works as expected, I had a bug elsewhere in my code computing occlusion.