MCPcopy Create free account

hub / github.com/JingwenWang95/neural_slam_eval / functions

Functions75 in github.com/JingwenWang95/neural_slam_eval

↓ 7 callersFunctionget_camera_rays
Get ray origins, directions from a pinhole camera.
datasets/utils.py:26
↓ 6 callersMethod__init__
(self, cfg, basedir, trainskip=1, downsample_factor=1, translation=0.0, sc_f
datasets/dataset.py:488
↓ 3 callersFunctionnormalize
(x)
eval_recon.py:18
↓ 3 callersMethodparse_list
read list data
datasets/dataset.py:664
↓ 2 callersFunctionaccuracy
(gt_points, rec_points)
eval_recon.py:38
↓ 2 callersFunctioncompletion
(gt_points, rec_points)
eval_recon.py:45
↓ 2 callersFunctioncompletion_ratio
(gt_points, rec_points, dist_th=0.05)
eval_recon.py:31
↓ 2 callersFunctiondraw_cuboid
(bound, color=[0, 1, 0])
datasets/vis_cameras.py:29
↓ 2 callersFunctionget_align_transformation
Get the transformation matrix to align the reconstructed mesh to the ground truth mesh.
eval_recon.py:52
↓ 2 callersFunctionget_dataset
Get the dataset class from the config file.
datasets/dataset.py:12
↓ 2 callersMethodload_poses
(self, path)
datasets/dataset.py:579
↓ 2 callersFunctionrender_depth_maps
:param mesh: Mesh to be rendered :param poses: list of camera poses (c2w under OpenGL convention) :param K: camera intrinsics [3, 3]
cull_mesh.py:48
↓ 1 callersFunctionalign
(mesh_dir)
datasets/process_realsense.py:30
↓ 1 callersFunctionapply_culling_strategy
:param points: :param poses: :param K: :param H: :param W: :param rendered_depth_list: :param remove_occlusion: :para
cull_mesh.py:141
↓ 1 callersFunctionas_intrinsics_matrix
Get matrix representation of intrinsics.
datasets/utils.py:6
↓ 1 callersMethodassociate_frames
pair images, depths, and poses
datasets/dataset.py:645
↓ 1 callersFunctioncalc_2d_metric
2D reconstruction metric, depth L1 loss. modified from NICE-SLAM :param rec_meshfile: path to culled reconstructed mesh .ply :param gt_me
eval_recon.py:174
↓ 1 callersFunctioncalc_3d_metric
3D reconstruction metric.
eval_recon.py:124
↓ 1 callersFunctioncheck_proj
Check if points can be projected into the camera view.
eval_recon.py:73
↓ 1 callersFunctioncull_by_bounds
:param points: :param scene_bounds: :param eps: :return:
cull_mesh.py:92
↓ 1 callersFunctioncull_from_one_pose
:param points: mesh vertices [V, 3] np array :param pose: c2w under OpenGL convention (right-up-back) [3, 3] np array :param K: camera in
cull_mesh.py:103
↓ 1 callersFunctioncull_one_mesh
:param cfg: :param c2w_list: list of camera poses (c2w under OpenGL) :param mesh_path: :param save_path: :param save_unseen: save
cull_mesh.py:178
↓ 1 callersFunctiondraw_camera
:param extrinsic: c2w tranformation :return:
datasets/vis_cameras.py:60
↓ 1 callersFunctionfit_plane
(mesh_dir)
datasets/process_realsense.py:41
↓ 1 callersFunctionget_cam_position
(gt_meshfile, sx=0.3, sy=0.6, sz=0.6, dx=0.0, dy=0.0, dz=0.0)
eval_recon.py:159
↓ 1 callersMethodget_frame_ids
(self)
datasets/dataset.py:520
↓ 1 callersFunctionload_cam_intrinsics_from_cfg
(cfg)
cull_mesh.py:40
↓ 1 callersFunctionload_config
Loads config file. Args: path (str): path to config file. default_path (str, optional): whether to use default path. Defaults
config.py:4
↓ 1 callersMethodload_poses
Load poses from odometry.csv
datasets/dataset.py:158
↓ 1 callersMethodload_poses
(self, path)
datasets/dataset.py:254
↓ 1 callersMethodload_poses
(self, path)
datasets/dataset.py:353
↓ 1 callersMethodload_poses
(self, path)
datasets/dataset.py:452
↓ 1 callersMethodload_poses
(self)
datasets/dataset.py:867
↓ 1 callersFunctionload_virt_cam_poses
(path)
cull_mesh.py:17
↓ 1 callersMethodloadtum
read video data in tum-rgbd format
datasets/dataset.py:670
↓ 1 callersMethodpose_matrix_from_quaternion
convert 4x4 pose matrix to (t, q)
datasets/dataset.py:636
↓ 1 callersMethodprocess_video
Extract frames from video
datasets/dataset.py:168
↓ 1 callersMethodqTomatrix
quaternion to matrix
datasets/dataset.py:144
↓ 1 callersFunctionrender_depth_maps_doublesided
(mesh, poses, K, H, W, near=0.01, far=10.0)
cull_mesh.py:77
↓ 1 callersFunctionrun_tsdf_fusion
(cfg, save_path)
create_virtual_cameras_replica.py:35
↓ 1 callersFunctionupdate_recursive
Update two config dictionaries recursively. Args: dict1 (dict): first dictionary to be updated. dict2 (dict): second dictiona
config.py:36
↓ 1 callersFunctionviewmatrix
(z, up, pos)
eval_recon.py:22
↓ 1 callersFunctionvis_mesh
(scene_dir)
datasets/process_realsense.py:6
Method__getitem__
(self, index)
datasets/dataset.py:67
Method__getitem__
(self, index)
datasets/dataset.py:103
Method__getitem__
(self, index)
datasets/dataset.py:212
Method__getitem__
(self, index)
datasets/dataset.py:304
Method__getitem__
(self, index)
datasets/dataset.py:403
Method__getitem__
(self, index)
datasets/dataset.py:535
Method__getitem__
(self, index)
datasets/dataset.py:720
Method__getitem__
(self, index)
datasets/dataset.py:817
Method__init__
(self, cfg)
datasets/dataset.py:45
Method__init__
(self, cfg, basedir, trainskip=1, downsample_factor=1, translation=0.0, sc_f
datasets/dataset.py:72
Method__init__
(self, cfg, basedir, trainskip=1, downsample_factor=1, translation=0.0, sc_f
datasets/dataset.py:186
Method__init__
(self, cfg, basedir, trainskip=1, downsample_factor=1, translation=0.0, sc_f
datasets/dataset.py:269
Method__init__
(self, cfg, basedir, trainskip=1, downsample_factor=1, translation=0.0, sc_f
datasets/dataset.py:372
Method__init__
(self, cfg, basedir, align=True, trainskip=1, downsample_factor=1, translation=0.0,
datasets/dataset.py:599
Method__init__
(self, cfg, basedir, align=True, trainskip=1, downsample_factor=1, translation=0.0,
datasets/dataset.py:786
Method__len__
(self)
datasets/dataset.py:64
Method__len__
(self)
datasets/dataset.py:100
Method__len__
(self)
datasets/dataset.py:208
Method__len__
(self)
datasets/dataset.py:301
Method__len__
(self)
datasets/dataset.py:400
Method__len__
(self)
datasets/dataset.py:532
Method__len__
(self)
datasets/dataset.py:717
Method__len__
(self)
datasets/dataset.py:814
Functionalign_mesh
(scene_dir)
datasets/process_realsense.py:63
Functionalphanum_key
Turn a string into a list of string and number chunks. "z23a" -> ["z", 23, "a"]
datasets/utils.py:19
Functioncalc_3d_mesh_metric
3D reconstruction metric.
eval_recon.py:102
Functiondraw_irregular_bound
(points, color=[0, 1, 0])
datasets/vis_cameras.py:46
Functiondraw_zero_centred_cuboid
(dims, color=[0, 1, 0])
datasets/vis_cameras.py:21
Functioninverse_homogeneoux_matrix
(M)
datasets/vis_cameras.py:11
Functionrefresh
(vis)
create_virtual_cameras_replica.py:12
Functionsave_c2w
(vis)
create_virtual_cameras_replica.py:21
Functionvisualize
(extrinsics=None, things_to_draw=[])
datasets/vis_cameras.py:87