def __call__(self, voxgrid: Union[torch.Tensor, VoxelGrid]): """ Args: voxel (torch.Tensor or VoxelGrid): Voxel grid from which ODMs are extracted. Returns: (torch.Tensor): 6 ODMs from the 6 primary viewing angles. """ return cvt.extract_odms(voxgrid)
def __call__(self, voxel: Union[torch.Tensor, VoxelGrid]): """ Args: voxel (torch.Tensor or VoxelGrid): Voxel grid from which ODMs are extracted. Returns: (torch.Tensor): Voxel grid. """ odms = cvt.extract_odms(voxel) return cvt.project_odms(odms)