MCPcopy Create free account

hub / github.com/alexkeroro86/SampleNeRFRO / functions

Functions490 in github.com/alexkeroro86/SampleNeRFRO

↓ 1 callersMethodOpenWrite
sdf/include/sdf/internal/RTree.h:400
↓ 1 callersMethod__init__
(self, split, args, grid, ndim, nmax, nmin, target=None)
rnerf/datasets.py:248
↓ 1 callersMethod__init__
r""" class for ssim Args: win_size: (int, optional): the size of gauss kernel win_sigma: (float, optional): sigma of n
metric/ssim/ssim.py:207
↓ 1 callersMethod_compute_grad
(self)
rnerf/ior_utils.py:165
↓ 1 callersMethod_generate_spherical_poses
Generate a 360 degree spherical path for rendering.
rnerf/datasets.py:710
↓ 1 callersMethod_generate_spiral_poses
Generate a spiral path for rendering.
rnerf/datasets.py:682
↓ 1 callersFunction_indent
(x, num_spaces)
rnerf/utils.py:305
↓ 1 callersMethod_linear3
(self, pts)
rnerf/ior_utils.py:188
↓ 1 callersMethod_linear3
(self, data, pts)
rnerf/datasets.py:278
↓ 1 callersFunction_poses_avg
Average poses according to the original NeRF code.
calib/vis_camera_pose_with_llff.py:33
↓ 1 callersFunction_recenter_poses
Recenter poses according to the original NeRF code.
calib/vis_camera_pose_with_llff.py:15
↓ 1 callersMethod_recenter_poses
Recenter poses according to the original NeRF code.
rnerf/datasets.py:647
↓ 1 callersMethod_test_init
(self, args)
rnerf/datasets.py:147
↓ 1 callersMethod_train_init
Initialize training.
rnerf/datasets.py:129
↓ 1 callersFunction_viewmatrix
Construct lookat view matrix.
calib/vis_camera_pose_with_llff.py:42
↓ 1 callersFunctionblender_to_opencv
(extrinsic)
calib/vis_camera_pose_with_llff.py:112
↓ 1 callersMethodbuild_extension
(self, ext)
sdf/setup_cmake.py:36
↓ 1 callersMethodcalc
sdf/src/sdf.cpp:91
↓ 1 callersMethodcalc_depth
sdf/src/renderer.cpp:115
↓ 1 callersMethodcalc_mask
sdf/src/renderer.cpp:121
↓ 1 callersMethodcalc_vertex
sdf/src/renderer.cpp:127
↓ 1 callersFunctioncompute_exposure_map
Computes the exposure map corresponding to the HDR-FLIP error map :param hdrflip: matrix (with HxW layout) containing per-pixel HDR-FLIP errors :
metric/flip/flip_api.py:596
↓ 1 callersFunctioncompute_exposure_params
Computes start and stop exposure for HDR-FLIP based on given tone mapper and reference image. Refer to the Visualizing Errors in Rendered High Dyna
metric/flip/flip_api.py:503
↓ 1 callersFunctioncompute_flip
[H, W, C], [0, 1]
metric/summary.py:70
↓ 1 callersFunctioncompute_hdrflip
Computes the FLIP error map between two HDR images, assuming the images are observed at a certain number of pixels per degree of visual angle :p
metric/flip/flip_api.py:624
↓ 1 callersFunctioncompute_lpips
[B, C, H, W], [0, 1]
metric/summary.py:63
↓ 1 callersMethodcompute_normal_loss_and_smooth
(self, ray_pos, idx_grad, annealed_alpha)
rnerf/eikonal_utils.py:84
↓ 1 callersFunctioncompute_psnr
[B, C, H, W], [0, 1]
metric/summary.py:49
↓ 1 callersFunctioncompute_ssim
[B, C, H, W], [0, 1]
metric/summary.py:56
↓ 1 callersFunctioncontain
Args: - x: np.ndarray, [B, 3] Returns: np.ndarray, [B, 1]
voxelize_mesh.py:57
↓ 1 callersFunctionconvert_to_ndc
Convert a set of rays to NDC coordinates.
rnerf/datasets.py:38
↓ 1 callersFunctioncosine_easing_window
Eases in each frequency one by one with a cosine. This is equivalent to taking a Tukey window and sliding it to the right along the frequency spec
rnerf/model_utils.py:218
↓ 1 callersFunctioncpp_flag
Return the -std=c++[11/14/17] compiler flag. The newer version is prefered over c++11 (when it is available).
sdf/setup.py:136
↓ 1 callersFunctioncreate_charuco_board
()
calib/calib_camera_with_charuco.py:33
↓ 1 callersFunctioncreate_init_bounding_box
(trans_mats)
calib/make_visual_hull.py:68
↓ 1 callersFunctiondepth_to_normals
Assuming `depth` is orthographic, linearize it to a set of normals.
rnerf/vis.py:34
↓ 1 callersFunctiondetect_charuco_board_and_calibrate_camera
()
calib/calib_camera_with_charuco.py:37
↓ 1 callersFunctiondownsample
(imgs, f)
calib/llff/poses/pose_utils.py:106
↓ 1 callersFunctionexpected_sin
Estimates mean and variance of sin(z), z ~ N(x, var).
rnerf/mip.py:26
↓ 1 callersFunctionexport_video
()
metric/export.py:23
↓ 1 callersFunctionfind_eigen
Helper to find or download the Eigen C++ library
sdf/setup.py:20
↓ 1 callersMethodfree_all
Frees all allocated memory chunks */
sdf/include/sdf/internal/nanoflann.hpp:634
↓ 1 callersFunctiongen_poses
(basedir, match_type, factors=None)
calib/llff/poses/pose_utils.py:259
↓ 1 callersFunctionget_img_from_fig
(fig, dpi=180)
rnerf/plt_utils.py:11
↓ 1 callersFunctionget_img_from_fig
(fig, dpi=180)
metric/export.py:137
↓ 1 callersFunctionget_viridis_map
Return the viridis map, described here: https://bids.github.io/colormap/ :return: matrix of size 256x3 where each row contains a color in the vird
metric/flip/data.py:408
↓ 1 callersFunctionimread
(f)
calib/llff/poses/pose_utils.py:243
↓ 1 callersFunctionload_colmap_data
(realdir)
calib/llff/poses/pose_utils.py:11
↓ 1 callersFunctionmain
()
metric/summary.py:82
↓ 1 callersFunctionmain
()
metric/crop.py:8
↓ 1 callersFunctionmain
()
metric/reference.py:7
↓ 1 callersFunctionmain
()
metric/render_mask.py:12
↓ 1 callersFunctionmain
()
metric/compare.py:123
↓ 1 callersFunctionmain
()
calib/make_visual_hull.py:76
↓ 1 callersFunctionmain
()
calib/vis_camera_pose_with_opencv.py:70
↓ 1 callersFunctionmain
()
calib/calib_camera_with_apriltag.py:40
↓ 1 callersFunctionmain
()
calib/vis_camera_pose_with_llff.py:142
↓ 1 callersFunctionmain
()
calib/reproject.py:37
↓ 1 callersFunctionmain
()
calib/llff/poses/colmap_read_model.py:299
↓ 1 callersMethodmalloc
* Returns a pointer to a piece of new memory of the given size in bytes * allocated from the pool. */
sdf/include/sdf/internal/nanoflann.hpp:648
↓ 1 callersFunctionms_ssim
r""" interface of ms-ssim Args: X (torch.Tensor): a batch of images, (N,C,H,W) Y (torch.Tensor): a batch of images, (N,C,H,W)
metric/ssim/ssim.py:139
↓ 1 callersFunctionoverlapping_weighted_flip_histogram
Compute overlapping weighted FLIP histogram of two error maps :param flip_error_map_array: matrix array (with HxWx2 layout) containing per-pixel F
metric/flip/flip.py:262
↓ 1 callersFunctionpretty_dict
(x)
rnerf/utils.py:316
↓ 1 callersFunctionprint_initialization_information
Prints information about the metric invoked by FLIP :param pixels_per_degree: float indicating number of pixels per degree of visual angle :param
metric/flip/flip.py:89
↓ 1 callersFunctionprint_pooled_values
Prints pooled values of the FLIP error map :param error_map: matrix (with HxW layout) containing per-pixel FLIP values in the [0,1] range :param
metric/flip/flip.py:116
↓ 1 callersFunctionproject_2d
Args - pts: np.ndarray, [H, W, D, 4] - cam_mat: np.ndarray, [4, 4] - view_mat: np.ndarray, [4, 4] Returns: - uv: np.ndarray, [H,
calib/reproject.py:21
↓ 1 callersFunctionput_text
(img, text, font_color=(0, 0, 0))
metric/compare.py:17
↓ 1 callersFunctionqvec2rotmat
(qvec)
calib/llff/poses/colmap_read_model.py:272
↓ 1 callersMethodqvec2rotmat
(self)
calib/llff/poses/colmap_read_model.py:49
↓ 1 callersFunctionread_cameras_binary
see: src/base/reconstruction.cc void Reconstruction::WriteCamerasBinary(const std::string& path) void Reconstruction::ReadCameras
calib/llff/poses/colmap_read_model.py:108
↓ 1 callersFunctionread_cameras_text
see: src/base/reconstruction.cc void Reconstruction::WriteCamerasText(const std::string& path) void Reconstruction::ReadCamerasTe
calib/llff/poses/colmap_read_model.py:82
↓ 1 callersFunctionread_images_binary
see: src/base/reconstruction.cc void Reconstruction::ReadImagesBinary(const std::string& path) void Reconstruction::WriteImagesBi
calib/llff/poses/colmap_read_model.py:168
↓ 1 callersFunctionread_images_text
see: src/base/reconstruction.cc void Reconstruction::ReadImagesText(const std::string& path) void Reconstruction::WriteImagesText
calib/llff/poses/colmap_read_model.py:137
↓ 1 callersFunctionread_model
(path, ext)
calib/llff/poses/colmap_read_model.py:260
↓ 1 callersFunctionread_points3D_text
see: src/base/reconstruction.cc void Reconstruction::ReadPoints3DText(const std::string& path) void Reconstruction::WritePoints3D
calib/llff/poses/colmap_read_model.py:203
↓ 1 callersFunctionread_points3d_binary
see: src/base/reconstruction.cc void Reconstruction::ReadPoints3DBinary(const std::string& path) void Reconstruction::WritePoints
calib/llff/poses/colmap_read_model.py:230
↓ 1 callersFunctionredistribute_errors
Redistributes exponentiated HyAB errors to the [0,1] range :param power_deltaE_hyab: float containing the exponentiated HyAb distance :param cmax
metric/flip/flip_api.py:379
↓ 1 callersFunctionrender_fn
(variables, key_0, key_1, rays)
eval.py:95
↓ 1 callersFunctionrun_colmap
(basedir, match_type)
calib/llff/poses/colmap_wrapper.py:23
↓ 1 callersFunctionsafe_l2_norm
jnp.norm output nan gradient if 0
rnerf/math_utils.py:10
↓ 1 callersMethodsample_surface
sdf/src/sdf.cpp:386
↓ 1 callersFunctionsave_img
(fpath, img)
metric/summary.py:40
↓ 1 callersFunctionsave_poses
(basedir, poses, pts3d, perm)
calib/llff/poses/pose_utils.py:56
↓ 1 callersFunctionset_pixels_per_degree
Determine the observer's number of pixels per degree of visual angle based on input arguments :param args: set of command line arguments (see main
metric/flip/flip.py:335
↓ 1 callersFunctionset_start_stop_num_exposures
(reference, start_exp=None, stop_exp=None, num_exposures=None, tone_mapper="aces")
metric/flip/flip.py:351
↓ 1 callersFunctionshard
Split data into shards for multiple devices along the first dimension.
rnerf/utils.py:531
↓ 1 callersFunctionsorted_find_nearest
(xi, x, y)
rnerf/model_utils.py:415
↓ 1 callersFunctionsorted_piecewise_constant_pdf
Piecewise-Constant PDF sampling from sorted bins. Args: key: jnp.ndarray(float32), [2,], random number generator. bins: jnp.ndarray(float32
rnerf/model_utils.py:312
↓ 1 callersFunctionsquare_to_hemisphere
Args: - exp: float, 0 for cosine, 1 for uniform distribution
rnerf/rl_utils.py:84
↓ 1 callersFunctionssim
r""" interface of ssim Args: X (torch.Tensor): a batch of images, (N,C,H,W) Y (torch.Tensor): a batch of images, (N,C,H,W)
metric/ssim/ssim.py:89
↓ 1 callersFunctionto_basis
(trans, quat, scale=10)
calib/vis_camera_pose_with_opencv.py:53
↓ 1 callersFunctionto_basis
(trans, quat, scale=10)
calib/vis_camera_pose_with_llff.py:101
↓ 1 callersFunctionto_frustum
(trans, quat, scale=10)
calib/vis_camera_pose_with_opencv.py:36
↓ 1 callersFunctionto_frustum
(trans, quat, scale=10)
calib/vis_camera_pose_with_llff.py:84
↓ 1 callersFunctionto_trans_quat
calib/vis_camera_pose_with_opencv.py:29
↓ 1 callersFunctionto_transform_matrix
(extrinsic)
calib/vis_camera_pose_with_llff.py:69
↓ 1 callersFunctionto_view_matrix
Args: - rvec: np.ndarray, [3, 1] - tvec: np.ndarray, [3, 1] Returns: - mat: np.ndarray, [4, 4]
calib/vis_camera_pose_with_opencv.py:15
↓ 1 callersFunctionto_view_matrix
Args: - mat: np.ndarray, [4, 4] Returns: - ret: np.ndarray, [4, 4]
calib/reproject.py:9
↓ 1 callersFunctionunshard
Collect the sharded tensor to the shape before sharding.
rnerf/utils.py:542
↓ 1 callersMethodupdate
(self, td_error)
rnerf/rl_utils.py:81
← previousnext →101–200 of 490, ranked by callers