1 # Copyright (c) 2019-2020, NVIDIA CORPORATION. All rights reserved.
3 @page sfm_usecase1 Structure from Motion (SFM) Workflow
5 ## Putting It All Together
7 The following code snippet shows the general structure of a program that uses the SFM module.
10 dwReconstructor_initialize(...);
14 // CODE: Estimate camera rig pose through odometry
15 dwReconstructor_predictFeaturePosition(...);
19 // CODE: Build pyramid
20 // CODE: Track features
23 dwReconstructor_estimatePoseAsync(...);
24 dwReconstructor_updateHistory(...);
28 dwReconstructor_triangulateFeatures(...);
31 // CODE: Select features to discard
32 dwReconstructor_compactFeatureHistory(...);
33 dwReconstructor_compactWorldPoints(...);
35 dwReconstructor_release(...);
38 For the full implementation refer to @ref dwx_struct_from_motion_sample