Patent attributes
Various implementations disclosed herein include devices, systems, and methods for normal estimation using a directional measurement, such as a gravity vector. In various implementations, a device includes a non-transitory memory and one or more processors coupled with the non-transitory memory. In some implementations, a method includes identifying planar surfaces in an environment represented by an image. Each planar surface is associated with a respective orientation. A directional vector associated with the environment is determined. A subset of the planar surfaces that have a threshold orientation relative to the directional vector is identified. For each planar surface in the subset of the planar surfaces, a normal vector for the planar surface is determined based on the orientation of the planar surface and the directional vector.