I am doing some image processing and am a little bit confused about reporting a 35 mm equivalent focal length. I am working with a 640x360 image which has an aspect ratio of 1.7777. A 35 mm film is 36 mm x 24 mm, for an aspect ratio of 1.5. We have the formulae $F_X = f_x \frac{W}{w}$ and $F_y = f_y \frac{H}{h}$. I currently have the values $f_x = f_y =$ 370 px calibrated for the 640x360 image. If I use $W = $ 36 mm, $w = $ 640 px, $H = $ 24 mm, and $h = $ 360 px, then the scale factors $\frac{W}{w}$ and $\frac{H}{h}$ disagree due to the disparity in aspect ratio, and $F_x \neq F_y$, when I expect them to be equal.
Is the idea to consider my 640x360 px image as a cropped 640x426.666 px image? Or is it to consider my current 640x360 as a vertically squeezed image with non-square pixels?
EDIT:
I have added the following diagram to help articulate my confusion:
I have added the viewing frustum for the 640x360 image. The aspect ratio of this image determines the frustum. I have two ways I can fit a 35 mm film into this frustum. I can find where it fits horizontally, where the 36 mm piece sits in the frustum, but then the film hangs below the frustum. I can also slide the film until it fits vertically, where the 24 mm piece fits, but then the 36 mm side can't reach the other side of the frustum. In both of these options, the focal length is different. Which one is more proper to report?
My intuition tells me that the first option is more correct, where the 35 mm film is fit horizontally. Then the 640x360 image is considered as a cropped 35 mm film image. But then there is another ambiguity. Do we center the film so that there is equal overhang on the top and bottom? That is, should the film be centered along the principal point? See the blue piece of film here:
FINAL EDIT:
My conclusion is that there really is no concept of a 35 mm film equivalent when the aspect ratio doesn't match 36/24 = 1.5. Take, for example, this image taken with extremely high aspect ratio film:
We can consider a 35 mm equivalent with a common principal point either like such:
or like such:
The comparison shows that there is no analogue:
Depending on which way you decide to frame the 35 mm film, you conclude either that the focal length is really really large or very small.