Cross-view image-based localization and synthesis