Fast Mixture Model Segmentation
Fast mixture model segmentation used in Boone and Andrews labs
Python requirements
- Numpy
- Cython
- scikit-image
Installation
Create a virtual environment (optional)
$ virtualenv -ppython3 segmentation-env
$ source segmentation-env/bin/activate
Install python requirements (needed to build the package)
$ pip install numpy cython
Install our library (pulls in all other dependencies)
$ pip install segmentation
Usage example
import segmentation as seg
from skimage.io import imread
image = imread('./001001000.tiff', plugin='tifffile')[1] # Read channel 1 of a tiff/flex
im = seg.blur_frame(image) # gaussian blur
segmented, _ = seg.mixture_model(im, debug=True) # second return argument is currently unused
labels = seg.watershed(im, segmented)
Metadata
Release files for segmentation 0.2.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 | |
|---|---|---|---|
| segmentation-0.2.2.tar.gz | 133.0 kB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| segmentation-0.2.2-cp39-cp39-manylinux2010_x86_64.whl | CPython 3.9 | CPython 3.9 | Linux glibc 2.12+ x86-64 | Details |
| segmentation-0.2.2-cp39-cp39-manylinux1_x86_64.whl | CPython 3.9 | CPython 3.9 | Linux glibc 2.5+ x86-64 | Details |
| segmentation-0.2.2-cp38-cp38-manylinux2010_x86_64.whl | CPython 3.8 | CPython 3.8 | Linux glibc 2.12+ x86-64 | Details |
| segmentation-0.2.2-cp38-cp38-manylinux1_x86_64.whl | CPython 3.8 | CPython 3.8 | Linux glibc 2.5+ x86-64 | Details |
| segmentation-0.2.2-cp37-cp37m-manylinux2010_x86_64.whl | CPython 3.7 | CPython 3.7 pymalloc | Linux glibc 2.12+ x86-64 | Details |
| segmentation-0.2.2-cp37-cp37m-manylinux1_x86_64.whl | CPython 3.7 | CPython 3.7 pymalloc | Linux glibc 2.5+ x86-64 | Details |
| segmentation-0.2.2-cp36-cp36m-manylinux2010_x86_64.whl | CPython 3.6 | CPython 3.6 pymalloc | Linux glibc 2.12+ x86-64 | Details |
| segmentation-0.2.2-cp36-cp36m-manylinux1_x86_64.whl | CPython 3.6 | CPython 3.6 pymalloc | Linux glibc 2.5+ x86-64 | Details |
Total release size: 3.9 MB
Release files / segmentation-0.2.2.tar.gz
| Download URL | segmentation-0.2.2.tar.gz |
|---|---|
| Size | 133.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
13132cc4183aad4c69eb3a93ab6632176c7572ea2506b42a988cb2cc9fcacc30
|
|
BLAKE2b-256 checksum How to use checksums |
90bd4cbed1197a181513c71fa5a13dd3299501f7678510cdd9e7fda344d5eb07
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8
|
Release files / segmentation-0.2.2-cp39-cp39-manylinux2010_x86_64.whl
| Download URL | segmentation-0.2.2-cp39-cp39-manylinux2010_x86_64.whl |
|---|---|
| Size | 475.4 kB |
| Tags | CPython 3.9 Linux glibc 2.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
2dd1c27ae2926163ae7a4def4668319fe00d19f6c17acc18da0ec41daece77dc
|
|
BLAKE2b-256 checksum How to use checksums |
c87cca928780dc7057be6fca88b78c68d4932302e25c85bc0067f036f00f3cab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8
|
Release files / segmentation-0.2.2-cp39-cp39-manylinux1_x86_64.whl
| Download URL | segmentation-0.2.2-cp39-cp39-manylinux1_x86_64.whl |
|---|---|
| Size | 475.4 kB |
| Tags | CPython 3.9 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
e7061ea843effb1a921aa037374f2af146e1b9f274f6ecedb80493b3182bc029
|
|
BLAKE2b-256 checksum How to use checksums |
3a5f932f2de640b29d5faa5b13ff87f8155d2d658604cf96f8c932bbf0e58da4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8
|
Release files / segmentation-0.2.2-cp38-cp38-manylinux2010_x86_64.whl
| Download URL | segmentation-0.2.2-cp38-cp38-manylinux2010_x86_64.whl |
|---|---|
| Size | 491.2 kB |
| Tags | CPython 3.8 Linux glibc 2.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
b3545b1d228605d587183e49f531e1c4805727b648f07e0fed61a3a69f7f3a29
|
|
BLAKE2b-256 checksum How to use checksums |
88dff7ae318505a7f2d15ac883f447ca642f565ad4c9e629fe16b7642b8988da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8
|
Release files / segmentation-0.2.2-cp38-cp38-manylinux1_x86_64.whl
| Download URL | segmentation-0.2.2-cp38-cp38-manylinux1_x86_64.whl |
|---|---|
| Size | 491.2 kB |
| Tags | CPython 3.8 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
43fcdc76f29a5cf5355d8489812cc09ae3ae21acfbf9c62f1ac29ca8e964d67f
|
|
BLAKE2b-256 checksum How to use checksums |
431a061a083bdff6e5bd784c6dd44ac5565ba0d314f51f81188b72f9742568ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8
|
Release files / segmentation-0.2.2-cp37-cp37m-manylinux2010_x86_64.whl
| Download URL | segmentation-0.2.2-cp37-cp37m-manylinux2010_x86_64.whl |
|---|---|
| Size | 449.8 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
062baafc99605edd79ed7f8dc2a028880940214c167a3e52376e9892fa663815
|
|
BLAKE2b-256 checksum How to use checksums |
631f23c82571f516822042ab9b56ac201f0c3e6501556ff2af9bf666585a2097
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8
|
Release files / segmentation-0.2.2-cp37-cp37m-manylinux1_x86_64.whl
| Download URL | segmentation-0.2.2-cp37-cp37m-manylinux1_x86_64.whl |
|---|---|
| Size | 449.8 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
f7aa4684fcb58897201c63b546bd8fe4c894984a9582a7b2f8e39522b1b59465
|
|
BLAKE2b-256 checksum How to use checksums |
ebce9e46467d9c0e3198e82c5a2536b00c6dfb4cc4b67f45089b1e01b919661a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8
|
Release files / segmentation-0.2.2-cp36-cp36m-manylinux2010_x86_64.whl
| Download URL | segmentation-0.2.2-cp36-cp36m-manylinux2010_x86_64.whl |
|---|---|
| Size | 450.1 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
157ffdd7f54d15bca418c507c333ae9050e8b1f89d66bf6e31cc37188f02ec7c
|
|
BLAKE2b-256 checksum How to use checksums |
df8a0186f2b64480efb235a417a7d1ed63a2f08f742ae1a0eaaf3b5d67c08cd8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8
|
Release files / segmentation-0.2.2-cp36-cp36m-manylinux1_x86_64.whl
| Download URL | segmentation-0.2.2-cp36-cp36m-manylinux1_x86_64.whl |
|---|---|
| Size | 450.1 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
382592137e75b08f6de804b298cf1db94b79d5c7b98ab2156bb92ec78f221309
|
|
BLAKE2b-256 checksum How to use checksums |
0f4f0309c8e5c6ad7c7facf9ae15ecbc2075244580122b217943f28ab914f8e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8
|