MCPcopy Create free account

hub / github.com/NVlabs/InstantSplat / functions

Functions864 in github.com/NVlabs/InstantSplat

↓ 1 callersFunctionbatched_triangulate
(pts2d, # [B, Ncams, Npts, 2] proj_mats)
mast3r/cloud_opt/triangulation.py:12
↓ 1 callersMethodblockwise_criterion
(self, descs1, descs2, confs1, confs2, valid_matches, euc, rng=np.random, shuffle=True)
mast3r/losses.py:413
↓ 1 callersFunctionbuild_scaling_rotation
(s, r)
utils/general_utils.py:101
↓ 1 callersFunctioncal_co_vis_mask
(points, depths, curr_depth_map, depth_threshold, camera_intrinsics, extrinsics_w2c)
utils/sfm_utils.py:342
↓ 1 callersFunctioncamera_matrix_of_crop
(input_camera_matrix, input_resolution, output_resolution, scaling=1, offset_factor=0.5, offset=None)
dust3r/datasets/utils/cropping.py:87
↓ 1 callersFunctioncamera_to_JSON
(id, camera : Camera)
utils/camera_utils.py:66
↓ 1 callersFunctioncanonical_view
(ptmaps11, confs11, subsample, mode='avg-angle')
mast3r/cloud_opt/sparse_ga.py:817
↓ 1 callersMethodcapture
(self)
scene/gaussian_model.py:65
↓ 1 callersMethodcat_tensors_to_optimizer
(self, tensors_dict)
scene/gaussian_model.py:378
↓ 1 callersFunctioncheck_if_same_size
(pairs)
dust3r/inference.py:75
↓ 1 callersMethodclean_pointcloud
(self, **kw)
dust3r/cloud_opt/base_opt.py:234
↓ 1 callersFunctioncolmap_to_opencv_intrinsics
Modify camera intrinsics to follow a different convention. Coordinates of the center of the top-left pixels are by default: - (0.5, 0.5)
dust3r/utils/geometry.py:223
↓ 1 callersMethodcompute_AP
(label, score)
mast3r/losses.py:291
↓ 1 callersFunctioncompute_ATE
Compute RMSE of ATE Args: gt: ground-truth poses pred: predicted poses
utils/utils_poses/comp_ate.py:59
↓ 1 callersFunctioncompute_co_vis_masks
(sorted_conf_indices, depthmaps, pointmaps, camera_intrinsics, extrinsics_w2c, image_sizes, depth_threshold=0.
utils/sfm_utils.py:375
↓ 1 callersFunctioncompute_edge_scores
(edges, conf_i, conf_j)
dust3r/cloud_opt/commons.py:24
↓ 1 callersMethodcompute_loss
(self, *args, **kwargs)
dust3r/losses.py:94
↓ 1 callersFunctioncompute_min_spanning_tree
(pws)
mast3r/cloud_opt/sparse_ga.py:991
↓ 1 callersFunctioncompute_rpe
(gt, pred)
utils/utils_poses/comp_ate.py:40
↓ 1 callersFunctioncompute_scale_gaussian_by_project_pair_pcd
(points_3d_all, extrins, intrins, view_num_list=None)
utils/graphics_utils.py:107
↓ 1 callersFunctioncondense_data
(imgs, tmp_paths, canonical_views, preds_21, dtype=torch.float32)
mast3r/cloud_opt/sparse_ga.py:729
↓ 1 callersMethodconstruct_list_of_attributes
(self)
scene/gaussian_model.py:247
↓ 1 callersFunctionconvert_dust3r_pairs_naming
(imgs, pairs_in)
mast3r/cloud_opt/sparse_ga.py:111
↓ 1 callersFunctioncosine_schedule
(t, lr_start, lr_end)
dust3r/cloud_opt/commons.py:83
↓ 1 callersFunctioncreate_dpt_head
return PixelwiseTaskWithDPT for given net params
dust3r/heads/dpt_head.py:96
↓ 1 callersMethodcreate_from_pcd
(self, pcd : BasicPointCloud, spatial_lr_scale : float, scale_gaussian: np.ndarray = None)
scene/gaussian_model.py:146
↓ 1 callersFunctioncrop_to_homography
Given an image and its intrinsics, we want to replicate a rectangular crop with an homography, so that the principal point of the n
mast3r/datasets/utils/cropping.py:158
↓ 1 callersMethoddepth_to_pts3d
(self)
dust3r/cloud_opt/base_opt.py:200
↓ 1 callersMethoddepth_to_pts3d
(self)
dust3r/cloud_opt/optimizer.py:170
↓ 1 callersMethoddepth_to_pts3d
(self)
dust3r/cloud_opt/modular_optimizer.py:130
↓ 1 callersFunctiondict_to_sparse_graph
(dic)
dust3r/cloud_opt/init_im_poses.py:224
↓ 1 callersMethoddistance
(self, a, b)
dust3r/losses.py:50
↓ 1 callersFunctionedge_conf
(conf_i, conf_j, edge)
dust3r/cloud_opt/commons.py:20
↓ 1 callersFunctioneuler_from_matrix
Return Euler angles from rotation matrix for specified axis sequence. axes : One of 24 axis sequences as string or encoded tuple Note that m
utils/utils_poses/ATE/transformations.py:1264
↓ 1 callersFunctioneuler_matrix
Return homogeneous rotation matrix from Euler angles and axis sequence. ai, aj, ak : Euler's roll, pitch and yaw angles axes : One of 24 axis
utils/utils_poses/ATE/transformations.py:1201
↓ 1 callersFunctionevaluate
(args)
metrics.py:35
↓ 1 callersFunctionextract_correspondences
(feats, qonfs, subsample=8, device=None, ptmap_key='pred_desc')
mast3r/cloud_opt/sparse_ga.py:595
↓ 1 callersFunctionextract_number
(filename)
utils/sfm_utils.py:86
↓ 1 callersFunctionfill_default_args
(kwargs, func)
dust3r/utils/misc.py:10
↓ 1 callersFunctionfind_reciprocal_matches
returns 3 values: 1 - reciprocal_in_P2: a boolean array of size P2.shape[0], a "True" value indicates a match 2 - nn2_in_P1: a int array
dust3r/utils/geometry.py:345
↓ 1 callersFunctionfirst_order_rotation
First order approximation of a rotation: I + skew(rotvec) cfo, 2015/08/13
utils/utils_poses/ATE/transformations.py:198
↓ 1 callersFunctionfocus_point_fn
Calculate nearest point to all focal axes in poses.
utils/pose_utils.py:239
↓ 1 callersFunctionforward_mast3r
(pairs, model, cache_path, desc_conf='desc_conf', device='cuda', subsample=8, **matching_kw
mast3r/cloud_opt/sparse_ga.py:525
↓ 1 callersFunctionfreeze_all_params
(modules)
dust3r/utils/misc.py:22
↓ 1 callersFunctionfrustums2lineset
(frustums)
utils/utils_poses/vis_cam_traj.py:37
↓ 1 callersFunctiongaussian
(window_size, sigma)
utils/loss_utils.py:45
↓ 1 callersFunctiongen_random_crops
Generate random crops of size=resolution, for an input image upscaled to (imsize + randint(0 , aug_crop))
mast3r/datasets/utils/cropping.py:193
↓ 1 callersMethodgenerate_crops_from_pair
(self, view1, view2, resolution, aug_crop_arg, n_crops=4, rng=np.random)
mast3r/datasets/base/mast3r_base_stereo_view_dataset.py:87
↓ 1 callersFunctiongetProjectionMatrix
(znear, zfar, fovX, fovY)
utils/graphics_utils.py:71
↓ 1 callersFunctionget_3D_model_from_scene
extract 3D_model (glb file) from a reconstructed scene
mast3r/demo.py:111
↓ 1 callersFunctionget_3D_model_from_scene
extract 3D_model (glb file) from a reconstructed scene
dust3r/demo.py:110
↓ 1 callersMethodget_RT_test
(self, idx)
scene/gaussian_model.py:138
↓ 1 callersFunctionget_best_yaw
maximize trace(Rz(theta) * C)
utils/utils_poses/ATE/align_trajectory.py:17
↓ 1 callersFunctionget_camera_frustum_opencv_coord
X right, Y up, Z backward to the observer. :param H, W: :param fx, fy: :param W2C: (4, 4) matrix :param frustum_length:
utils/utils_poses/vis_cam_traj.py:88
↓ 1 callersFunctionget_camera_frustum_opengl_coord
X right, Y up, Z backward to the observer. :param H, W: :param fx, fy: :param W2C: (4, 4) matrix :param frustum_length:
utils/utils_poses/vis_cam_traj.py:56
↓ 1 callersFunctionget_center_and_diag
(cam_centers)
scene/dataset_readers.py:51
↓ 1 callersFunctionget_combined_args
(parser : ArgumentParser)
arguments/__init__.py:96
↓ 1 callersMethodget_confs
(self, pred1, pred2, sel1, sel2)
mast3r/losses.py:371
↓ 1 callersFunctionget_context
(delete_cache)
mast3r/demo.py:226
↓ 1 callersFunctionget_data_loader
(dataset, batch_size, num_workers=8, shuffle=True, drop_last=True, pin_mem=True)
dust3r/datasets/__init__.py:16
↓ 1 callersMethodget_depthmaps
(self, raw=False)
dust3r/cloud_opt/base_opt.py:231
↓ 1 callersMethodget_depthmaps
(self, raw=False)
dust3r/cloud_opt/optimizer.py:164
↓ 1 callersMethodget_depthmaps
(self, raw=False)
dust3r/cloud_opt/pair_viewer.py:88
↓ 1 callersMethodget_depthmaps
(self)
dust3r/cloud_opt/modular_optimizer.py:127
↓ 1 callersMethodget_descs
(self, pred1, pred2)
mast3r/losses.py:383
↓ 1 callersMethodget_focals
(self)
dust3r/cloud_opt/base_opt.py:212
↓ 1 callersMethodget_im_poses
(self)
dust3r/cloud_opt/optimizer.py:152
↓ 1 callersMethodget_im_poses
(self)
dust3r/cloud_opt/modular_optimizer.py:117
↓ 1 callersFunctionget_imshapes
(edges, pred_i, pred_j)
dust3r/cloud_opt/commons.py:33
↓ 1 callersMethodget_known_focal_mask
(self)
dust3r/cloud_opt/pair_viewer.py:98
↓ 1 callersFunctionget_known_focals
(self)
dust3r/cloud_opt/init_im_poses.py:311
↓ 1 callersMethodget_matching_descs
(self, gt1, gt2, pred1, pred2, **kw)
mast3r/losses.py:390
↓ 1 callersFunctionget_network
(net_type: str)
lpipsPyTorch/modules/networks.py:12
↓ 1 callersFunctionget_patch_embed
(patch_embed_cls, img_size, patch_size, enc_embed_dim)
dust3r/patch_embed.py:13
↓ 1 callersMethodget_pts3d
(self, raw=False)
dust3r/cloud_opt/optimizer.py:182
↓ 1 callersMethodget_pw_scale
(self)
dust3r/cloud_opt/base_opt.py:186
↓ 1 callersFunctionget_state_dict
(net_type: str = 'alex', version: str = '0.1')
lpipsPyTorch/modules/utils.py:11
↓ 1 callersMethodget_stats
(self)
dust3r/datasets/base/base_stereo_view_dataset.py:49
↓ 1 callersFunctionglobal_alignment_loop
(net, lr=0.01, niter=300, schedule='cosine', lr_min=1e-6)
dust3r/cloud_opt/base_opt.py:326
↓ 1 callersFunctiongreedy_selection
(corres_weights, target=0.9)
mast3r/utils/coarse_to_fine.py:156
↓ 1 callersFunctionimages_to_video
Convert images in a folder to a video. Args: - image_folder (str): The path to the folder containing the images. - output_video_path
render.py:59
↓ 1 callersFunctionin2d_rect
(corres, crops)
mast3r/datasets/utils/cropping.py:213
↓ 1 callersMethodinit_RT_seq
(self, cam_list)
scene/gaussian_model.py:126
↓ 1 callersFunctioninit_from_pts3d
(self, pts3d, im_focals, im_poses)
dust3r/cloud_opt/init_im_poses.py:92
↓ 1 callersFunctioninner_outer
Construct inner and outer measures on (t1, y1) for t0.
utils/stepfun.py:36
↓ 1 callersFunctioninsert_buffer_poses
Insert extra poses at the start and end of the path.
utils/pose_utils.py:487
↓ 1 callersFunctionintegrate_weights_np
Compute the cumulative sum of w, assuming all weight vectors sum to 1. The output's size on the last dimension is one greater than that of the inpu
utils/stepfun.py:131
↓ 1 callersFunctioninterp
Runs multidimensional B-spline interpolation on the input points.
utils/camera_utils.py:155
↓ 1 callersFunctioninvert_cdf
Invert the CDF defined by (t, w) at the points specified by u in [0, 1).
utils/stepfun.py:154
↓ 1 callersFunctioninvert_cdf_np
Invert the CDF defined by (t, w) at the points specified by u in [0, 1).
utils/stepfun.py:164
↓ 1 callersFunctionis_symmetrized
(gt1, gt2)
dust3r/utils/misc.py:32
↓ 1 callersFunctionl1_loss
(x, y)
mast3r/cloud_opt/utils/losses.py:15
↓ 1 callersFunctionl1_loss_mask
(network_output, gt, mask)
utils/loss_utils.py:17
↓ 1 callersFunctionlinear_schedule
(t, lr_start, lr_end)
dust3r/cloud_opt/commons.py:88
↓ 1 callersFunctionloadCam
(args, id, cam_info, resolution_scale)
utils/camera_utils.py:21
↓ 1 callersFunctionload_and_prepare_confidence
Loads, normalizes, inverts, and scales confidence values to obtain learning rate modifiers. Args: confidence_path (str): Path to
train.py:63
↓ 1 callersFunctionload_model
(model_path, device, verbose=True)
mast3r/model.py:21
↓ 1 callersFunctionload_model
(model_path, device, verbose=True)
dust3r/model.py:27
↓ 1 callersMethodload_ply
(self, path)
scene/gaussian_model.py:285
↓ 1 callersFunctionlora_encode_normed
(lora_proj, x, min_norm, global_norm=False)
mast3r/cloud_opt/sparse_ga.py:944
← previousnext →301–400 of 864, ranked by callers