Skip to main content

xfetus - library for synthesis of ultrasound fetal imaging (:baby: :brain: :robot:) :warning: WIP :warning:

PyPI version

xfetus is a python-based library to syntheses fetal ultrasound images using GAN, transformers and diffusion models. It also includes methods to quantify the quality of synthesis (FID, PSNR, SSIM, and visual touring tests).

Installation

$ pip install xfetus

You can develop locally:

  • Generate your SSH keys as suggested here (or here)
  • Clone the repository by typing (or copying) the following line in a terminal at your selected path in your machine:
cd && mkdir -p $HOME/repositories/budai4medtech && cd  $HOME/repositories/budai4medtech
git clone git@github.com:budai4medtech/xfetus.git

References

Presentation

Good practices in AI/ML for Ultrasound Fetal Brain Imaging Synthesis
Harvey Mannering, Sofia Miñano, and Miguel Xochicale

University College London
The deep learning and computer vision Journal Club
UCL Centre for Advance Research Computing
1st of June 2023, 15:00 GMT

Abstract Medical image datasets for AI and ML methods must be diverse to generalise well unseen data (i.e. diagnoses, diseases, pathologies, scanners, demographics, etc). However there are few public ultrasound fetal imaging datasets due to insufficient amounts of clinical data, patient privacy, rare occurrence of abnormalities, and limited experts for data collection and validation. To address such challenges in Ultrasound Medical Imaging, Miguel will discuss two proposed generative adversarial networks (GAN)-based models: diffusion-super-resolution-GAN and transformer-based-GAN, to synthesise images of fetal Ultrasound brain image planes from one public dataset. Similarly, Miguel will present and discuss AI and ML workflow aligned to good ML practices by FDA, and methods for quality image assessment (e.g., visual Turing test and FID scores). Finally, a simple prototype in GitHub, google-colabs and guidelines to train it using Myriad cluster will be presented as well as applications for Medical Image Synthesis e.g., classification, augmentation, segmentation, registration and other downstream tasks, etc. will be discussed. The resources to reproduce the work of this talk are available at https://github.com/budai4medtech/xfetus.

Citations

BibTeX to cite

@misc{iskandar2023realistic,
      author={
      	Michelle Iskandar and 
      	Harvey Mannering and 
      	Zhanxiang Sun and 
      	Jacqueline Matthew and 
      	Hamideh Kerdegari and 
      	Laura Peralta and 
      	Miguel Xochicale},
      title={Towards Realistic Ultrasound Fetal Brain Imaging Synthesis}, 
      year={2023},
      eprint={2304.03941},
      archivePrefix={arXiv},
      primaryClass={eess.IV}
}

Contributors

Thanks goes to all these people (emoji key):


ADD NAME SURNAME

🔬 🤔

Sofia Miñano

💻 🔬 🤔

Zhanxiang (Sean) Sun

💻 🔬 🤔

Harvey Mannering

💻 🔬 🤔

Michelle Iskandar

💻 🔬 🤔

Miguel Xochicale
💻 📖 🔧

This work follows the all-contributors specification.
Contributions of any kind welcome!

Metadata

Release files for xfetus 0.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xfetus 0.0.7
File Size Uploaded
xfetus-0.0.7.tar.gz 5.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for xfetus 0.0.7
File Interpreter ABI Platform
xfetus-0.0.7-py3-none-any.whl Python 3 none any Details

Total release size: 10.4 kB

Release files / xfetus-0.0.7.tar.gz

Download URL xfetus-0.0.7.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
6c772096a70fef4ba16e62c9fcaf31f56a380119cbc3abe83575dfb66dffec65
BLAKE2b-256 checksum
How to use checksums
12e5a0829242268d4f128cf95ce30217e3d3df7d81a71d1a1243398713748724
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release files / xfetus-0.0.7-py3-none-any.whl

Download URL xfetus-0.0.7-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
21b0ccf5b3e15b2ccbf6030c43cb9e612d41bf1f56dc31f6d3f2b6f0f463553a
BLAKE2b-256 checksum
How to use checksums
c5b9e421ec61e7cdc5677bace701fe7e5d448ae731500aeff393cb66f799423c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release history Release notifications | RSS feed

This release

0.0.7 This release

2 release files

0.0.6

2 release files

0.0.5

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page