Skip to main content

Python-based library for Synthesis of Ultrasound Fetal Imaging

Project description

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!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xfetus-0.0.7.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xfetus-0.0.7-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file xfetus-0.0.7.tar.gz.

File metadata

  • Download URL: xfetus-0.0.7.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for xfetus-0.0.7.tar.gz
Algorithm Hash digest
SHA256 6c772096a70fef4ba16e62c9fcaf31f56a380119cbc3abe83575dfb66dffec65
MD5 58faf8bc3afd0d43a4217a7dcd78e7a2
BLAKE2b-256 12e5a0829242268d4f128cf95ce30217e3d3df7d81a71d1a1243398713748724

See more details on using hashes here.

File details

Details for the file xfetus-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: xfetus-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for xfetus-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 21b0ccf5b3e15b2ccbf6030c43cb9e612d41bf1f56dc31f6d3f2b6f0f463553a
MD5 7a7de6e8b1cd454769df42fa28d12359
BLAKE2b-256 c5b9e421ec61e7cdc5677bace701fe7e5d448ae731500aeff393cb66f799423c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page