You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Cut the distance in half, and then round it out so that it's
# halfway between inscribed by / circumscribed about the pixel.
radii=dx[..., None] *2/np.sqrt(12)
If you use directions (not-norm) ,dx (or radii) will be the same for different pixel rays in the image .
If you use viewdirs (unit-norm), dx (or radii) will be smaller for pixel rays away from image center, and bigger for pixel rays around image center.
AS you said: in
mipnerf/internal/datasets.py
Line 193 in 84c969e
BUT you use directions (not-norm) rather than viewdirs (unit-norm):
mipnerf/internal/datasets.py
Lines 187 to 195 in 84c969e
This is different,right?
mipnerf/internal/datasets.py
Lines 194 to 200 in 84c969e
If you use directions (not-norm) ,dx (or radii) will be the same for different pixel rays in the image .
If you use viewdirs (unit-norm), dx (or radii) will be smaller for pixel rays away from image center, and bigger for pixel rays around image center.