DriveWorks SDK Reference
4.0.0 Release
For Test and Development only

Structure from Motion (SFM) Workflow

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