The following code snippet shows the general structure of a program that uses the SFM module.
For the full implementation refer to Structure from Motion (SFM) Sample