Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JingwenWang95/neural_slam_eval
/ functions
Functions
75 in github.com/JingwenWang95/neural_slam_eval
⨍
Functions
75
◇
Types & classes
8
↓ 7 callers
Function
get_camera_rays
Get ray origins, directions from a pinhole camera.
datasets/utils.py:26
↓ 6 callers
Method
__init__
(self, cfg, basedir, trainskip=1, downsample_factor=1, translation=0.0, sc_f
datasets/dataset.py:488
↓ 3 callers
Function
normalize
(x)
eval_recon.py:18
↓ 3 callers
Method
parse_list
read list data
datasets/dataset.py:664
↓ 2 callers
Function
accuracy
(gt_points, rec_points)
eval_recon.py:38
↓ 2 callers
Function
completion
(gt_points, rec_points)
eval_recon.py:45
↓ 2 callers
Function
completion_ratio
(gt_points, rec_points, dist_th=0.05)
eval_recon.py:31
↓ 2 callers
Function
draw_cuboid
(bound, color=[0, 1, 0])
datasets/vis_cameras.py:29
↓ 2 callers
Function
get_align_transformation
Get the transformation matrix to align the reconstructed mesh to the ground truth mesh.
eval_recon.py:52
↓ 2 callers
Function
get_dataset
Get the dataset class from the config file.
datasets/dataset.py:12
↓ 2 callers
Method
load_poses
(self, path)
datasets/dataset.py:579
↓ 2 callers
Function
render_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 callers
Function
align
(mesh_dir)
datasets/process_realsense.py:30
↓ 1 callers
Function
apply_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 callers
Function
as_intrinsics_matrix
Get matrix representation of intrinsics.
datasets/utils.py:6
↓ 1 callers
Method
associate_frames
pair images, depths, and poses
datasets/dataset.py:645
↓ 1 callers
Function
calc_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 callers
Function
calc_3d_metric
3D reconstruction metric.
eval_recon.py:124
↓ 1 callers
Function
check_proj
Check if points can be projected into the camera view.
eval_recon.py:73
↓ 1 callers
Function
cull_by_bounds
:param points: :param scene_bounds: :param eps: :return:
cull_mesh.py:92
↓ 1 callers
Function
cull_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 callers
Function
cull_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 callers
Function
draw_camera
:param extrinsic: c2w tranformation :return:
datasets/vis_cameras.py:60
↓ 1 callers
Function
fit_plane
(mesh_dir)
datasets/process_realsense.py:41
↓ 1 callers
Function
get_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 callers
Method
get_frame_ids
(self)
datasets/dataset.py:520
↓ 1 callers
Function
load_cam_intrinsics_from_cfg
(cfg)
cull_mesh.py:40
↓ 1 callers
Function
load_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 callers
Method
load_poses
Load poses from odometry.csv
datasets/dataset.py:158
↓ 1 callers
Method
load_poses
(self, path)
datasets/dataset.py:254
↓ 1 callers
Method
load_poses
(self, path)
datasets/dataset.py:353
↓ 1 callers
Method
load_poses
(self, path)
datasets/dataset.py:452
↓ 1 callers
Method
load_poses
(self)
datasets/dataset.py:867
↓ 1 callers
Function
load_virt_cam_poses
(path)
cull_mesh.py:17
↓ 1 callers
Method
loadtum
read video data in tum-rgbd format
datasets/dataset.py:670
↓ 1 callers
Method
pose_matrix_from_quaternion
convert 4x4 pose matrix to (t, q)
datasets/dataset.py:636
↓ 1 callers
Method
process_video
Extract frames from video
datasets/dataset.py:168
↓ 1 callers
Method
qTomatrix
quaternion to matrix
datasets/dataset.py:144
↓ 1 callers
Function
render_depth_maps_doublesided
(mesh, poses, K, H, W, near=0.01, far=10.0)
cull_mesh.py:77
↓ 1 callers
Function
run_tsdf_fusion
(cfg, save_path)
create_virtual_cameras_replica.py:35
↓ 1 callers
Function
update_recursive
Update two config dictionaries recursively. Args: dict1 (dict): first dictionary to be updated. dict2 (dict): second dictiona
config.py:36
↓ 1 callers
Function
viewmatrix
(z, up, pos)
eval_recon.py:22
↓ 1 callers
Function
vis_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
Function
align_mesh
(scene_dir)
datasets/process_realsense.py:63
Function
alphanum_key
Turn a string into a list of string and number chunks. "z23a" -> ["z", 23, "a"]
datasets/utils.py:19
Function
calc_3d_mesh_metric
3D reconstruction metric.
eval_recon.py:102
Function
draw_irregular_bound
(points, color=[0, 1, 0])
datasets/vis_cameras.py:46
Function
draw_zero_centred_cuboid
(dims, color=[0, 1, 0])
datasets/vis_cameras.py:21
Function
inverse_homogeneoux_matrix
(M)
datasets/vis_cameras.py:11
Function
refresh
(vis)
create_virtual_cameras_replica.py:12
Function
save_c2w
(vis)
create_virtual_cameras_replica.py:21
Function
visualize
(extrinsics=None, things_to_draw=[])
datasets/vis_cameras.py:87