tfg.rendering.volumetric.ray_radiance.compute_radiance
Stay organized with collections
Save and categorize content based on your preferences.
Renders the rgba values for points along a ray, as described in "NeRF Representing Scenes as Neural Radiance Fields for View Synthesis".
tfg.rendering.volumetric.ray_radiance.compute_radiance(
rgba_values: type_alias.TensorLike,
distances: type_alias.TensorLike,
name: str = 'ray_radiance'
) -> Tuple[tf.Tensor, tf.Tensor, tf.Tensor]
Note |
In the following, A1 to An are optional batch dimensions.
|
Args |
rgba_values
|
A tensor of shape [A1, ..., An, N, 4] , where N are the
samples on the ray.
|
distances
|
A tensor of shape [A1, ..., An, N] containing the distances
between the samples, where N are the samples on the ray.
|
name
|
A name for this op. Defaults to "ray_radiance".
|
Returns |
A tensor of shape [A1, ..., An, 3] for the estimated rgb values,
a tensor of shape [A1, ..., An, 1] for the estimated density values,
and a tensor of shape [A1, ..., An, N] for the sample weights.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-10-28 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-10-28 UTC."],[],[]]