xfetus


Namexfetus JSON
Version 0.0.7 PyPI version JSON
download
home_page
SummaryPython-based library for Synthesis of Ultrasound Fetal Imaging
upload_time2023-08-14 20:58:11
maintainer
docs_urlNone
authorMiguel Xochicale
requires_python>=3.8
licenseMIT
keywords artificial intelligence diffusion models
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # xfetus - library for synthesis of ultrasound fetal imaging (:baby: :brain: :robot:) :warning: WIP :warning:
[![PyPI version](https://badge.fury.io/py/xfetus.svg)](https://badge.fury.io/py/xfetus)

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](https://docs.github.com/en/github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent) (or [here](https://github.com/mxochicale/tools/blob/main/github/SSH.md))
* 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](https://allcontributors.org/docs/en/emoji-key)):  
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<table>
  <tr>
	<!-- CONTRIBUTOR -->
	<td align="center">
		<!-- ADD GITHUB USERNAME AND HASH FOR GITHUB PHOTO -->
		<a href="https://github.com/???"><img src="https://avatars1.githubusercontent.com/u/23114020?v=4?s=100" width="100px;" alt=""/>
		<br />
			<sub> <b>ADD NAME SURNAME</b> </sub>        
		</a>
		<br />
			<!-- ADD GITHUB REPOSITORY AND PROJECT, TITLE AND EMOJIS -->
			<a href="https://github.com/$PROJECTNAME/$REPOSITORY_NAME/commits?author=" title="Research">  πŸ”¬ πŸ€”  </a>
	</td>
	<!-- CONTRIBUTOR -->
	<td align="center">
		<a href="https://github.com/sfmig"><img src="https://avatars1.githubusercontent.com/u/33267254?v=4?s=100" width="100px;" alt=""/>
		<br />
			<sub> <b>Sofia MiΓ±ano</b> </sub>        
		</a>
		<br />
			<a href="https://github.com/budai4medtech/xfetus/commits?author=sfmig" title="Code">πŸ’»</a> 
			<a href="https://github.com/budai4medtech/xfetus/commits?author=sfmig" title="Research">  πŸ”¬ πŸ€”  </a>
	</td>
	<!-- CONTRIBUTOR -->
	<td align="center">
		<a href="https://github.com/seansunn"><img src="https://avatars1.githubusercontent.com/u/91659063?v=4?s=100" width="100px;" alt=""/>
		<br />
			<sub> <b>Zhanxiang (Sean) Sun</b> </sub>        
		</a>
		<br />
			<a href="https://github.com/budai4medtech/xfetus/commits?author=seansunn" title="Code">πŸ’»</a> 
			<a href="https://github.com/budai4medtech/xfetus/commits?author=seansunn" title="Research">  πŸ”¬ πŸ€”  </a>
	</td>
	<!-- CONTRIBUTOR -->
	<td align="center">
		<a href="https://github.com/harveymannering"><img src="https://avatars1.githubusercontent.com/u/60523103?v=4?s=100" width="100px;" alt=""/>
		<br />
			<sub> <b>Harvey Mannering</b> </sub>        
		</a>
		<br />
			<a href="https://github.com/budai4medtech/xfetus/commits?author=harveymannering" title="Code">πŸ’»</a> 
			<a href="https://github.com/budai4medtech/xfetus/commits?author=harveymannering" title="Research">  πŸ”¬ πŸ€”  </a>
	</td>
    <!-- CONTRIBUTOR -->
	<td align="center">
		<!-- ADD GITHUB USERNAME AND HASH FOR GITHUB PHOTO -->
		<a href="https://github.com/michellepi"><img src="https://avatars1.githubusercontent.com/u/57605186?v=4?s=100" width="100px;" alt=""/>
		<br />
			<sub> <b>Michelle Iskandar</b> </sub>        
		</a>
		<br />
			<!-- ADD GITHUB REPOSITORY AND PROJECT, TITLE AND EMOJIS -->
            <a href="https://github.com/budai4medtech/xfetus/commits?author=michellepi" title="Code">πŸ’»</a>
			<a href="https://github.com/budai4medtech/xfetus/commits?author=michellepi" title="Research">  πŸ”¬ πŸ€”  </a>
	</td>
	<!-- CONTRIBUTOR -->
	<td align="center">
		<a href="https://github.com/budai4medtech"><img src="https://avatars1.githubusercontent.com/u/11370681?v=4?s=100" width="100px;" alt=""/>
			<br />
			<sub><b>Miguel Xochicale</b></sub>          
			<br />
		</a>
			<a href="https://github.com/budai4medtech/xfetus/commits?author=mxochicale" title="Code">πŸ’»</a> 
			<a href="ttps://github.com/budai4medtech/xfetus/commits?author=mxochicale" title="Documentation">πŸ“–  πŸ”§ </a>
	</td>
  </tr>
</table>
<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->

<!-- ALL-CONTRIBUTORS-LIST:END -->

This work follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification.  
Contributions of any kind welcome!

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "xfetus",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "artificial intelligence,diffusion models",
    "author": "Miguel Xochicale",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/12/e5/a0829242268d4f128cf95ce30217e3d3df7d81a71d1a1243398713748724/xfetus-0.0.7.tar.gz",
    "platform": null,
    "description": "# xfetus - library for synthesis of ultrasound fetal imaging (:baby: :brain: :robot:) :warning: WIP :warning:\n[![PyPI version](https://badge.fury.io/py/xfetus.svg)](https://badge.fury.io/py/xfetus)\n\nxfetus is a python-based library to syntheses fetal ultrasound images using GAN, transformers and diffusion models.\nIt also includes methods to quantify the quality of synthesis (FID, PSNR, SSIM, and visual touring tests).\n\n## Installation\n```\n$ pip install xfetus\n```\n\nYou can develop locally:\n* Generate your SSH keys as suggested [here](https://docs.github.com/en/github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent) (or [here](https://github.com/mxochicale/tools/blob/main/github/SSH.md))\n* Clone the repository by typing (or copying) the following line in a terminal at your selected path in your machine:\n```\ncd && mkdir -p $HOME/repositories/budai4medtech && cd  $HOME/repositories/budai4medtech\ngit clone git@github.com:budai4medtech/xfetus.git\n```\n\n## References\n### Presentation\nGood practices in AI/ML for Ultrasound Fetal Brain Imaging Synthesis   \nHarvey Mannering, Sofia Mi\u00f1ano, and Miguel Xochicale      \n\nUniversity College London     \nThe deep learning and computer vision Journal Club       \nUCL Centre for Advance Research Computing       \n1st of June 2023, 15:00 GMT   \n\nAbstract\nMedical image datasets for AI and ML methods must be diverse to generalise well unseen data (i.e. diagnoses, diseases, pathologies, scanners, demographics, etc).\nHowever 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.\nTo 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.\nSimilarly, 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).\nFinally, 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.\nThe resources to reproduce the work of this talk are available at https://github.com/budai4medtech/xfetus.\n\n### Citations\nBibTeX to cite\n```\n@misc{iskandar2023realistic,\n      author={\n      \tMichelle Iskandar and \n      \tHarvey Mannering and \n      \tZhanxiang Sun and \n      \tJacqueline Matthew and \n      \tHamideh Kerdegari and \n      \tLaura Peralta and \n      \tMiguel Xochicale},\n      title={Towards Realistic Ultrasound Fetal Brain Imaging Synthesis}, \n      year={2023},\n      eprint={2304.03941},\n      archivePrefix={arXiv},\n      primaryClass={eess.IV}\n}\n``` \n\n## Contributors\nThanks goes to all these people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):  \n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n\t<!-- CONTRIBUTOR -->\n\t<td align=\"center\">\n\t\t<!-- ADD GITHUB USERNAME AND HASH FOR GITHUB PHOTO -->\n\t\t<a href=\"https://github.com/???\"><img src=\"https://avatars1.githubusercontent.com/u/23114020?v=4?s=100\" width=\"100px;\" alt=\"\"/>\n\t\t<br />\n\t\t\t<sub> <b>ADD NAME SURNAME</b> </sub>        \n\t\t</a>\n\t\t<br />\n\t\t\t<!-- ADD GITHUB REPOSITORY AND PROJECT, TITLE AND EMOJIS -->\n\t\t\t<a href=\"https://github.com/$PROJECTNAME/$REPOSITORY_NAME/commits?author=\" title=\"Research\">  \ud83d\udd2c \ud83e\udd14  </a>\n\t</td>\n\t<!-- CONTRIBUTOR -->\n\t<td align=\"center\">\n\t\t<a href=\"https://github.com/sfmig\"><img src=\"https://avatars1.githubusercontent.com/u/33267254?v=4?s=100\" width=\"100px;\" alt=\"\"/>\n\t\t<br />\n\t\t\t<sub> <b>Sofia Mi\u00f1ano</b> </sub>        \n\t\t</a>\n\t\t<br />\n\t\t\t<a href=\"https://github.com/budai4medtech/xfetus/commits?author=sfmig\" title=\"Code\">\ud83d\udcbb</a> \n\t\t\t<a href=\"https://github.com/budai4medtech/xfetus/commits?author=sfmig\" title=\"Research\">  \ud83d\udd2c \ud83e\udd14  </a>\n\t</td>\n\t<!-- CONTRIBUTOR -->\n\t<td align=\"center\">\n\t\t<a href=\"https://github.com/seansunn\"><img src=\"https://avatars1.githubusercontent.com/u/91659063?v=4?s=100\" width=\"100px;\" alt=\"\"/>\n\t\t<br />\n\t\t\t<sub> <b>Zhanxiang (Sean) Sun</b> </sub>        \n\t\t</a>\n\t\t<br />\n\t\t\t<a href=\"https://github.com/budai4medtech/xfetus/commits?author=seansunn\" title=\"Code\">\ud83d\udcbb</a> \n\t\t\t<a href=\"https://github.com/budai4medtech/xfetus/commits?author=seansunn\" title=\"Research\">  \ud83d\udd2c \ud83e\udd14  </a>\n\t</td>\n\t<!-- CONTRIBUTOR -->\n\t<td align=\"center\">\n\t\t<a href=\"https://github.com/harveymannering\"><img src=\"https://avatars1.githubusercontent.com/u/60523103?v=4?s=100\" width=\"100px;\" alt=\"\"/>\n\t\t<br />\n\t\t\t<sub> <b>Harvey Mannering</b> </sub>        \n\t\t</a>\n\t\t<br />\n\t\t\t<a href=\"https://github.com/budai4medtech/xfetus/commits?author=harveymannering\" title=\"Code\">\ud83d\udcbb</a> \n\t\t\t<a href=\"https://github.com/budai4medtech/xfetus/commits?author=harveymannering\" title=\"Research\">  \ud83d\udd2c \ud83e\udd14  </a>\n\t</td>\n    <!-- CONTRIBUTOR -->\n\t<td align=\"center\">\n\t\t<!-- ADD GITHUB USERNAME AND HASH FOR GITHUB PHOTO -->\n\t\t<a href=\"https://github.com/michellepi\"><img src=\"https://avatars1.githubusercontent.com/u/57605186?v=4?s=100\" width=\"100px;\" alt=\"\"/>\n\t\t<br />\n\t\t\t<sub> <b>Michelle Iskandar</b> </sub>        \n\t\t</a>\n\t\t<br />\n\t\t\t<!-- ADD GITHUB REPOSITORY AND PROJECT, TITLE AND EMOJIS -->\n            <a href=\"https://github.com/budai4medtech/xfetus/commits?author=michellepi\" title=\"Code\">\ud83d\udcbb</a>\n\t\t\t<a href=\"https://github.com/budai4medtech/xfetus/commits?author=michellepi\" title=\"Research\">  \ud83d\udd2c \ud83e\udd14  </a>\n\t</td>\n\t<!-- CONTRIBUTOR -->\n\t<td align=\"center\">\n\t\t<a href=\"https://github.com/budai4medtech\"><img src=\"https://avatars1.githubusercontent.com/u/11370681?v=4?s=100\" width=\"100px;\" alt=\"\"/>\n\t\t\t<br />\n\t\t\t<sub><b>Miguel Xochicale</b></sub>          \n\t\t\t<br />\n\t\t</a>\n\t\t\t<a href=\"https://github.com/budai4medtech/xfetus/commits?author=mxochicale\" title=\"Code\">\ud83d\udcbb</a> \n\t\t\t<a href=\"ttps://github.com/budai4medtech/xfetus/commits?author=mxochicale\" title=\"Documentation\">\ud83d\udcd6  \ud83d\udd27 </a>\n\t</td>\n  </tr>\n</table>\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis work follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification.  \nContributions of any kind welcome!\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Python-based library for Synthesis of Ultrasound Fetal Imaging",
    "version": "0.0.7",
    "project_urls": {
        "Source": "https://github.com/budai4medtech/xfetus",
        "Tracker": "https://github.com/budai4medtech/xfetus/issues"
    },
    "split_keywords": [
        "artificial intelligence",
        "diffusion models"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c5b9e421ec61e7cdc5677bace701fe7e5d448ae731500aeff393cb66f799423c",
                "md5": "7a7de6e8b1cd454769df42fa28d12359",
                "sha256": "21b0ccf5b3e15b2ccbf6030c43cb9e612d41bf1f56dc31f6d3f2b6f0f463553a"
            },
            "downloads": -1,
            "filename": "xfetus-0.0.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "7a7de6e8b1cd454769df42fa28d12359",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 5095,
            "upload_time": "2023-08-14T20:58:10",
            "upload_time_iso_8601": "2023-08-14T20:58:10.512008Z",
            "url": "https://files.pythonhosted.org/packages/c5/b9/e421ec61e7cdc5677bace701fe7e5d448ae731500aeff393cb66f799423c/xfetus-0.0.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "12e5a0829242268d4f128cf95ce30217e3d3df7d81a71d1a1243398713748724",
                "md5": "58faf8bc3afd0d43a4217a7dcd78e7a2",
                "sha256": "6c772096a70fef4ba16e62c9fcaf31f56a380119cbc3abe83575dfb66dffec65"
            },
            "downloads": -1,
            "filename": "xfetus-0.0.7.tar.gz",
            "has_sig": false,
            "md5_digest": "58faf8bc3afd0d43a4217a7dcd78e7a2",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 5308,
            "upload_time": "2023-08-14T20:58:11",
            "upload_time_iso_8601": "2023-08-14T20:58:11.748095Z",
            "url": "https://files.pythonhosted.org/packages/12/e5/a0829242268d4f128cf95ce30217e3d3df7d81a71d1a1243398713748724/xfetus-0.0.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-14 20:58:11",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "budai4medtech",
    "github_project": "xfetus",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "xfetus"
}
        
Elapsed time: 0.10910s