Structure From Motion With Objects