↓ 13 callersFunctionread_next_bytesRead and unpack the next bytes from a binary file. :param fid: :param num_bytes: Sum of combination of {2, 4, 8}, e.g. 2, 6, 16, 30, etc.
scene/colmap_loader.py:73
↓ 11 callersMethodadd_camera(self, pose_c2w, focal=None, color=(0, 0, 0), image=None, imsize=None, cam_size=0.03)
dust3r/viz.py:190
↓ 5 callersMethod_set_pose(self, poses, idx, R, T=None, scale=None, force=False)
dust3r/cloud_opt/base_opt.py:157
↓ 5 callersFunctionconvert3x4_4x4 :param input: (N, 3, 4) or (3, 4) torch or np :return: (N, 4, 4) or (4, 4) torch or np
utils/utils_poses/lie_group_helper.py:34
↓ 5 callersFunctiondepthmap_to_pts3d Args: - depthmap (BxHxW array): - pseudo_focal: [B,H,W] ; [B,2,H,W] or [B,1,H,W] Returns: pointmap of absolute coordi
dust3r/utils/geometry.py:114
↓ 5 callersFunctionxy_grid Output a (H,W,2) array of int32 with output[j,i,0] = i + origin[0] output[j,i,1] = j + origin[1]
dust3r/utils/geometry.py:15
↓ 4 callersFunctionSO3_to_quat :param R: (N, 3, 3) or (3, 3) np :return: (N, 4, ) or (4, ) np
utils/utils_poses/lie_group_helper.py:14
↓ 4 callersFunctionget_joint_pointcloud_center_scale(pts1, pts2, valid_mask1=None, valid_mask2=None, z_only=False, center=True)
dust3r/utils/geometry.py:328
↓ 3 callersMethodcompute_global_alignment(self, init=None, niter_PnP=10, focal_avg=False, known_focal=None, **kw)
dust3r/cloud_opt/base_opt.py:276
↓ 3 callersFunctionconvert3x4_4x4 :param input: (N, 3, 4) or (3, 4) torch or np :return: (N, 4, 4) or (4, 4) torch or np
utils/utils_poses/vis_pose_utils.py:149