Forum

Author Topic: Angle between photos/cameras?  (Read 1409 times)

chrisd

  • Full Member
  • ***
  • Posts: 187
    • View Profile
Angle between photos/cameras?
« on: May 27, 2018, 11:56:44 PM »
Does anyone know of a current function to get the angle between any two photos/cameras? I'm using Photoscan Standard but I would be interested to know if its possible to do in Pro.

I'll put it up as a feature request if there's not already a way to generate that info.

SAV

  • Hero Member
  • *****
  • Posts: 710
    • View Profile
Re: Angle between photos/cameras?
« Reply #1 on: May 28, 2018, 05:36:50 AM »
Hi chrisd,

Yes, this is possible in PhotoScan Pro using a Python script.

Code: [Select]
v_int = camera.transform.mulv(PhotoScan.Vector([0,0,1]))
v_chunk = chunk.transform.matrix.mulv(v_int)

See this post: http://www.agisoft.com/forum/index.php?topic=6759.msg32726#msg32726

All the best.

Regards,
SAV

chrisd

  • Full Member
  • ***
  • Posts: 187
    • View Profile
Re: Angle between photos/cameras?
« Reply #2 on: May 29, 2018, 02:55:47 PM »
Thanks!