{"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/conditional-deformable-image-registration","title":"Conditional Deformable Image Registration with Convolutional Neural Network","arxiv_id":"2106.12673","date":"2021-06-23","proceeding":null,"authors":["Tony C. W. Mok","Albert C. S. Chung"],"abstract":"Recent deep learning-based methods have shown promising results and runtime advantages in deformable image registration. However, analyzing the effects of hyperparameters and searching for optimal regularization parameters prove to be too prohibitive in deep learning-based methods. This is because it involves training a substantial number of separate models with distinct hyperparameter values. In this paper, we propose a conditional image registration method and a new self-supervised learning paradigm for deep deformable image registration. By learning the conditional features that are correlated with the regularization hyperparameter, we demonstrate that optimal solutions with arbitrary hyperparameters can be captured by a single deep convolutional neural network. In addition, the smoothness of the resulting deformation field can be manipulated with arbitrary strength of smoothness regularization during inference. Extensive experiments on a large-scale brain MRI dataset show that our proposed method enables the precise control of the smoothness of the deformation field without sacrificing the runtime advantage or registration accuracy.","url_abs":"https://arxiv.org/abs/2106.12673v2","url_pdf":"https://arxiv.org/pdf/2106.12673v2.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":"conditional-deformable-image-registration","repo_url":"https://github.com/cwmok/LapIRN","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"conditional-deformable-image-registration","repo_url":"https://github.com/cwmok/Conditional_LapIRN","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"conditional-deformable-image-registration","repo_url":"https://github.com/cwmok/dirac","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"image-registration","task_name":"Image Registration"},{"task_slug":"self-supervised-learning","task_name":"Self-Supervised Learning"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2106.12673","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2106.12673"}},"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/cwmok/dirac","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/cwmok/Conditional_LapIRN","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/cwmok/LapIRN","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran_fixture":1,"unverified":16},"by_repo_kind":{"official":{"samples":8,"ran":1,"repositories":1},"listed":{"samples":9,"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":"7c8b1b17367fd701","entry":"dice","repo":"cwmok/Conditional_LapIRN","repo_kind":"official","path":"Code/Train_cLapIRN_2D.py","file_url":"https://github.com/cwmok/Conditional_LapIRN/blob/HEAD/Code/Train_cLapIRN_2D.py","link_basis":"plan_row","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"7c8b1b17367fd701"}},{"code_sha256_prefix":"faf9dce71d5373ba","entry":"JacboianDet","repo":"cwmok/Conditional_LapIRN","repo_kind":"official","path":"Code/miccai2021_model.py","file_url":"https://github.com/cwmok/Conditional_LapIRN/blob/HEAD/Code/miccai2021_model.py","link_basis":"first_harvest_node","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":"faf9dce71d5373ba"}},{"code_sha256_prefix":"72a85c1e6b65e2a9","entry":"affine_aug","repo":"cwmok/dirac","repo_kind":"listed","path":"Code/BRATS_train_DIRAC.py","file_url":"https://github.com/cwmok/dirac/blob/HEAD/Code/BRATS_train_DIRAC.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":"72a85c1e6b65e2a9"}},{"code_sha256_prefix":"308ec5997d538495","entry":"affine_aug","repo":"cwmok/dirac","repo_kind":"listed","path":"Code/BRATS_train_DIRAC_D.py","file_url":"https://github.com/cwmok/dirac/blob/HEAD/Code/BRATS_train_DIRAC_D.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":"308ec5997d538495"}},{"code_sha256_prefix":"d2c770b494ce1f32","entry":"compute_tre","repo":"cwmok/dirac","repo_kind":"listed","path":"Code/BRATS_test_DIRAC.py","file_url":"https://github.com/cwmok/dirac/blob/HEAD/Code/BRATS_test_DIRAC.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":"d2c770b494ce1f32"}},{"code_sha256_prefix":"81e311bc7a3294ba","entry":"continuous_contrastive_loss","repo":"cwmok/dirac","repo_kind":"listed","path":"Code/bratsreg_model_stage.py","file_url":"https://github.com/cwmok/dirac/blob/HEAD/Code/bratsreg_model_stage.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":"81e311bc7a3294ba"}},{"code_sha256_prefix":"d0dc3465c6af23ad","entry":"create_image_pyramid","repo":"cwmok/dirac","repo_kind":"listed","path":"Code/Functions.py","file_url":"https://github.com/cwmok/dirac/blob/HEAD/Code/Functions.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":"d0dc3465c6af23ad"}},{"code_sha256_prefix":"5e2ed8f9e07d1692","entry":"dice","repo":"cwmok/dirac","repo_kind":"listed","path":"Code/BRATS_test_DIRAC.py","file_url":"https://github.com/cwmok/dirac/blob/HEAD/Code/BRATS_test_DIRAC.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":"5e2ed8f9e07d1692"}},{"code_sha256_prefix":"526f7aabe47bb29e","entry":"generate_grid","repo":"cwmok/Conditional_LapIRN","repo_kind":"official","path":"Code/Functions.py","file_url":"https://github.com/cwmok/Conditional_LapIRN/blob/HEAD/Code/Functions.py","link_basis":"first_harvest_node","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":"526f7aabe47bb29e"}},{"code_sha256_prefix":"e5fb50af358b26e5","entry":"generate_grid_unit","repo":"cwmok/Conditional_LapIRN","repo_kind":"official","path":"Code/Functions.py","file_url":"https://github.com/cwmok/Conditional_LapIRN/blob/HEAD/Code/Functions.py","link_basis":"first_harvest_node","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":"e5fb50af358b26e5"}},{"code_sha256_prefix":"55263643ea3ef4b6","entry":"get_gaussian_kernel","repo":"cwmok/dirac","repo_kind":"listed","path":"Code/Functions.py","file_url":"https://github.com/cwmok/dirac/blob/HEAD/Code/Functions.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":"55263643ea3ef4b6"}},{"code_sha256_prefix":"ce29fe9090724b39","entry":"jacobian_determinant","repo":"cwmok/dirac","repo_kind":"listed","path":"Code/Functions.py","file_url":"https://github.com/cwmok/dirac/blob/HEAD/Code/Functions.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":"ce29fe9090724b39"}},{"code_sha256_prefix":"8ebf7b299843ca5f","entry":"neg_Jdet_loss","repo":"cwmok/Conditional_LapIRN","repo_kind":"official","path":"Code/miccai2021_model.py","file_url":"https://github.com/cwmok/Conditional_LapIRN/blob/HEAD/Code/miccai2021_model.py","link_basis":"first_harvest_node","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":"8ebf7b299843ca5f"}},{"code_sha256_prefix":"b683a710c6b4f28a","entry":"smoothloss","repo":"cwmok/Conditional_LapIRN","repo_kind":"official","path":"Code/miccai2021_model.py","file_url":"https://github.com/cwmok/Conditional_LapIRN/blob/HEAD/Code/miccai2021_model.py","link_basis":"first_harvest_node","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":"b683a710c6b4f28a"}},{"code_sha256_prefix":"90d1a77d4263a27e","entry":"smoothloss","repo":"cwmok/Conditional_LapIRN","repo_kind":"official","path":"Code/miccai2021_model_2D.py","file_url":"https://github.com/cwmok/Conditional_LapIRN/blob/HEAD/Code/miccai2021_model_2D.py","link_basis":"first_harvest_node","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":"90d1a77d4263a27e"}},{"code_sha256_prefix":"05bfed21c3b36e8a","entry":"transform_unit_flow_to_flow","repo":"cwmok/Conditional_LapIRN","repo_kind":"official","path":"Code/Functions.py","file_url":"https://github.com/cwmok/Conditional_LapIRN/blob/HEAD/Code/Functions.py","link_basis":"first_harvest_node","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":"05bfed21c3b36e8a"}},{"code_sha256_prefix":"f80c634a4ec99824","entry":"weighted_smoothloss","repo":"cwmok/dirac","repo_kind":"listed","path":"Code/bratsreg_model_stage.py","file_url":"https://github.com/cwmok/dirac/blob/HEAD/Code/bratsreg_model_stage.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":"f80c634a4ec99824"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}