Closed flugi closed 8 months ago
I don't have the code in front of me, but often these parameters come with reference dimensions (the width and height at witch the numbers apply). So, if the reference dimensions were the same I would expect to see the same values.
Looking now at the struct that's returned I'm not so sure that's the case here 🫤
If this still applies, then the 640x576 images are cropped from the 1024x1024 images, not scaled. In this case, it is correct for the fx, fy parameters to remain constant.
If this still applies, then the 640x576 images are cropped from the 1024x1024 images, not scaled. In this case, it is correct for the fx, fy parameters to remain constant.
yes, NFOV and WFOV have a relationship of cropping.
I wrote the following code:
and the output is the following:
0.0784412 -0.110434 0.0465312 0 0 0 373.929 373.583 317.359 186.263 640 360 8.68957 4.46817 0.172922 9.01699 7.37854 1.05598 505.284 505.233 530.666 505.513 1024 1024 0.0784412 -0.110434 0.0465312 0 0 0 498.572 498.111 316.479 248.351 640 480 8.68957 4.46817 0.172922 9.01699 7.37854 1.05598 505.284 505.233 530.666 505.513 1024 1024 0.0784412 -0.110434 0.0465312 0 0 0 373.929 373.583 317.359 186.263 640 360 8.68957 4.46817 0.172922 9.01699 7.37854 1.05598 505.284 505.233 338.666 325.513 640 576 0.0784412 -0.110434 0.0465312 0 0 0 498.572 498.111 316.479 248.351 640 480 8.68957 4.46817 0.172922 9.01699 7.37854 1.05598 505.284 505.233 338.666 325.513 640 576
I noticed that the depth fx and fy is exactly the same for 1024x1024 and 640x576 modes, which is odd.