Code for the CVPR 2014 paper "Minimal Scene Descriptions from Structure from Motion Models"