marek-simonik / record3d

Accompanying library for the Record3D iOS app (https://record3d.app/). Allows you to receive RGBD stream from iOS devices with TrueDepth camera(s).
https://record3d.app/
GNU Lesser General Public License v2.1
383 stars 57 forks source link

Hi, Question about intrinsics. #37

Closed HeoJinLareine closed 2 years ago

HeoJinLareine commented 2 years ago

If I scale up depthMap image size 4 times, correct intrinsic matrix is multipling x4 for each component for "intrinsic_mat = self.get_intrinsic_mat_from_coeffs(self.session.get_intrinsic_mat())"?

marek-simonik commented 2 years ago

It should be enough to multiply the 4 intrinsic coefficients by the scale factor (i.e. by 4, as you wrote) and construct the intrinsic matrix from those 4 scaled coefficients.