DriveWorks SDK Reference
3.0.4260 Release
For Test and Development only

Structure from Motion (SFM) Workflow
Note
SW Release Applicability: This tutorial is applicable to modules in both NVIDIA DriveWorks and NVIDIA DRIVE Software releases.

Putting It All Together

The following code snippet shows the general structure of a program that uses the SFM module.

while(true)
{
// CODE: Get frame
// CODE: Estimate camera rig pose through odometry
for each camera
{
// CODE: Build pyramid
// CODE: Track features
}
for each camera
{
}
// CODE: Select features to discard
}

For the full implementation refer to Structure from Motion (SFM) Sample