City Scale Image Geolocalization via Dense Scene Alignment
Switch branches/tags
Nothing to show
Clone or download



This repository contains sample code for the algorithms described in the following study City Scale Image Geolocalization via Dense Scene Alignment.

For more details, please visit the project page


  • Matlab
  • VLFeat library (



  • lib folder holds external libraries used in the project
  • data folder holds data files used in the project
  • You may want change the default values in the LoadPreRequisities.m
  • You can change algorithm parameters via settings.ini
  • As a pre-processing step, you should extract image features via CreateAllImageFeaturesAtOnce.m
  • We used a slightly modified version of gist code provided here


DemoApp('test', ~); % This will run demo app in test mode with the default settings.


If you find this package useful in your research, please consider citing:

  title={City Scale Image Geolocalization via Dense Scene Alignment},
  author={Yagcioglu, Semih and Erdem, Erkut and Erdem, Aykut},
  booktitle={Applications of Computer Vision (WACV), 2015 IEEE Winter Conference on},


We would like to thank to the following researchers, Kim et al. [1] for making DSP code, and Chen et al. [2] for making their dataset publicly available.

  1. DSP
    • Deformable Spatial Pyramid Matching for Fast Dense Correspondences, J. Kim, C. Liu, F. Sha, K. Grauman, CVPR 2013
  2. San Francisco Landmark dataset
    • City-scale landmark identification on mobile devices, D. M. Chen, G. Baatz, K. Koser, S. S. Tsai, R. Vedantham, T. Pylvanainen, K. Roimela, X. Chen, J. Bach, M. Pollefeys, et al, CVPR 2011