MCPcopy Create free account

hub / github.com/alexkeroro86/SampleNeRFRO / functions

Functions490 in github.com/alexkeroro86/SampleNeRFRO

Method_next_train
(self)
rnerf/datasets.py:270
Method_nn3
(self, pts)
rnerf/ior_utils.py:174
Method_raycast
sdf/src/renderer.cpp:153
Method_raycast
Raycast to check if point is in or on surface of mesh. Returns 1 if in, -1 else. Only to be used in robust mode
sdf/src/sdf.cpp:270
Method_render_image
sdf/src/renderer.cpp:172
Method_test_init
(self, args)
rnerf/datasets.py:324
Method_train_init
(self, args)
rnerf/datasets.py:267
Method_vertex_face_handler
sdf/src/renderer.cpp:77
Methodaccum_dist
sdf/include/sdf/internal/nanoflann.hpp:411
Methodaccum_dist
sdf/include/sdf/internal/nanoflann.hpp:443
Methodaccum_dist
sdf/include/sdf/internal/nanoflann.hpp:471
Methodaccum_dist
sdf/include/sdf/internal/nanoflann.hpp:504
Methodadd
(self, experience, experience_size)
rnerf/rl_utils.py:28
MethodaddPoint
* Called during search to add an element matching the criteria. * @return true if the search should be continued, false if the results are * suf
sdf/include/sdf/internal/nanoflann.hpp:249
MethodaddPoints
Add points to the set, Inserts all points from [start, end] */
sdf/include/sdf/internal/nanoflann.hpp:1882
Functionadd_gaussian_noise
Adds gaussian noise to `raw`, which can used to regularize it. Args: key: jnp.ndarray(float32), [2,], random number generator. raw: jnp.nda
rnerf/model_utils.py:438
Methodallocate
sdf/include/sdf/internal/nanoflann.hpp:578
Methodallocate
sdf/include/sdf/internal/nanoflann.hpp:702
Functionannealed_dir_enc
(data_in, sh_degree, alpha)
rnerf/sh.py:210
Functionannealed_pos_enc
(x, min_deg, max_deg, alpha, amp=1.0)
rnerf/model_utils.py:236
Functionbary
Find barycentric coords of p in triangle (a,b,c) in 3D (p does NOT have to be projected to plane beforehand) normal, area_abc to be computed using uti
sdf/include/sdf/sdf.hpp:87
Functionbary2d
sdf/include/sdf/sdf.hpp:129
MethodbuildIndex
* Builds the index */
sdf/include/sdf/internal/nanoflann.hpp:1553
Methodbuild_extensions
(self)
sdf/setup.py:167
Functioncast_rays
Cast rays (cone- or cylinder-shaped) and featurize sections of it. Args: t_vals: float array, the "fencepost" distances along the ray. orig
rnerf/mip.py:116
Functioncast_rays
(z_vals, origins, directions)
rnerf/model_utils.py:143
Functioncheck_larger_than_one
Checks that value is larger than one. If so, return integer version of it, otherwise raises error :param value: float :raise: argparseArgumentTyp
metric/flip/flip.py:395
Methodclosest
Query for the closest points to a given point (entered as query_point[0:dim-1]).
sdf/include/sdf/internal/sdf_util.hpp:68
MethodcomputeBoundingBox
sdf/include/sdf/internal/nanoflann.hpp:1316
MethodcomputeBoundingBox
sdf/include/sdf/internal/nanoflann.hpp:1665
MethodcomputeMinMax
sdf/include/sdf/internal/nanoflann.hpp:836
Functioncompute_action_space
(square_size, shrink=0.0)
rnerf/rl_utils.py:95
Functioncompute_psnr
Compute psnr value given mse (we assume the maximum pixel value is 1). Args: mse: float, mean square error of pixels. Returns: psnr: flo
rnerf/utils.py:392
Methodcompute_sparsity_loss
(self, ray_pos, coarse_alpha_target, fine_alpha_target)
rnerf/models.py:142
Functioncompute_ssim
Computes SSIM from two images. This function was modeled after tf.image.ssim, and should produce comparable output. Args: img0: array. An
rnerf/utils.py:404
Functionconical_frustum_to_gaussian
Approximate a conical frustum as a Gaussian distribution (mean+cov). Assumes the ray is originating from the origin, and base_radius is the radiu
rnerf/mip.py:60
Functionconstruct_nerf
Construct a Neural Radiance Field. Args: key: jnp.ndarray. Random number generator. example_batch: dict, an example of a batch of data.
rnerf/models.py:538
Methodcontains
sdf/src/renderer.cpp:300
Methodcontains
sdf/src/sdf.cpp:156
Functionconv3d_normal
Convolution by 3D Gaussian kernel. Args: - grid: np.ndarray, refractive index, [N_x * N_y * N_z, 1] - ndim: list, the resolution of voxel gr
rnerf/ior_utils.py:327
Functioncreate_apriltag
()
calib/calib_camera_with_apriltag.py:24
Functioncylinder_to_gaussian
Approximate a cylinder as a Gaussian distribution (mean+cov). Assumes the ray is originating from the origin, and radius is the radius. Does not
rnerf/mip.py:94
Methoddefault
(self, obj)
calib/vis_camera_pose_with_opencv.py:65
Methoddefault
(self, obj)
calib/vis_camera_pose_with_llff.py:137
Functiondefine_flags
Define flags for both training and evaluation modes.
rnerf/utils.py:87
Functiondir_enc
https://github.com/NVlabs/tiny-cuda-nn/blob/master/include/tiny-cuda-nn/encodings/spherical_harmonics.h Args: - data_in: jnp.ndarray, viewd
rnerf/sh.py:112
Functiondist_point2line
3D point to line shortest distance SQUARED
sdf/include/sdf/sdf.hpp:54
Functiondist_point2lineseg
sdf/include/sdf/sdf.hpp:64
Functiondist_point2tri
3D point to triangle shortest distance SQUARED normal, area_abc to be computed using util::normal, where normal is normalized vector, area is magnitud
sdf/include/sdf/sdf.hpp:109
MethodevalMetric
sdf/include/sdf/internal/nanoflann.hpp:383
MethodevalMetric
sdf/include/sdf/internal/nanoflann.hpp:432
MethodevalMetric
sdf/include/sdf/internal/nanoflann.hpp:463
MethodevalMetric
sdf/include/sdf/internal/nanoflann.hpp:498
Functioneval_sh
Evaluate spherical harmonics at unit directions using hardcoded SH polynomials. Works with torch/np/jnp. ... Can be 0 or more batch dimension
rnerf/sh.py:55
Functionexport_sample
()
metric/export.py:148
Methodfaces
sdf/src/renderer.cpp:278
Methodfaces_mutable
sdf/src/renderer.cpp:279
Functionfile_exists
(pth)
rnerf/utils.py:285
MethodfindNeighbors
sdf/include/sdf/internal/nanoflann.hpp:1924
Methodforward
(self, X, Y)
metric/ssim/ssim.py:224
Methodforward
(self, X, Y)
metric/ssim/ssim.py:251
Methodforward_envmap
(self, viewdirs)
rnerf/models.py:181
Methodfull
sdf/include/sdf/internal/nanoflann.hpp:242
Functionget_dataset
(split, args)
rnerf/datasets.py:34
Functionget_model
A helper function that wraps around a 'model zoo'.
rnerf/models.py:34
Methodinit
sdf/include/sdf/internal/nanoflann.hpp:237
Methodinit
Creates multiple empty trees to handle dynamic support */
sdf/include/sdf/internal/nanoflann.hpp:1831
Methodinit_vind
Make sure the auxiliary list \a vind has the same size than the current * dataset, and re-generate if size has changed. */
sdf/include/sdf/internal/nanoflann.hpp:1307
Functionintegrated_pos_enc
Encode `x` with sinusoids scaled by 2^[min_deg:max_deg-1]. Args: x_coord: a tuple containing: x, jnp.ndarray, variables to be encoded. Should
rnerf/mip.py:143
Methodinternal_init
sdf/include/sdf/internal/nanoflann.hpp:612
Functionisdir
(pth)
rnerf/utils.py:295
Methodkdtree_distance
Returns the distance between the vector "p1[0:size-1]" and the data point with index "idx_p2" stored in the class:
sdf/include/sdf/internal/sdf_util.hpp:81
Methodkdtree_get_bbox
sdf/include/sdf/internal/sdf_util.hpp:97
Methodkdtree_get_point_count
sdf/include/sdf/internal/sdf_util.hpp:76
Methodkdtree_get_pt
Returns the dim'th component of the idx'th point in the class:
sdf/include/sdf/internal/sdf_util.hpp:91
MethodknnSearch
* Find the "num_closest" nearest neighbors to the \a query_point[0:dim-1]. * Their indices are stored inside the result object. \sa radiusSearch,
sdf/include/sdf/internal/nanoflann.hpp:1252
MethodknnSearch
* Find the "num_closest" nearest neighbors to the \a query_point[0:dim-1]. * Their indices are stored inside the result object. \sa radiusSearch,
sdf/include/sdf/internal/nanoflann.hpp:1612
Functionlearning_rate_decay
Continuous learning rate decay function. The returned rate is lr_init when step=0 and lr_final when step=max_steps, and is log-linearly interpola
rnerf/utils.py:490
Functionlistdir
(pth)
rnerf/utils.py:290
MethodloadIndex
Loads a previous index from a binary file. * IMPORTANT NOTE: The set of data points is NOT stored in the file, so the * index object must be c
sdf/include/sdf/internal/nanoflann.hpp:1424
MethodloadIndex
Loads a previous index from a binary file. * IMPORTANT NOTE: The set of data points is NOT stored in the file, so the * index object must be c
sdf/include/sdf/internal/nanoflann.hpp:1768
Functionload_config
()
rnerf/utils.py:267
Functionload_data
(basedir, factor=None, width=None, height=None, load_imgs=True)
calib/llff/poses/pose_utils.py:196
Methodload_tree
sdf/include/sdf/internal/nanoflann.hpp:1034
Methodload_value
sdf/include/sdf/internal/nanoflann.hpp:291
Functionlocal_axis
Args: - from_here: jnp.ndarray, [square*square, 3] - to_there: jnp.ndarray, [batch, sample, 3] - dataset: string, up vector [0, 0, 1] f
rnerf/rl_utils.py:104
Functionloop_body
(i, val)
rnerf/model_utils.py:422
Functionloss_fn
(variables)
train.py:75
Functionmain
(unused_argv)
eval.py:52
Functionmain
(unused_argv)
train.py:186
Functionmain
(unused_argv)
extract_mesh.py:46
Functionmain
(unused_argv)
voxelize_mesh.py:31
Functionmain
sdf/demo.cpp:41
Functionmakedirs
(pth)
rnerf/utils.py:300
Functionmatmul
jnp.matmul defaults to bfloat16, but this helper function doesn't.
rnerf/math_utils.py:23
MethodmiddleSplit_
sdf/include/sdf/internal/nanoflann.hpp:909
Methodmin_line_dist
(rays_o, rays_d)
rnerf/datasets.py:720
Functionminify_v0
(basedir, factors=[], resolutions=[])
calib/llff/poses/pose_utils.py:93
Methodnn
sdf/src/renderer.cpp:305
Methodnn
sdf/src/sdf.cpp:75
← previousnext →301–400 of 490, ranked by callers