Image based localization with simulated egocentric navigations