{"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/voxel-based-differentiable-x-ray-rendering","title":"Differentiable Voxel-based X-ray Rendering Improves Sparse-View 3D CBCT Reconstruction","arxiv_id":"2411.19224","date":"2024-11-28","proceeding":null,"authors":["Mohammadhossein Momeni","Vivek Gopalakrishnan","Neel Dey","Polina Golland","Sarah Frisken"],"abstract":"We present DiffVox, a self-supervised framework for Cone-Beam Computed Tomography (CBCT) reconstruction by directly optimizing a voxelgrid representation using physics-based differentiable X-ray rendering. Further, we investigate how the different implementations of the X-ray image formation model in the renderer affect the quality of 3D reconstruction and novel view synthesis. When combined with our regularized voxel-based learning framework, we find that using an exact implementation of the discrete Beer-Lambert law for X-ray attenuation in the renderer outperforms both widely used iterative CBCT reconstruction algorithms and modern neural field approaches, particularly when given only a few input views. As a result, we reconstruct high-fidelity 3D CBCT volumes from fewer X-rays, potentially reducing ionizing radiation exposure and improving diagnostic utility. Our implementation is available at https://github.com/hossein-momeni/DiffVox.","url_abs":"https://arxiv.org/abs/2411.19224v2","url_pdf":"https://arxiv.org/pdf/2411.19224v2.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":"voxel-based-differentiable-x-ray-rendering","repo_url":"https://github.com/hossein-momeni/diffvox","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"voxel-based-differentiable-x-ray-rendering","repo_url":"https://github.com/eigenvivek/diffdrr","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"voxel-based-differentiable-x-ray-rendering","repo_url":"https://github.com/v715/DiffDRR","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"3d-reconstruction","task_name":"3D Reconstruction"},{"task_slug":"diagnostic","task_name":"Diagnostic"},{"task_slug":"novel-view-synthesis","task_name":"Novel View Synthesis"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2411.19224","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2411.19224"}},"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/hossein-momeni/diffvox","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/v715/DiffDRR","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/eigenvivek/diffdrr","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran_draft_wrong":1,"ran_violates":1,"unverified":15},"by_repo_kind":{"official":{"samples":2,"ran":2,"repositories":1},"listed":{"samples":15,"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":"7a3803ab8b6b1170","entry":"softplus_inv","repo":"hossein-momeni/diffvox","repo_kind":"official","path":"diffvox/reconstruct.py","file_url":"https://github.com/hossein-momeni/diffvox/blob/HEAD/diffvox/reconstruct.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"7a3803ab8b6b1170"}},{"code_sha256_prefix":"2db6a69fa0de7c41","entry":"trafo","repo":"hossein-momeni/diffvox","repo_kind":"official","path":"utils/construct_ground_truth.py","file_url":"https://github.com/hossein-momeni/diffvox/blob/HEAD/utils/construct_ground_truth.py","link_basis":"first_harvest_node","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2db6a69fa0de7c41"}},{"code_sha256_prefix":"472754e8de1fb4aa","entry":"get_focal_length","repo":"v715/DiffDRR","repo_kind":"listed","path":"diffdrr/detector.py","file_url":"https://github.com/v715/DiffDRR/blob/HEAD/diffdrr/detector.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":"472754e8de1fb4aa"}},{"code_sha256_prefix":"bb45439cb2486d54","entry":"get_fps","repo":"v715/DiffDRR","repo_kind":"listed","path":"experiments/gif.py","file_url":"https://github.com/v715/DiffDRR/blob/HEAD/experiments/gif.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":"bb45439cb2486d54"}},{"code_sha256_prefix":"9eef19e639fabea3","entry":"get_initial_parameters","repo":"v715/DiffDRR","repo_kind":"listed","path":"experiments/reg_scipy.py","file_url":"https://github.com/v715/DiffDRR/blob/HEAD/experiments/reg_scipy.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":"9eef19e639fabea3"}},{"code_sha256_prefix":"c17adbc2a906117f","entry":"get_principal_point","repo":"v715/DiffDRR","repo_kind":"listed","path":"diffdrr/detector.py","file_url":"https://github.com/v715/DiffDRR/blob/HEAD/diffdrr/detector.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":"c17adbc2a906117f"}},{"code_sha256_prefix":"a9ff9bdf2ee8d3c2","entry":"is_converged","repo":"v715/DiffDRR","repo_kind":"listed","path":"experiments/gif.py","file_url":"https://github.com/v715/DiffDRR/blob/HEAD/experiments/gif.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":"a9ff9bdf2ee8d3c2"}},{"code_sha256_prefix":"b8ea0e8f55e1fffd","entry":"make_dirs","repo":"v715/DiffDRR","repo_kind":"listed","path":"experiments/gif.py","file_url":"https://github.com/v715/DiffDRR/blob/HEAD/experiments/gif.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":"b8ea0e8f55e1fffd"}},{"code_sha256_prefix":"590b05a599ac58c4","entry":"make_matrix","repo":"v715/DiffDRR","repo_kind":"listed","path":"diffdrr/pose.py","file_url":"https://github.com/v715/DiffDRR/blob/HEAD/diffdrr/pose.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":"590b05a599ac58c4"}},{"code_sha256_prefix":"1372650b3a43894a","entry":"plot_drr","repo":"v715/DiffDRR","repo_kind":"listed","path":"diffdrr/visualization.py","file_url":"https://github.com/v715/DiffDRR/blob/HEAD/diffdrr/visualization.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":"1372650b3a43894a"}},{"code_sha256_prefix":"9cb468ae5796f22d","entry":"plot_img_and_mask","repo":"v715/DiffDRR","repo_kind":"listed","path":"diffdrr/visualization.py","file_url":"https://github.com/v715/DiffDRR/blob/HEAD/diffdrr/visualization.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":"9cb468ae5796f22d"}},{"code_sha256_prefix":"3aa55421e416cba0","entry":"plot_mask","repo":"v715/DiffDRR","repo_kind":"listed","path":"diffdrr/visualization.py","file_url":"https://github.com/v715/DiffDRR/blob/HEAD/diffdrr/visualization.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":"3aa55421e416cba0"}},{"code_sha256_prefix":"fa1c3c1933413709","entry":"random_rigid_transform","repo":"v715/DiffDRR","repo_kind":"listed","path":"diffdrr/pose.py","file_url":"https://github.com/v715/DiffDRR/blob/HEAD/diffdrr/pose.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":"fa1c3c1933413709"}},{"code_sha256_prefix":"1c69bf6a466df356","entry":"reduce","repo":"v715/DiffDRR","repo_kind":"listed","path":"diffdrr/renderers.py","file_url":"https://github.com/v715/DiffDRR/blob/HEAD/diffdrr/renderers.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":"1c69bf6a466df356"}},{"code_sha256_prefix":"5c99ae8cf47813ee","entry":"resample","repo":"v715/DiffDRR","repo_kind":"listed","path":"diffdrr/utils.py","file_url":"https://github.com/v715/DiffDRR/blob/HEAD/diffdrr/utils.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":"5c99ae8cf47813ee"}},{"code_sha256_prefix":"f916d961120ade96","entry":"rotation_9d_to_matrix","repo":"v715/DiffDRR","repo_kind":"listed","path":"diffdrr/pose.py","file_url":"https://github.com/v715/DiffDRR/blob/HEAD/diffdrr/pose.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":"f916d961120ade96"}},{"code_sha256_prefix":"966b076542ce111f","entry":"to_patches","repo":"v715/DiffDRR","repo_kind":"listed","path":"diffdrr/metrics.py","file_url":"https://github.com/v715/DiffDRR/blob/HEAD/diffdrr/metrics.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":"966b076542ce111f"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}