Let me talk about the conclusion first:
Two different focal lengths are introduced because individual pixels are rectangular rather than square on low-cost imaging devices.
General understanding:
Take the CMOS sensor as an example. In fact, when we discuss several parameters of the camera’s internal parameters, we use pixel coordinates, and the unit is (pixel). The actual length corresponding to each pixel unit is different, which is equivalent to the different scales of the x and y axes, so the focal length f corresponding to these two directions will also be different.
Specific arguments:
Let the length of a single pixel be , the width be , and the unit be (mm);
Set the number of pixels per mm in the x/y direction to be , the unit is (pixel/mm);
Then the focal length in the x direction and the focal length in the y direction , the unit is (pixel);
At that time , , corresponding to the case where the aspect ratio of a single pixel is the same, at this time , can be unified;
And when the aspect ratio of a single pixel is different, , there is , so ;
Therefore, we must use and distinguish the focal lengths in the x and y directions respectively.