* Fix typo COLAMP->COLMAP

* Fix more typo

Co-authored-by: Matthew Tancik <tancik@berkeley.edu>
This commit is contained in:
matsurenandMatthew Tancik authored and GitHub committed 2023-01-16 12:12:55 -08:00
1 parent 53c23ba356
commit 408ab709ec
45 files changed
+72 -72

No files matched your search

+1 -1
View File
@@ -104,7 +104,7 @@ class CameraOptimizer(nn.Module):
Args:
indices: indices of Cameras to optimize.
Returns:
Tranformation matrices from optimized camera coordinates coordinates
Transformation matrices from optimized camera coordinates
to given camera coordinates.
"""
outputs = []
+1 -1
View File
@@ -54,7 +54,7 @@ def get_spiral_path(
zrate: float = 0.5,
) -> Cameras:
"""
Returns a list of camera in a sprial trajectory.
Returns a list of camera in a spiral trajectory.
Args:
camera: The camera to start the spiral from.
+1 -1
View File
@@ -361,7 +361,7 @@ def radial_and_tangential_undistort(
max_iterations: int = 10,
) -> torch.Tensor:
"""Computes undistorted coords given opencv distortion parameters.
Addapted from MultiNeRF
Adapted from MultiNeRF
https://github.com/google-research/multinerf/blob/b02228160d3179300c7d499dca28cb9ca3677f32/internal/camera_utils.py#L477-L509
Args:
+1 -1
View File
@@ -338,7 +338,7 @@ class Cameras(TensorDataclass):
When coords == None (ie: when we render out the whole image associated with this camera), we run into problems
since there's no way to stack each coordinate map as all coordinate maps are all different shapes. In this case,
we will need to flatten each individual coordinate map and concatenate them, giving us only one batch dimension,
regaurdless of the number of prepended extra batch dimensions in the camera_indices tensor.
regardless of the number of prepended extra batch dimensions in the camera_indices tensor.
Args:
+2 -2
View File
@@ -28,7 +28,7 @@ def exp_map_SO3xR3(tangent_vector: TensorType["b", 6]) -> TensorType["b", 3, 4]:
Args:
tangent_vector: Tangent vector; length-3 translations, followed by an `so(3)` tangent vector.
Returns:
[R|t] tranformation matrices.
[R|t] transformation matrices.
"""
# code for SO3 map grabbed from pytorch3d and stripped down to bare-bones
log_rot = tangent_vector[:, 3:]
@@ -67,7 +67,7 @@ def exp_map_SE3(tangent_vector: TensorType["b", 6]) -> TensorType["b", 3, 4]: #
tangent_vector: A tangent vector from `se(3)`.
Returns:
[R|t] tranformation matrices.
[R|t] transformation matrices.
"""
tangent_vector_lin = tangent_vector[:, :3].view(-1, 3, 1)
+1 -1
View File
@@ -186,7 +186,7 @@ class RayBundle(TensorDataclass):
return self[indices]
def get_row_major_sliced_ray_bundle(self, start_idx: int, end_idx: int) -> "RayBundle":
"""Flattens RayBundle and extracts chunk given start and end indicies.
"""Flattens RayBundle and extracts chunk given start and end indices.
Args:
start_idx: Start index of RayBundle chunk.