MCPcopy Create free account

hub / github.com/HavenFeng/St4RTrack / functions

Functions1,146 in github.com/HavenFeng/St4RTrack

↓ 3 callersMethoddraw_traj_on_image_py
(self, rgb, traj, S=50, linewidth=1, show_dots=False, show_lines=True, cmap='coolwarm', val=None, maxdist=None
dust3r/utils/po_utils/improc.py:1271
↓ 3 callersFunctionestimate_focal
(pts3d_i, pp=None)
dust3r/cloud_opt/init_im_poses.py:278
↓ 3 callersFunctioneval_tapvid3d
Distributed evaluation for TapVid3D data. 1) Inference on each npz track 2) Evaluate using "metric-based" scaling: global & per-traj
dust3r/track_eval.py:112
↓ 3 callersMethodget_conf_log
(self, x)
dust3r/losses.py:490
↓ 3 callersFunctionget_conf_trf
(mode)
dust3r/cloud_opt/commons.py:53
↓ 3 callersMethodget_cos_sin
(self, D, seq_len, device, dtype, interpolation_scale=1)
dust3r/rope3d.py:66
↓ 3 callersMethodget_depthmaps
(self, raw=False)
dust3r/cloud_opt/base_opt.py:292
↓ 3 callersMethodget_depthmaps
(self, raw=False)
dust3r/cloud_opt/pair_viewer.py:88
↓ 3 callersFunctionget_feat_pca
(feat, valid=None)
dust3r/utils/po_utils/improc.py:141
↓ 3 callersMethodget_focals
(self)
dust3r/cloud_opt/pair_viewer.py:95
↓ 3 callersMethodget_im_poses
(self)
dust3r/cloud_opt/base_opt.py:286
↓ 3 callersMethodget_quaternion_transfrom_mat
Get the transformation matrix that maps the local rotation delta in 3D tangent space to the 4D space where the quaternion is embedded
dust3r/cloud_opt/camera.py:146
↓ 3 callersFunctionget_rank
()
croco/utils/misc.py:213
↓ 3 callersFunctionget_size_from_box2d
(box2d)
dust3r/utils/po_utils/geom.py:313
↓ 3 callersFunctionget_world_size
()
croco/utils/misc.py:207
↓ 3 callersMethodintrinsics_solver
(self, pred1, **kw)
dust3r/camera_solver.py:174
↓ 3 callersFunctioninvalid_to_zeros
(arr, valid_mask, ndim=999)
dust3r/utils/misc.py:138
↓ 3 callersFunctionis_dist_avail_and_initialized
()
croco/utils/misc.py:199
↓ 3 callersFunctionload_images
Open and convert all images or videos in a list or folder to proper input format for DUSt3R.
dust3r/utils/image.py:186
↓ 3 callersMethodload_state_dict
(self, ckpt, **kw)
dust3r/model.py:102
↓ 3 callersFunctionloss_of_one_batch
Compute the loss (and optionally other results) for one batch with timing. Args: batch_data: Tuple of (view1_combined, view2_combined
dust3r/inference.py:119
↓ 3 callersFunctionpose7d_to_matrix
Convert a 7D pose (translation + quaternion) to a 4x4 transformation matrix. Args: pose (torch.Tensor): Shape (..., 7), where th
dust3r/cloud_opt/oneref_viewer.py:27
↓ 3 callersMethodpose_solver
(self, gt_intrinsics, pred2, mask=None, **kwargs)
dust3r/camera_solver.py:44
↓ 3 callersFunctionread_file_list
Reads a trajectory or file list from a text file. File format: "stamp d1 d2 d3 ..." Returns: dict -- dictionary of (stamp, [dat
datasets_preprocess/prepare_tum.py:6
↓ 3 callersFunctionrigid_points_registration
(pts1, pts2, conf)
dust3r/cloud_opt/init_im_poses.py:265
↓ 3 callersFunctionsave_trajectory_tum_format
(traj, filename)
dust3r/utils/vo_eval.py:282
↓ 3 callersFunctionsel
(x)
dust3r/datasets/base/base_stereo_view_dataset.py:197
↓ 3 callersMethodshow
(self, point_size=2)
dust3r/viz.py:210
↓ 3 callersMethodsolve
Args: x3d (Tensor): Shape (num_obj, num_pts, 3) x2d (Tensor): Shape (num_obj, num_pts, 2) w2d (Tensor): S
dust3r/cloud_opt/levenberg_marquardt.py:80
↓ 3 callersMethodstate_dict
(self)
croco/utils/misc.py:274
↓ 3 callersMethodsumm_gif
(self, name, tensor, blacken_zeros=False)
dust3r/utils/po_utils/improc.py:474
↓ 3 callersMethodsumm_oned
(self, name, im, bev=False, fro=False, logvis=False, max_val=0, max_along_y=False, norm=True, frame_id=None, o
dust3r/utils/po_utils/improc.py:747
↓ 3 callersMethodsynchronize_between_processes
(self)
croco/utils/misc.py:125
↓ 3 callersFunctiontodevice
Transfer some variables to another device (i.e. GPU, CPU:torch, CPU:numpy). batch: list, tuple, dict of tensors or other things device: pyto
dust3r/utils/device.py:11
↓ 3 callersFunctionvisualize_results_recon
Visualize reconstruction results with both 2D frames and 3D pointclouds. Combines multiple frames in a single visualization. Args:
dust3r/datasets/tapvid3d.py:16
↓ 2 callersMethod__call__
(self, img1, img2)
croco/datasets/transforms.py:12
↓ 2 callersFunction_computeColor
flow_utils._computeColor(flow): compute color codes for the flow field flow ---- PARAMETERS ---- flow: np.array of dimension (he
croco/stereoflow/datasets_flow.py:550
↓ 2 callersFunction_convert
(input_, type_)
dust3r/utils/po_utils/improc.py:16
↓ 2 callersMethod_dispatch
(self, func, *args, **kwargs)
dust3r/datasets/utils/cropping.py:52
↓ 2 callersMethod_downstream_head
(self, head_num, decout, img_shape)
dust3r/model_seq.py:269
↓ 2 callersMethod_downstream_head
(self, head_num, decout, img_shape)
dust3r/model.py:296
↓ 2 callersMethod_error
(self, gt, predictions)
croco/stereoflow/criterion.py:27
↓ 2 callersFunction_filter_edges_seq
(edges, seq_dis_thr, cyclic=False)
dust3r/image_pairs.py:91
↓ 2 callersMethod_init_weights
(self, m)
croco/models/croco.py:127
↓ 2 callersFunction_interleave_imgs
(img1, img2)
dust3r/inference.py:26
↓ 2 callersFunction_overlapping
(total, window, overlap=0.5)
croco/stereoflow/engine.py:267
↓ 2 callersFunction_read_pfm
(file)
croco/stereoflow/datasets_stereo.py:581
↓ 2 callersMethod_resize_flow
(self, flow, scale_x, scale_y, factor=1.0)
croco/stereoflow/augmentor.py:198
↓ 2 callersFunction_resize_img
(img, new_size)
croco/stereoflow/engine.py:163
↓ 2 callersFunction_resize_pil_image
(img, long_edge_size, nearest=False)
dust3r/utils/image.py:110
↓ 2 callersFunction_resize_stereo_or_flow
(data, new_size)
croco/stereoflow/engine.py:165
↓ 2 callersMethod_set_depthmap
(self, idx, depth, force=False)
dust3r/cloud_opt/pair_viewer.py:83
↓ 2 callersMethod_set_focal
(self, idx, focal, force=False)
dust3r/cloud_opt/pair_viewer.py:92
↓ 2 callersFunction_so3_exp_map
A helper function that computes the so3 exponential map and, apart from the rotation matrix, also returns intermediate variables that can
dust3r/utils/goem_opt.py:248
↓ 2 callersMethodadapt_tokens
(self, encoder_tokens)
croco/models/dpt_block.py:429
↓ 2 callersMethodadd_cameras
(self, poses, focals=None, images=None, imsizes=None, colors=None, **kw)
dust3r/viz.py:204
↓ 2 callersFunctionalign_multiple_poses
(src_poses, target_poses)
dust3r/cloud_opt/init_im_poses.py:356
↓ 2 callersMethodapply_rope1d
(self, tokens, pos1d, cos, sin)
croco/models/pos_embed.py:131
↓ 2 callersFunctionarea
(sz)
croco/datasets/crops/extract_crops_from_images.py:115
↓ 2 callersFunctionbuild_dataset
(dataset, batch_size, num_workers, test=False)
dust3r/training.py:464
↓ 2 callersFunctionc2w_to_tumpose
Convert a camera-to-world matrix to a tuple of translation and rotation input: c2w: 4x4 matrix output: tuple of translation and rota
dust3r/cloud_opt/base_opt.py:32
↓ 2 callersFunctioncamera_matrix_of_crop
(input_camera_matrix, input_resolution, output_resolution, scaling=1, offset_factor=0.5, offset=None)
dust3r/datasets/utils/cropping.py:205
↓ 2 callersFunctioncat
(a, b)
dust3r/viz.py:334
↓ 2 callersFunctioncat_3d
(vecs)
dust3r/viz.py:25
↓ 2 callersFunctioncenter_and_z
(poses)
dust3r/cloud_opt/init_im_poses.py:360
↓ 2 callersFunctioncombine_views
(views)
dust3r/inference.py:217
↓ 2 callersFunctioncompute_camera_intrinsics
(height, width, hfov)
croco/datasets/habitat_sim/multiview_habitat_sim_generator.py:17
↓ 2 callersFunctioncompute_edge_scores
(edges, conf_i, conf_j)
dust3r/cloud_opt/commons.py:28
↓ 2 callersFunctioncompute_normals_from_adjacency_vec
Vectorized normal estimation using shared adjacency structure. Args: points (torch.Tensor): (B, N, 3) adjacency (torch.Tensor):
dust3r/normal_loss.py:29
↓ 2 callersFunctioncompute_pointcloud_overlaps_scikit
Compute 'overlapping' metrics based on a distance threshold between two point clouds.
croco/datasets/habitat_sim/multiview_habitat_sim_generator.py:50
↓ 2 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
↓ 2 callersFunctiondistance_preservation_loss_3d
Optimized version of distance preservation loss using K-nearest neighbors in 3D space. Vectorized across time dimension to avoid for-loop.
dust3r/arap_utils.py:247
↓ 2 callersFunctiondraw_edge_scores_map
(edge_scores, save_path, n_imgs=None)
dust3r/cloud_opt/init_im_poses.py:24
↓ 2 callersFunctiondynamic_static_reweight
Apply dynamic-static reweighting to confidence values based on trajectory movement. Args: conf1_ori: (B_subset, H, W) Original c
dust3r/losses.py:69
↓ 2 callersFunctionestimate_sim3
Estimate a global Sim(3) transformation that aligns A to B in a least-squares sense. That is, find s, R, t such that: B ~ s * R * A +
dust3r/track_eval_util.py:25
↓ 2 callersFunctioneval_ours_tapvid3d
( args, model, device, data_type='pstudio', eval_recon=False,
dust3r/track_eval.py:55
↓ 2 callersFunctionevaluate_pnp
Args: x3d (torch.Tensor): Shape (*, n, 3) x2d (torch.Tensor): Shape (*, n, 2) w2d (torch.Tensor): Shape (*, n, 2)
dust3r/cloud_opt/common.py:67
↓ 2 callersFunctionfast_pnp
(pts3d, focal, msk, device, pp=None, niter_PnP=10)
dust3r/cloud_opt/init_im_poses.py:292
↓ 2 callersFunctionfill_default_args
(kwargs, func)
dust3r/utils/misc.py:36
↓ 2 callersFunctionfilter_pairs_seq
(pairs, seq_dis_thr, cyclic=False)
dust3r/image_pairs.py:105
↓ 2 callersMethodforward
(self, img1, img2)
croco/datasets/transforms.py:18
↓ 2 callersFunctionfreeze_all_params
(modules)
dust3r/utils/misc.py:48
↓ 2 callersMethodgenerate_grid
(self, H, W, device)
dust3r/utils/goem_opt.py:534
↓ 2 callersFunctiongenerate_orientation_noise
(pan_range, tilt_range, roll_range)
croco/datasets/habitat_sim/multiview_habitat_sim_generator.py:111
↓ 2 callersFunctionget_1d_sincos_pos_embed_from_grid
embed_dim: output dimension for each position pos: a list of positions to be encoded: size (M,) out: (M, D)
croco/models/pos_embed.py:51
↓ 2 callersFunctionget_2d_sincos_pos_embed
grid_size: int of the grid height and width return: pos_embed: [grid_size*grid_size, embed_dim] or [n_cls_token+grid_size*grid_size, embe
croco/models/pos_embed.py:22
↓ 2 callersFunctionget_centroid_from_box2d
(box2d)
dust3r/utils/po_utils/geom.py:278
↓ 2 callersMethodget_focals
(self)
dust3r/cloud_opt/base_opt.py:269
↓ 2 callersMethodget_im_poses
(self)
dust3r/cloud_opt/oneref_viewer.py:235
↓ 2 callersFunctionget_joint_pointcloud_center_scale
(pts1, pts2, valid_mask1=None, valid_mask2=None, z_only=False, center=True)
dust3r/utils/geometry.py:438
↓ 2 callersFunctionget_joint_pointcloud_depth
(z1, z2, valid_mask1, valid_mask2=None, quantile=0.5)
dust3r/utils/geometry.py:423
↓ 2 callersFunctionget_known_poses
(self)
dust3r/cloud_opt/init_im_poses.py:335
↓ 2 callersFunctionget_med_dist_between_poses
(poses)
dust3r/utils/geometry.py:474
↓ 2 callersMethodget_name
(self)
dust3r/losses.py:311
↓ 2 callersFunctionget_patch_embed
(patch_embed_cls, img_size, patch_size, enc_embed_dim)
dust3r/patch_embed.py:13
↓ 2 callersMethodget_principal_points
(self)
dust3r/cloud_opt/pair_viewer.py:101
↓ 2 callersMethodget_pw_norm_scale_factor
(self)
dust3r/cloud_opt/base_opt.py:232
↓ 2 callersMethodget_pw_poses
(self)
dust3r/cloud_opt/base_opt.py:245
↓ 2 callersMethodget_raw_value
(self, index)
dust3r/utils/goem_opt.py:342
↓ 2 callersFunctionget_reconstructed_scene
( filelist, model, device, batch_size=16, image_size=512, output_dir='./output',
infer.py:135
← previousnext →101–200 of 1,146, ranked by callers