-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting opencv-style camera intrinsics #73
Comments
Hi Hanwen, thanks for your note. What exactly do you want your 3x3 matrix to do? Can you describe the exact mathematical constraint that your matrix is supposed to enforce? |
Sure. If I have mesh vertices in 3D, denoted as
I would like to know the how to get |
And what exactly is |
|
In normalized floating point coordinates ranging from [-1.0,1.0], or in integer coordinates ranging from [0,w] and [0,h]? The reason I'm asking you all of these questions is because I want you to write out the complete image formation model you have in your head. Otherwise we will be going around in circles trying to establish a common set of conventions, and we won't know where to start when things aren't behaving as expected. |
Yes, I appreciate this style! The points are in integer coordinates in [0,w] and [0,h]. |
Great, thank you.
|
Thanks for the great work!
Could you give me some instructions on how to get the opencv-style camera intrinsics from this file?
By saying opencv-stype camera intrinsics, it can be defined as a 3x3 matrix as
[[fx, 0, cx], [0, fy, cy], [0, 0, 1]]
,where
fx
andfy
are focal length for the x-axis and y-axis respectively (in pixel), andcx
,cy
define the principle point of the camera (in pixel). The intrinsics is used for 3D-to-2D projection.Best,
Hanwen
The text was updated successfully, but these errors were encountered: