Camera Intrinsics #1397
-
Hi, I am having a bit of trouble declaring a camera with the intrinsic matrix. If I understand correctly, the For example, if I have a camera with an image resolution 1600*1200 and an intrinsic matrix
How should I declare such a camera in Mitsuba? Huge thanks in advance! Edit: I get that I can compute
but how should I specify |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
As I have known about mitsuba3, it use perspective projection matrix convert from 3d space to image plane, which means that unlike intrinsics matrix, it assums that |
Beta Was this translation helpful? Give feedback.
-
Hello @zichenwang01, Please have a look at the documentation of the |
Beta Was this translation helpful? Give feedback.
-
I see. Thanks! |
Beta Was this translation helpful? Give feedback.
As I have known about mitsuba3, it use perspective projection matrix convert from 3d space to image plane, which means that unlike intrinsics matrix, it assums that
fx=fy
so if you specifyfov_x
, then you dont need to specifyfov_y
.cx
andcy
you can find in perspective camera plugin to specifyoffset_principle_x
andoffset_principle_y
as a percentage rather than pixel as intrinsics