Pseudocode:
1) convert y p r to a direction vector
2) compute angle between two direction vectors A and B
3) compare angle to hfovA/2 + hfovB/2
4) if the angle is smaller it’s possible it overlaps. Must check rotation
of the two images to be sure



On Thu, 20 Jan 2022 at 10:37 PM, chaosjug <[email protected]> wrote:

> Hi,
>
> does someone have the formulas or a code example how to calculate if images
> overlap? So starting with y,p,r,hfov and aspect ratio.  I only need an
> estimate, so I hope I can neglect the lens type.
>
> Regards
> Stephan
>
>
> --
> A list of frequently asked questions is available at:
> http://wiki.panotools.org/Hugin_FAQ
> ---
> You received this message because you are subscribed to the Google Groups
> "hugin and other free panoramic software" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/hugin-ptx/4434312.LvFx2qVVIh%40chaos-home
> .
>

-- 
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/CAM_uak5LbaZegO_JF4uYXbKVikp3X6uSnuERC%2BXQrzH1gD5reg%40mail.gmail.com.

Reply via email to