Prior knowledge and structure from motion