Functiontexture Interpolate texture using uv coordinates. Args: texture (torch.Tensor): (B, C, H, W) texture uv (torch.Tensor): (B, H, W
eval_code/recons/models/moge/utils3d/torch/rasterization.py:270
Functiontheshold_depth_change(depth: torch.Tensor, mask: torch.Tensor, pooler: Literal['min', 'max'], rtol: float = 0.2, kernel_size: int =
eval_code/recons/models/moge/utils/geometry_torch.py:248
Functiontranslate_2d Translation matrix for 2D translation ``` [[1, 0, tx], [0, 1, ty], [0, 0, 1]] ``` Args: translation (
eval_code/recons/models/moge/utils3d/torch/transforms.py:1199
Functionuv_to_pixel Args: pixel (np.ndarray): [..., 2] pixel coordinrates defined in image space, x range is (0, W - 1), y range is (0, H - 1) width
eval_code/recons/models/moge/utils3d/numpy/transforms.py:465