{"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/modelling-the-distribution-of-3d-brain-mri","title":"Modelling the Distribution of 3D Brain MRI using a 2D Slice VAE","arxiv_id":"2007.04780","date":"2020-07-09","proceeding":null,"authors":["Anna Volokitin","Ertunc Erdil","Neerav Karani","Kerem Can Tezcan","Xiaoran Chen","Luc van Gool","Ender Konukoglu"],"abstract":"Probabilistic modelling has been an essential tool in medical image analysis, especially for analyzing brain Magnetic Resonance Images (MRI). Recent deep learning techniques for estimating high-dimensional distributions, in particular Variational Autoencoders (VAEs), opened up new avenues for probabilistic modeling. Modelling of volumetric data has remained a challenge, however, because constraints on available computation and training data make it difficult effectively leverage VAEs, which are well-developed for 2D images. We propose a method to model 3D MR brain volumes distribution by combining a 2D slice VAE with a Gaussian model that captures the relationships between slices. We do so by estimating the sample mean and covariance in the latent space of the 2D model over the slice direction. This combined model lets us sample new coherent stacks of latent variables to decode into slices of a volume. We also introduce a novel evaluation method for generated volumes that quantifies how well their segmentations match those of true brain anatomy. We demonstrate that our proposed model is competitive in generating high quality volumes at high resolutions according to both traditional metrics and our proposed evaluation.","url_abs":"https://arxiv.org/abs/2007.04780v1","url_pdf":"https://arxiv.org/pdf/2007.04780v1.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":"modelling-the-distribution-of-3d-brain-mri","repo_url":"https://github.com/voanna/slices-to-3d-brain-vae","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"anatomy","task_name":"Anatomy"},{"task_slug":"medical-image-analysis","task_name":"Medical Image Analysis"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2007.04780","atlas_url":"https://app.syntology.ai/?focus=2007.04780","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2007.04780"}},"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/voanna/slices-to-3d-brain-vae","reach":{"status":"ok","spdx":"MIT"}}],"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":"06d3ab1b69cbdae4","entry":"KLLoss","repo":"voanna/slices-to-3d-brain-vae","repo_kind":"official","path":"experiments/MICCAI-release-version/main_experiment_128.py","file_url":"https://github.com/voanna/slices-to-3d-brain-vae/blob/HEAD/experiments/MICCAI-release-version/main_experiment_128.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":"06d3ab1b69cbdae4"}},{"code_sha256_prefix":"1c82c7db59479438","entry":"get_image_and_label_paths","repo":"voanna/slices-to-3d-brain-vae","repo_kind":"official","path":"preproc_hcp/data_hcp.py","file_url":"https://github.com/voanna/slices-to-3d-brain-vae/blob/HEAD/preproc_hcp/data_hcp.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":"1c82c7db59479438"}},{"code_sha256_prefix":"e54a3bb7162beb68","entry":"makefolder","repo":"voanna/slices-to-3d-brain-vae","repo_kind":"official","path":"preproc_hcp/utils.py","file_url":"https://github.com/voanna/slices-to-3d-brain-vae/blob/HEAD/preproc_hcp/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":"e54a3bb7162beb68"}},{"code_sha256_prefix":"a3d0a83a66c2b241","entry":"normalise_image","repo":"voanna/slices-to-3d-brain-vae","repo_kind":"official","path":"preproc_hcp/utils.py","file_url":"https://github.com/voanna/slices-to-3d-brain-vae/blob/HEAD/preproc_hcp/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":"a3d0a83a66c2b241"}},{"code_sha256_prefix":"9f9c9d609f6d18ce","entry":"test","repo":"voanna/slices-to-3d-brain-vae","repo_kind":"official","path":"experiments/MICCAI-release-version/main_experiment_128.py","file_url":"https://github.com/voanna/slices-to-3d-brain-vae/blob/HEAD/experiments/MICCAI-release-version/main_experiment_128.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":"9f9c9d609f6d18ce"}},{"code_sha256_prefix":"645a059ea71dbdad","entry":"train","repo":"voanna/slices-to-3d-brain-vae","repo_kind":"official","path":"experiments/MICCAI-release-version/main_experiment_128.py","file_url":"https://github.com/voanna/slices-to-3d-brain-vae/blob/HEAD/experiments/MICCAI-release-version/main_experiment_128.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":"645a059ea71dbdad"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}