Visual Indoor Localization in Known Environments