{"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/self-supervised-learning-of-image-scale-and","title":"Self-Supervised Learning of Image Scale and Orientation","arxiv_id":"2206.07259","date":"2022-06-15","proceeding":null,"authors":["Jongmin Lee","Yoonwoo Jeong","Minsu Cho"],"abstract":"We study the problem of learning to assign a characteristic pose, i.e., scale and orientation, for an image region of interest. Despite its apparent simplicity, the problem is non-trivial; it is hard to obtain a large-scale set of image regions with explicit pose annotations that a model directly learns from. To tackle the issue, we propose a self-supervised learning framework with a histogram alignment technique. It generates pairs of image patches by random rescaling/rotating and then train an estimator to predict their scale/orientation values so that their relative difference is consistent with the rescaling/rotating used. The estimator learns to predict a non-parametric histogram distribution of scale/orientation without any supervision. Experiments show that it significantly outperforms previous methods in scale/orientation estimation and also improves image matching and 6 DoF camera pose estimation by incorporating our patch poses into a matching process.","url_abs":"https://arxiv.org/abs/2206.07259v1","url_pdf":"https://arxiv.org/pdf/2206.07259v1.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":"self-supervised-learning-of-image-scale-and","repo_url":"https://github.com/bluedream1121/self-sca-ori","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"camera-pose-estimation","task_name":"Camera Pose Estimation"},{"task_slug":"pose-estimation","task_name":"Pose Estimation"},{"task_slug":"self-supervised-learning","task_name":"Self-Supervised Learning"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2206.07259","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2206.07259"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+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/bluedream1121/self-sca-ori","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":17},"by_repo_kind":{"official":{"samples":17,"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":"04e24de9f3e14521","entry":"affine_matrix_decompose","repo":"bluedream1121/self-sca-ori","repo_kind":"official","path":"datasets/hpatchespose_dataset_generation/generate_dataset.py","file_url":"https://github.com/bluedream1121/self-sca-ori/blob/HEAD/datasets/hpatchespose_dataset_generation/generate_dataset.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"04e24de9f3e14521"}},{"code_sha256_prefix":"3e2206d0d3490b04","entry":"batchify_images","repo":"bluedream1121/self-sca-ori","repo_kind":"official","path":"datasets/patchpose_dataset_generation/filter.py","file_url":"https://github.com/bluedream1121/self-sca-ori/blob/HEAD/datasets/patchpose_dataset_generation/filter.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"3e2206d0d3490b04"}},{"code_sha256_prefix":"4e885f332bb1786d","entry":"degree_to_radian","repo":"bluedream1121/self-sca-ori","repo_kind":"official","path":"utils/utils.py","file_url":"https://github.com/bluedream1121/self-sca-ori/blob/HEAD/utils/utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"4e885f332bb1786d"}},{"code_sha256_prefix":"9960f5c0820bca9c","entry":"filter_image","repo":"bluedream1121/self-sca-ori","repo_kind":"official","path":"datasets/patchpose_dataset_generation/data_generation.py","file_url":"https://github.com/bluedream1121/self-sca-ori/blob/HEAD/datasets/patchpose_dataset_generation/data_generation.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"9960f5c0820bca9c"}},{"code_sha256_prefix":"8504995598d37825","entry":"get_angle","repo":"bluedream1121/self-sca-ori","repo_kind":"official","path":"datasets/patchpose.py","file_url":"https://github.com/bluedream1121/self-sca-ori/blob/HEAD/datasets/patchpose.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8504995598d37825"}},{"code_sha256_prefix":"5d0b0e6cdf6bc083","entry":"get_scale","repo":"bluedream1121/self-sca-ori","repo_kind":"official","path":"datasets/patchpose.py","file_url":"https://github.com/bluedream1121/self-sca-ori/blob/HEAD/datasets/patchpose.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5d0b0e6cdf6bc083"}},{"code_sha256_prefix":"03e760ff39505b2f","entry":"js_divergence","repo":"bluedream1121/self-sca-ori","repo_kind":"official","path":"model/loss.py","file_url":"https://github.com/bluedream1121/self-sca-ori/blob/HEAD/model/loss.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"03e760ff39505b2f"}},{"code_sha256_prefix":"ac2636c1a3754c87","entry":"kl_div_temperature","repo":"bluedream1121/self-sca-ori","repo_kind":"official","path":"model/loss.py","file_url":"https://github.com/bluedream1121/self-sca-ori/blob/HEAD/model/loss.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ac2636c1a3754c87"}},{"code_sha256_prefix":"faec82d84dd41fae","entry":"kl_divergence","repo":"bluedream1121/self-sca-ori","repo_kind":"official","path":"model/loss.py","file_url":"https://github.com/bluedream1121/self-sca-ori/blob/HEAD/model/loss.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"faec82d84dd41fae"}},{"code_sha256_prefix":"2e68501b20fdd75c","entry":"normalize_gray_image","repo":"bluedream1121/self-sca-ori","repo_kind":"official","path":"utils/utils.py","file_url":"https://github.com/bluedream1121/self-sca-ori/blob/HEAD/utils/utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2e68501b20fdd75c"}},{"code_sha256_prefix":"b79a091074490ca4","entry":"parse_txt","repo":"bluedream1121/self-sca-ori","repo_kind":"official","path":"datasets/patchpose_dataset_generation/filter.py","file_url":"https://github.com/bluedream1121/self-sca-ori/blob/HEAD/datasets/patchpose_dataset_generation/filter.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b79a091074490ca4"}},{"code_sha256_prefix":"0f4a86b47a992c7c","entry":"radian_to_degree","repo":"bluedream1121/self-sca-ori","repo_kind":"official","path":"utils/utils.py","file_url":"https://github.com/bluedream1121/self-sca-ori/blob/HEAD/utils/utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"0f4a86b47a992c7c"}},{"code_sha256_prefix":"b2c877f2f6fc170a","entry":"train","repo":"bluedream1121/self-sca-ori","repo_kind":"official","path":"utils/train_utils.py","file_url":"https://github.com/bluedream1121/self-sca-ori/blob/HEAD/utils/train_utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b2c877f2f6fc170a"}},{"code_sha256_prefix":"f9190e825e369214","entry":"train_orientation","repo":"bluedream1121/self-sca-ori","repo_kind":"official","path":"utils/train_utils.py","file_url":"https://github.com/bluedream1121/self-sca-ori/blob/HEAD/utils/train_utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f9190e825e369214"}},{"code_sha256_prefix":"f2f3a5e3671d8d0d","entry":"train_scale","repo":"bluedream1121/self-sca-ori","repo_kind":"official","path":"utils/train_utils.py","file_url":"https://github.com/bluedream1121/self-sca-ori/blob/HEAD/utils/train_utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f2f3a5e3671d8d0d"}},{"code_sha256_prefix":"fb88dd9920bc567c","entry":"warpPerspectivePoint","repo":"bluedream1121/self-sca-ori","repo_kind":"official","path":"datasets/hpatchespose_dataset_generation/generate_dataset.py","file_url":"https://github.com/bluedream1121/self-sca-ori/blob/HEAD/datasets/hpatchespose_dataset_generation/generate_dataset.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"fb88dd9920bc567c"}},{"code_sha256_prefix":"d9804a709b95d01e","entry":"warpPerspectivePoints","repo":"bluedream1121/self-sca-ori","repo_kind":"official","path":"datasets/hpatchespose_dataset_generation/generate_dataset.py","file_url":"https://github.com/bluedream1121/self-sca-ori/blob/HEAD/datasets/hpatchespose_dataset_generation/generate_dataset.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d9804a709b95d01e"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}