Skip to main content

Module integrated_pe

Module integrated_pe 

Source
Expand description

Mip-NeRF Integrated Positional Encoding (IPE).

Encodes a Gaussian-approximated cone frustum rather than a single point. For a Gaussian with mean μ and diagonal variance σ²:

E[sin(ω·x)] = sin(ω·μ) · exp(-ω²·σ²/2) E[cos(ω·x)] = cos(ω·μ) · exp(-ω²·σ²/2)

where ω = 2^k · π for frequency level k.

Structs§

IpeConfig
Configuration for integrated positional encoding.

Functions§

integrated_pe
Compute IPE for a Gaussian with mean mu and diagonal variance diag_sigma2.