Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alexkeroro86/SampleNeRFRO
/ functions
Functions
490 in github.com/alexkeroro86/SampleNeRFRO
⨍
Functions
490
◇
Types & classes
79
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
Method
accum_dist
sdf/include/sdf/internal/nanoflann.hpp:411
Method
accum_dist
sdf/include/sdf/internal/nanoflann.hpp:443
Method
accum_dist
sdf/include/sdf/internal/nanoflann.hpp:471
Method
accum_dist
sdf/include/sdf/internal/nanoflann.hpp:504
Method
add
(self, experience, experience_size)
rnerf/rl_utils.py:28
Method
addPoint
* 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
Method
addPoints
Add points to the set, Inserts all points from [start, end] */
sdf/include/sdf/internal/nanoflann.hpp:1882
Function
add_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
Method
allocate
sdf/include/sdf/internal/nanoflann.hpp:578
Method
allocate
sdf/include/sdf/internal/nanoflann.hpp:702
Function
annealed_dir_enc
(data_in, sh_degree, alpha)
rnerf/sh.py:210
Function
annealed_pos_enc
(x, min_deg, max_deg, alpha, amp=1.0)
rnerf/model_utils.py:236
Function
bary
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
Function
bary2d
sdf/include/sdf/sdf.hpp:129
Method
buildIndex
* Builds the index */
sdf/include/sdf/internal/nanoflann.hpp:1553
Method
build_extensions
(self)
sdf/setup.py:167
Function
cast_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
Function
cast_rays
(z_vals, origins, directions)
rnerf/model_utils.py:143
Function
check_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
Method
closest
Query for the closest points to a given point (entered as query_point[0:dim-1]).
sdf/include/sdf/internal/sdf_util.hpp:68
Method
computeBoundingBox
sdf/include/sdf/internal/nanoflann.hpp:1316
Method
computeBoundingBox
sdf/include/sdf/internal/nanoflann.hpp:1665
Method
computeMinMax
sdf/include/sdf/internal/nanoflann.hpp:836
Function
compute_action_space
(square_size, shrink=0.0)
rnerf/rl_utils.py:95
Function
compute_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
Method
compute_sparsity_loss
(self, ray_pos, coarse_alpha_target, fine_alpha_target)
rnerf/models.py:142
Function
compute_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
Function
conical_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
Function
construct_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
Method
contains
sdf/src/renderer.cpp:300
Method
contains
sdf/src/sdf.cpp:156
Function
conv3d_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
Function
create_apriltag
()
calib/calib_camera_with_apriltag.py:24
Function
cylinder_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
Method
default
(self, obj)
calib/vis_camera_pose_with_opencv.py:65
Method
default
(self, obj)
calib/vis_camera_pose_with_llff.py:137
Function
define_flags
Define flags for both training and evaluation modes.
rnerf/utils.py:87
Function
dir_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
Function
dist_point2line
3D point to line shortest distance SQUARED
sdf/include/sdf/sdf.hpp:54
Function
dist_point2lineseg
sdf/include/sdf/sdf.hpp:64
Function
dist_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
Method
evalMetric
sdf/include/sdf/internal/nanoflann.hpp:383
Method
evalMetric
sdf/include/sdf/internal/nanoflann.hpp:432
Method
evalMetric
sdf/include/sdf/internal/nanoflann.hpp:463
Method
evalMetric
sdf/include/sdf/internal/nanoflann.hpp:498
Function
eval_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
Function
export_sample
()
metric/export.py:148
Method
faces
sdf/src/renderer.cpp:278
Method
faces_mutable
sdf/src/renderer.cpp:279
Function
file_exists
(pth)
rnerf/utils.py:285
Method
findNeighbors
sdf/include/sdf/internal/nanoflann.hpp:1924
Method
forward
(self, X, Y)
metric/ssim/ssim.py:224
Method
forward
(self, X, Y)
metric/ssim/ssim.py:251
Method
forward_envmap
(self, viewdirs)
rnerf/models.py:181
Method
full
sdf/include/sdf/internal/nanoflann.hpp:242
Function
get_dataset
(split, args)
rnerf/datasets.py:34
Function
get_model
A helper function that wraps around a 'model zoo'.
rnerf/models.py:34
Method
init
sdf/include/sdf/internal/nanoflann.hpp:237
Method
init
Creates multiple empty trees to handle dynamic support */
sdf/include/sdf/internal/nanoflann.hpp:1831
Method
init_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
Function
integrated_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
Method
internal_init
sdf/include/sdf/internal/nanoflann.hpp:612
Function
isdir
(pth)
rnerf/utils.py:295
Method
kdtree_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
Method
kdtree_get_bbox
sdf/include/sdf/internal/sdf_util.hpp:97
Method
kdtree_get_point_count
sdf/include/sdf/internal/sdf_util.hpp:76
Method
kdtree_get_pt
Returns the dim'th component of the idx'th point in the class:
sdf/include/sdf/internal/sdf_util.hpp:91
Method
knnSearch
* 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
Method
knnSearch
* 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
Function
learning_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
Function
listdir
(pth)
rnerf/utils.py:290
Method
loadIndex
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
Method
loadIndex
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
Function
load_config
()
rnerf/utils.py:267
Function
load_data
(basedir, factor=None, width=None, height=None, load_imgs=True)
calib/llff/poses/pose_utils.py:196
Method
load_tree
sdf/include/sdf/internal/nanoflann.hpp:1034
Method
load_value
sdf/include/sdf/internal/nanoflann.hpp:291
Function
local_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
Function
loop_body
(i, val)
rnerf/model_utils.py:422
Function
loss_fn
(variables)
train.py:75
Function
main
(unused_argv)
eval.py:52
Function
main
(unused_argv)
train.py:186
Function
main
(unused_argv)
extract_mesh.py:46
Function
main
(unused_argv)
voxelize_mesh.py:31
Function
main
sdf/demo.cpp:41
Function
makedirs
(pth)
rnerf/utils.py:300
Function
matmul
jnp.matmul defaults to bfloat16, but this helper function doesn't.
rnerf/math_utils.py:23
Method
middleSplit_
sdf/include/sdf/internal/nanoflann.hpp:909
Method
min_line_dist
(rays_o, rays_d)
rnerf/datasets.py:720
Function
minify_v0
(basedir, factors=[], resolutions=[])
calib/llff/poses/pose_utils.py:93
Method
nn
sdf/src/renderer.cpp:305
Method
nn
sdf/src/sdf.cpp:75
← previous
next →
301–400 of 490, ranked by callers