I have two cameras with the same specifications placed one in front of the other level and horizontal. I know the distance between them and the height of each camera. I want to create a picture-in-picture so that when image B (from camera B) overlaid on image A (from camera A), the distance between the two cameras is taken into account.
Theta and gamma are camera B image size in pixels. Alpha and theta are camera B image when overplayed on image A.
For example, if camera B has 800x600 (theta and gamma) pixel resolution and the distance between the two cameras is 50 meters, then alpha and beta is 400x300 pixels and image A from camera A is 800x600.
I can overlay image B on image A and have a picture-in-picture. Is there a way to relate the distance between the cameras when showing both images picture-in-picture?