ImplicitVol
Reconstructing a 3D volume from 2D freehand ultrasound images by training a deep network to implicitly represent the volume.
Install / Use
/learn @pakheiyeung/ImplicitVolREADME
ImplicitVol: Sensorless 3D Ultrasound Reconstruction with Deep Implicit Representation<!-- omit in toc -->
<!--  -->This repository contains the codes (in PyTorch) for the framework introduced in the following paper:
ImplicitVol: Sensorless 3D Ultrasound Reconstruction with Deep Implicit Representation [Paper] [Project Page]
@article{yeung2021implicitvol,
title = {ImplicitVol: Sensorless 3D Ultrasound Reconstruction with Deep Implicit Representation},
author = {Yeung, Pak-Hei and Hesse, Linde and Aliasi, Moska and Haak, Monique and Xie, Weidi and Namburete, Ana IL and others},
journal = {arXiv preprint arXiv:2109.12108},
year = {2021},
}
Contents<!-- omit in toc -->
Dependencies
- Python (3.7), other versions should also work
- PyTorch (1.12), other versions should also work
- scipy
- skimage
- nibabel
Reconstruct from an example volume
Due to data privacy of the ultrasound data we used in our study, in this repository, we use an example MRI volume example/sub-feta001_T2w.nii.gz from FeTA for demonstration. When running train.py, here is the high-level description of what it does:
- A set of 2D slices are sampled from the
example/sub-feta001_T2w.nii.gz, with known plane locations in the volume. This mimics acquiring the 2D ultrasound vidoes and predicting their plane locations. - The set of 2D slices will be used to train the implicit representation model.
- Novel views (i.e. 2D slices sampled from volume, perpendicular to the training slices) are generated from the trained model.
Modify for your own images
To modify the codes for your own data, you may need to modify the following aspects:
Plane localization<!-- omit in toc -->
- If the plane location of each 2D image is known, you can skip this stage
- Localizing the images in the 3D space using approaches such as PlaneInVol.
Reconstruction<!-- omit in toc -->
- Save the 2D images and their corresponding plane location
- Modify the
Dataset_volume_videoclass indataset.pyto import the saved file.
Related Skills
node-connect
329.7kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
81.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
329.7kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
81.2kCommit, push, and open a PR
