Sampling image segmentations with Gaussian process
Project description
gpssi
This repository provides code for the paper:
Lê, Matthieu, et al. "Sampling image segmentations for uncertainty quantification." Medical image analysis 34 (2016): 42-51. doi:10.1016/j.media.2016.04.005
Note that this is not an official implementation by the authors and was motivated by the lack of publicly available code. Be aware that there might be difference to the original implementation.
Implementation Details
Geodesic map
To produce the geodesic maps, this project relies on the GeodisTK packages. This package can be installed via pip or via source code (https://github.com/taigw/GeodisTK). Due to observed issues when installing the package via pip, we suggest to install it from the github link (see installation).
Factorization via Kronecker
The authors use a Kronecker matrix representation of the covariance matrix to overcome the issue of large covariance matrices.
This project implements the kronecker matrix-vector product based on following reference:
- Saatçi, Yunus. Scalable inference for structured Gaussian process models. Diss. University of Cambridge, 2012.
- Gilboa, Elad, Yunus Saatçi, and John P. Cunningham. "Scaling multidimensional inference for structured Gaussian processes." IEEE transactions on pattern analysis and machine intelligence 37.2 (2013): 424-436.
Installation
This projects is available as python package and can be installed by
pip install gpssi
Otherwise, the package can also from the source code via
git clone https://github.com/alainjungo/gpssi.git
cd gpssi
pip install .
The GeodisTK package is not installed automatically and has to be installed manually. We propose to use the direct installation via source code:
pip install git+https://github.com/taigw/GeodisTK.git
Alternatively, you can try installing it from pypi (pip install GeodisTK)
Usage
See gpssi_example.py for an example usage.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gpssi-0.1.2.tar.gz.
File metadata
- Download URL: gpssi-0.1.2.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b6771872e12e933fed4b36c0b3a0be26cd1ceb7b80c0598b5acc25fa93b5d016
|
|
| MD5 |
5b97a188d29c63f74e91ae58a8854923
|
|
| BLAKE2b-256 |
418a4949847c924fee1fb7a8f74e77ff15d76c4fd67d9d368b0447e12858b81e
|
File details
Details for the file gpssi-0.1.2-py3-none-any.whl.
File metadata
- Download URL: gpssi-0.1.2-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6440c49288217171c27fd3ae2348911f19b74e1cfca23e5234b846c6a71aedbb
|
|
| MD5 |
44eef7711a854337fb09c7dab1009cdf
|
|
| BLAKE2b-256 |
1ab5c364d6c1760a585d61c7174d2479a6bd13ccfbbbddb352b6a81ebe0c9b38
|