MCPcopy Create free account

hub / github.com/CUT3R/CUT3R / functions

Functions1,487 in github.com/CUT3R/CUT3R

↓ 1 callersFunctioncamera_matrix_of_crop
( input_camera_matrix, input_resolution, output_resolution, scaling=1, offset_factor=0.5,
datasets_preprocess/utils/cropping.py:123
↓ 1 callersFunctioncamera_matrix_of_crop
( input_camera_matrix, input_resolution, output_resolution, scaling=1, offset_factor=0.5,
eval/mv_recon/dataset_utils/cropping.py:97
↓ 1 callersFunctioncamera_matrix_of_crop
( input_camera_matrix, input_resolution, output_resolution, scaling=1, offset_factor=0.5,
src/dust3r/datasets/utils/cropping.py:101
↓ 1 callersFunctioncat_meshes
(meshes)
src/dust3r/viz.py:101
↓ 1 callersFunctionclean_pointcloud
Method: 1) express all 3d points in each camera coordinate frame 2) if they're in front of a depthmap --> then lower their confidence
cloud_opt/dust3r_opt/base_opt.py:581
↓ 1 callersMethodclean_pointcloud
(self, **kw)
cloud_opt/dust3r_opt/base_opt.py:349
↓ 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)
datasets_preprocess/utils/cropping.py:22
↓ 1 callersMethodcolor_transform
Photometric augmentation
src/croco/stereoflow/augmentor.py:272
↓ 1 callersFunctioncolorize_feature_map_np
Args: x: np.ndarray, [H, W, D]
src/dust3r/viz.py:1077
↓ 1 callersFunctioncolorize_np
turn a grayscale image into a color image :param x: input grayscale, [H, W] :param cmap_name: the colorization method :param mask: th
viser_utils.py:232
↓ 1 callersFunctioncolorize_np
turn a grayscale image into a color image :param x: input grayscale, [H, W] :param cmap_name: the colorization method :param mask: th
eval/video_depth/utils.py:144
↓ 1 callersFunctioncolorize_np
turn a grayscale image into a color image :param x: input grayscale, [H, W] :param cmap_name: the colorization method :param mask: th
eval/relpose/utils.py:219
↓ 1 callersFunctioncolorize_np
turn a grayscale image into a color image :param x: input grayscale, [H, W] :param cmap_name: the colorization method :param mask: th
src/dust3r/viz.py:505
↓ 1 callersFunctioncompletion
(gt_points, rec_points, gt_normals=None, rec_normals=None)
eval/mv_recon/utils.py:29
↓ 1 callersFunctioncompute_edge_scores
edges: 'i_j', (i,j)
cloud_opt/init_all.py:12
↓ 1 callersFunctioncompute_edge_scores
(edges, conf_i, conf_j)
cloud_opt/dust3r_opt/commons.py:24
↓ 1 callersMethodcompute_frame_loss
(self, gts, preds, **kw)
eval/mv_recon/criterion.py:328
↓ 1 callersMethodcompute_global_alignment
(self, init=None, niter_PnP=10, **kw)
cloud_opt/base_opt.py:165
↓ 1 callersMethodcompute_loss
(self, *args, **kwargs)
eval/mv_recon/criterion.py:47
↓ 1 callersMethodcompute_loss
(self, *args, **kwargs)
src/dust3r/losses.py:115
↓ 1 callersFunctioncompute_pointmap
Compute a HxWx3 pointmap in camera frame from a HxW depth map.
src/croco/datasets/habitat_sim/multiview_habitat_sim_generator.py:32
↓ 1 callersFunctioncompute_pose
Compute the 4x4 pose matrix by inverting the 3x4 extrinsic matrix (plus a row [0, 0, 0, 1]). Args: extrinsics_array (np.ndarray): A
datasets_preprocess/preprocess_re10k.py:49
↓ 1 callersFunctionconvert_ndc_to_pinhole
(focal_length, principal_point, image_size)
datasets_preprocess/preprocess_co3d.py:121
↓ 1 callersFunctionconvert_ndc_to_pinhole
Convert normalized device coordinates to a pinhole camera intrinsic matrix.
datasets_preprocess/preprocess_cop3d.py:69
↓ 1 callersFunctionconvert_rotation_to_opencv
(R_unreal)
datasets_preprocess/preprocess_bedlam.py:126
↓ 1 callersFunctionconvert_scene_metadata
( scene_subdir, intrinsics_dir, timestamps, quaternions, poses, poses_cam_to_world,
datasets_preprocess/preprocess_arkitscenes_highres.py:272
↓ 1 callersFunctionconvert_scene_metadata
( scene_subdir, intrinsics_dir, timestamps, quaternions, poses, poses_cam_to_world,
datasets_preprocess/preprocess_arkitscenes.py:326
↓ 1 callersFunctionconvert_translation_to_opencv
(x, y, z)
datasets_preprocess/preprocess_bedlam.py:89
↓ 1 callersFunctioncosine_schedule
(t, lr_start, lr_end)
cloud_opt/utils.py:419
↓ 1 callersFunctioncosine_schedule
(t, lr_start, lr_end)
cloud_opt/dust3r_opt/commons.py:95
↓ 1 callersFunctioncreate_commandline
Create a commandline string to generate a scene.
src/croco/datasets/habitat_sim/generate_multiview_images.py:160
↓ 1 callersFunctioncreate_dpt_head
return PixelwiseTaskWithDPT for given net params
src/dust3r/heads/dpt_head.py:114
↓ 1 callersFunctioncroco_args_from_ckpt
(ckpt)
src/croco/models/croco_downstream.py:13
↓ 1 callersMethodcrop
(self, *args, **kwargs)
datasets_preprocess/utils/cropping.py:75
↓ 1 callersMethodcrop
(self, *args, **kwargs)
eval/mv_recon/dataset_utils/cropping.py:52
↓ 1 callersFunctioncrop_generator
()
src/croco/stereoflow/engine.py:288
↓ 1 callersFunctioncycled_linear_schedule
(t, lr_start, lr_end, num_cycles=2)
cloud_opt/utils.py:429
↓ 1 callersFunctiondepth_read_bonn
(filename)
eval/monodepth/eval_metrics.py:39
↓ 1 callersFunctiondepth_read_kitti
(filename)
eval/monodepth/eval_metrics.py:50
↓ 1 callersFunctiondepth_read_sintel
Read depth data from file, return as numpy array.
eval/monodepth/eval_metrics.py:18
↓ 1 callersMethoddepth_to_pts3d
(self)
cloud_opt/dust3r_opt/base_opt.py:290
↓ 1 callersMethoddepth_to_pts3d
(self)
cloud_opt/dust3r_opt/optimizer.py:213
↓ 1 callersFunctiondepthmap_to_camera_coordinates
Args: - depthmap (HxW array): - camera_intrinsics: a 3x3 matrix Returns: pointmap of absolute coordinates (HxWx3 arra
src/dust3r/utils/geometry.py:177
↓ 1 callersFunctiondict_to_sparse_graph
(dic)
cloud_opt/init_all.py:22
↓ 1 callersFunctiondict_to_sparse_graph
(dic)
cloud_opt/dust3r_opt/init_im_poses.py:256
↓ 1 callersFunctiondisp_to_tensor
(disp)
src/croco/stereoflow/datasets_stereo.py:51
↓ 1 callersMethoddistance
(self, a, b)
eval/mv_recon/criterion.py:113
↓ 1 callersMethoddistance
(self, a, b)
src/dust3r/losses.py:61
↓ 1 callersMethoddistance
(self, pred, gt, mask)
src/dust3r/losses.py:251
↓ 1 callersMethoddistance
(self, pred, gt, mask)
src/dust3r/losses.py:275
↓ 1 callersFunctiondnames_to_image_pairs
dnames: list of datasets with image pairs, separated by +
src/croco/datasets/pairs_dataset.py:90
↓ 1 callersFunctiondrawMatches
(img1, img2, kp1, kp2, radius=2, mask=None, color_by=0, row_cat=False)
src/dust3r/viz.py:662
↓ 1 callersFunctiondrawMatches_lines
( img1, img2, kp1, kp2, radius=2, mask=None, color_by=0, row_cat=False )
src/dust3r/viz.py:738
↓ 1 callersFunctiondrop_path
Drop paths (Stochastic Depth) per sample (when applied in main path of residual blocks).
src/dust3r/blocks.py:28
↓ 1 callersFunctiondrop_path
Drop paths (Stochastic Depth) per sample (when applied in main path of residual blocks).
src/croco/models/blocks.py:37
↓ 1 callersFunctionedge_conf
(conf_i, conf_j)
cloud_opt/utils.py:88
↓ 1 callersFunctionedge_conf
(conf_i, conf_j, edge)
cloud_opt/commons.py:20
↓ 1 callersFunctionedge_conf
(conf_i, conf_j, edge)
cloud_opt/dust3r_opt/commons.py:20
↓ 1 callersFunctionedge_str
(i, j)
cloud_opt/commons.py:12
↓ 1 callersMethodencode_image_pairs
run encoder for a pair of images it is actually ~5% faster to concatenate the images along the batch dimension than to encode them se
src/croco/models/croco_downstream.py:101
↓ 1 callersFunctionestimate_focal_knowing_depth
Reprojection method, for when the absolute depth is known: 1) estimate the camera focal using a robust estimator 2) reproject points onto true
cloud_opt/utils.py:177
↓ 1 callersFunctioneval_metrics
(pred_traj, gt_traj=None, seq="", filename="", sample_stride=1)
eval/relpose/evo_utils.py:163
↓ 1 callersFunctioneval_mono_depth
(args, model, device, filelist, save_dir=None)
eval/monodepth/launch.py:62
↓ 1 callersFunctioneval_mono_depth_estimation
(args, model, device)
eval/monodepth/launch.py:42
↓ 1 callersFunctioneval_pose_estimation
(args, model, save_dir=None)
eval/video_depth/launch.py:67
↓ 1 callersFunctioneval_pose_estimation
(args, model, save_dir=None)
eval/relpose/launch.py:73
↓ 1 callersFunctioneval_pose_estimation_dist
(args, model, img_path, save_dir=None, mask_path=None)
eval/video_depth/launch.py:78
↓ 1 callersFunctioneval_pose_estimation_dist
(args, model, img_path, save_dir=None, mask_path=None)
eval/relpose/launch.py:84
↓ 1 callersFunctionexr2hdr
Read an OpenEXR file and return an HDR image as a NumPy array.
datasets_preprocess/preprocess_irs.py:34
↓ 1 callersFunctionextract_correspondences_from_pts3d
( view1, view2, target_n_corres, rng=np.random, ret_xy=True, nneg=0 )
src/dust3r/datasets/utils/corr.py:55
↓ 1 callersFunctionextract_frames
(db_root, output_dir, workers=8)
datasets_preprocess/preprocess_waymo.py:78
↓ 1 callersFunctionextract_frames_one_seq
(filename)
datasets_preprocess/preprocess_waymo.py:110
↓ 1 callersFunctionextract_metrics
(file_path)
eval/relpose/evo_utils.py:375
↓ 1 callersFunctionfast_pnp
(pts3d, focal, msk, device, pp=None, niter_PnP=10)
cloud_opt/utils.py:349
↓ 1 callersFunctionfill_default_args
(kwargs, func)
src/dust3r/utils/misc.py:10
↓ 1 callersMethodfinalize_submission
(self, outdir)
src/croco/stereoflow/datasets_flow.py:522
↓ 1 callersFunctionfind_scene_orientation
(poses_cam_to_world)
datasets_preprocess/preprocess_arkitscenes_highres.py:344
↓ 1 callersFunctionfind_scene_orientation
(poses_cam_to_world)
datasets_preprocess/preprocess_arkitscenes.py:380
↓ 1 callersFunctionflowMaxNorm
flow_utils.flowMaxNorm(flow): return the maximum of the l2-norm of the given flow ---- PARAMETERS ---- flow: the flow ---- OUTPU
src/croco/stereoflow/datasets_flow.py:839
↓ 1 callersFunctionflowToColor
flow_utils.flowToColor(flow): return a color code flow field, normalized based on the maximum l2-norm of the flow flow_utils.flowToColor(flow
src/croco/stereoflow/datasets_flow.py:808
↓ 1 callersFunctionflow_to_tensor
(disp)
src/croco/stereoflow/datasets_flow.py:36
↓ 1 callersFunctionforward_backward_permutations
(n, interval=1)
demo_ga.py:36
↓ 1 callersMethodforward_recurrent
(self, views, device, ret_state=False)
src/dust3r/model.py:963
↓ 1 callersFunctionfov_to_intrinsic_matrix
Converts field of view (FOV) in degrees to a camera intrinsic matrix. Args: width (int): Image width in pixels. height (int)
datasets_preprocess/preprocess_3dkb.py:31
↓ 1 callersFunctionfreeze_all_params
(modules)
src/dust3r/utils/misc.py:23
↓ 1 callersFunctiongen_mask_indicator
(img_mask_list, ray_mask_list, num_views, h, w)
src/train.py:652
↓ 1 callersFunctiongenerate_multiview_images_for_scene
Generate tuples of overlapping views for a given scene. generate_depth: generate depth images and camera parameters.
src/croco/datasets/habitat_sim/generate_multiview_images.py:20
↓ 1 callersFunctiongenerate_multiview_images_from_metadata
Generate images from a metadata file for reproducibility purposes.
src/croco/datasets/habitat_sim/generate_from_metadata.py:20
↓ 1 callersMethodgenerate_sequence
( self, scene, adj_list, num_views, start_index, rng, allow_repeat=False )
src/dust3r/datasets/blendedmvs.py:194
↓ 1 callersFunctionget_2d_sincos_pos_embed_from_grid
(embed_dim, grid)
src/croco/models/pos_embed.py:42
↓ 1 callersFunctionget_args_parser
()
eval/video_depth/eval_depth.py:16
↓ 1 callersFunctionget_args_parser
()
eval/video_depth/launch.py:20
↓ 1 callersFunctionget_args_parser
()
eval/monodepth/launch.py:19
↓ 1 callersFunctionget_args_parser
()
eval/monodepth/eval_metrics.py:77
↓ 1 callersFunctionget_args_parser
()
eval/relpose/launch.py:21
↓ 1 callersFunctionget_args_parser
()
eval/mv_recon/launch.py:19
↓ 1 callersFunctionget_args_parser
()
src/croco/pretrain.py:37
↓ 1 callersFunctionget_args_parser
()
src/croco/stereoflow/train.py:40
↓ 1 callersFunctionget_args_parser
()
src/croco/stereoflow/test.py:31
↓ 1 callersFunctionget_cam_int
(fl, sens_w, sens_h, cx, cy)
datasets_preprocess/preprocess_bedlam.py:46
← previousnext →401–500 of 1,487, ranked by callers