This is a tool that fits Gaussian Mixture Models to grey value distributions from X-ray micro-computed tomography images. This tool was developed as part of a PhD project at the University of Southampton in the 3-D X-ray histology team.
How it works
GaussQuality fits a 1-D Gaussian Mixture Model (GMM) to the grey value distribution of a 2D X-ray micro-computed tomography (μCT) image. The GMM fits a specified number of Gaussian components to the grey value distribution, where each component represents the distribution of grey values for a single material in the specimen. The mean (μ), standard deviation (σ), and weight (φ) of each Gaussian component are estimated.
- μ is the location of the Gaussian along the grey value axis, dependent on X-ray interactions with the material
- σ is its spread which is dependent on heterogeneity of the material and image noise
- φ is the proportion of the image taken up by this material
μ and σ can be used to calculate signal-to-noise ratio (SNR) and contrast-to-noise ratio (CNR).
μ, σ, and φ can be estimated for several 2D images in a 3D stack, showing how the image varies in 3D. Only one 2D image is held in memory at once, so images larger than memory can be processed. 3D images must be saved as sequences of 2D images.
Installation
GUI
Download the .exe for Windows or .app for MacOS.
Simply double click the executable and the GUI should start. If you have any trouble, try opening the executable in a terminal to debug any errors.
Python library
GaussQuality is available on conda. In the terminal:
conda activate <myenv>
conda install gaussquality
Example usage
See GaussQuality_Example.ipynb for a demo, and explanation of what each parameter controls.
Citation
API Docs
Metadata
Release files for gaussquality 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gaussquality-0.0.2.tar.gz | 27.2 kB | Without provenance | Details for gaussquality-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gaussquality-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for gaussquality-0.0.2-py3-none-any.whl |
Total release size: 54.1 kB
Release files / gaussquality-0.0.2.tar.gz
| Download URL | gaussquality-0.0.2.tar.gz |
|---|---|
| Size | 27.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
25014e56f761252858c540c72a290b0bc0d5a95b19bdd92404c5415806999e56
|
|
BLAKE2b-256 checksum How to use checksums |
54839f4df4b8263231c78704022a23bc87c7cf8621d05446af18a20cad0f7bf9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5
|
Release files / gaussquality-0.0.2-py3-none-any.whl
| Download URL | gaussquality-0.0.2-py3-none-any.whl |
|---|---|
| Size | 26.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9e192446cb888058f6e29c17f41260b61a19ff6b6a93b579afc0fb45f4766292
|
|
BLAKE2b-256 checksum How to use checksums |
de6ddb3ad33a76e3efc2de5f66ea171f2ba053cdacb32bbae2c65664a21db68d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5
|
Security for gaussquality 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.