{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/night-to-day-image-translation-for-retrieval","title":"Night-to-Day Image Translation for Retrieval-based Localization","arxiv_id":"1809.09767","date":"2018-09-26","proceeding":null,"authors":["Asha Anoosheh","Torsten Sattler","Radu Timofte","Marc Pollefeys","Luc van Gool"],"abstract":"Visual localization is a key step in many robotics pipelines, allowing the\nrobot to (approximately) determine its position and orientation in the world.\nAn efficient and scalable approach to visual localization is to use image\nretrieval techniques. These approaches identify the image most similar to a\nquery photo in a database of geo-tagged images and approximate the query's pose\nvia the pose of the retrieved database image. However, image retrieval across\ndrastically different illumination conditions, e.g. day and night, is still a\nproblem with unsatisfactory results, even in this age of powerful neural\nmodels. This is due to a lack of a suitably diverse dataset with true\ncorrespondences to perform end-to-end learning. A recent class of neural models\nallows for realistic translation of images among visual domains with relatively\nlittle training data and, most importantly, without ground-truth pairings. In\nthis paper, we explore the task of accurately localizing images captured from\ntwo traversals of the same area in both day and night. We propose ToDayGAN - a\nmodified image-translation model to alter nighttime driving images to a more\nuseful daytime representation. We then compare the daytime and translated night\nimages to obtain a pose estimate for the night image using the known 6-DOF\nposition of the closest day image. Our approach improves localization\nperformance by over 250% compared the current state-of-the-art, in the context\nof standard metrics in multiple categories.","url_abs":"http://arxiv.org/abs/1809.09767v2","url_pdf":"http://arxiv.org/pdf/1809.09767v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"night-to-day-image-translation-for-retrieval","repo_url":"https://github.com/AAnoosheh/ToDayGAN","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"BSD-2-Clause"}}],"tasks":[{"task_slug":"image-retrieval","task_name":"Image Retrieval"},{"task_slug":null,"task_name":"Position"},{"task_slug":"retrieval","task_name":"Retrieval"},{"task_slug":"style-generalization","task_name":"Style Generalization"},{"task_slug":"translation","task_name":"Translation"},{"task_slug":"visual-localization","task_name":"Visual Localization"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/1809.09767","atlas_url":"https://app.syntology.ai/?focus=1809.09767","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1809.09767"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/AAnoosheh/ToDayGAN","reach":{"status":"ok","spdx":"BSD-2-Clause"}}],"summary":{"unverified":6},"by_repo_kind":{"official":{"samples":6,"ran":0,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"b36e61df3f4855b8","entry":"define_G","repo":"AAnoosheh/ToDayGAN","repo_kind":"official","path":"models/networks.py","file_url":"https://github.com/AAnoosheh/ToDayGAN/blob/HEAD/models/networks.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-2-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"b36e61df3f4855b8"}},{"code_sha256_prefix":"91d4d7845ec139d1","entry":"encode","repo":"AAnoosheh/ToDayGAN","repo_kind":"official","path":"util/png.py","file_url":"https://github.com/AAnoosheh/ToDayGAN/blob/HEAD/util/png.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-2-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"91d4d7845ec139d1"}},{"code_sha256_prefix":"1708b69874a27556","entry":"get_norm_layer","repo":"AAnoosheh/ToDayGAN","repo_kind":"official","path":"models/networks.py","file_url":"https://github.com/AAnoosheh/ToDayGAN/blob/HEAD/models/networks.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-2-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"1708b69874a27556"}},{"code_sha256_prefix":"8ebaedea72421270","entry":"gkern_2d","repo":"AAnoosheh/ToDayGAN","repo_kind":"official","path":"util/util.py","file_url":"https://github.com/AAnoosheh/ToDayGAN/blob/HEAD/util/util.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-2-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"8ebaedea72421270"}},{"code_sha256_prefix":"923a65d0c9e7c2f5","entry":"tensor2im","repo":"AAnoosheh/ToDayGAN","repo_kind":"official","path":"util/util.py","file_url":"https://github.com/AAnoosheh/ToDayGAN/blob/HEAD/util/util.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-2-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"923a65d0c9e7c2f5"}},{"code_sha256_prefix":"4f813f672cd81eda","entry":"varname","repo":"AAnoosheh/ToDayGAN","repo_kind":"official","path":"util/util.py","file_url":"https://github.com/AAnoosheh/ToDayGAN/blob/HEAD/util/util.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-2-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"4f813f672cd81eda"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}