ComputeNormals

<< Click to Display Table of Contents >>

Navigation:  NxLib API > Commands >

ComputeNormals

Uses the XYZ data in the PointMap node of a stereo camera and computes normals for each point. The resulting normals are written into a separate XYZ float image at Images/Normals. Each XYZ vector is normalized to length 1 and oriented towards the camera's projection center. In degenerate cases (e.g. on depth discontinuities) the normals might point away from the camera.

Note: The normal map coordinates are represented in the same world/workspace coordinate system as the PointMap itself.