Mixture model segmentation
Project description
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)
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
Built Distributions
File details
Details for the file segmentation-0.2.2.tar.gz
.
File metadata
- Download URL: segmentation-0.2.2.tar.gz
- Upload date:
- Size: 133.0 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13132cc4183aad4c69eb3a93ab6632176c7572ea2506b42a988cb2cc9fcacc30 |
|
MD5 | a0210b3cbc4d5c8cb8f63023455af5ae |
|
BLAKE2b-256 | 90bd4cbed1197a181513c71fa5a13dd3299501f7678510cdd9e7fda344d5eb07 |
File details
Details for the file segmentation-0.2.2-cp39-cp39-manylinux2010_x86_64.whl
.
File metadata
- Download URL: segmentation-0.2.2-cp39-cp39-manylinux2010_x86_64.whl
- Upload date:
- Size: 475.4 kB
- Tags: CPython 3.9, manylinux: glibc 2.12+ x86-64
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2dd1c27ae2926163ae7a4def4668319fe00d19f6c17acc18da0ec41daece77dc |
|
MD5 | fe7b49d93590b13554218545d9dd2244 |
|
BLAKE2b-256 | c87cca928780dc7057be6fca88b78c68d4932302e25c85bc0067f036f00f3cab |
File details
Details for the file segmentation-0.2.2-cp39-cp39-manylinux1_x86_64.whl
.
File metadata
- Download URL: segmentation-0.2.2-cp39-cp39-manylinux1_x86_64.whl
- Upload date:
- Size: 475.4 kB
- Tags: CPython 3.9
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7061ea843effb1a921aa037374f2af146e1b9f274f6ecedb80493b3182bc029 |
|
MD5 | a42932d50e0b3df5cc05734264620275 |
|
BLAKE2b-256 | 3a5f932f2de640b29d5faa5b13ff87f8155d2d658604cf96f8c932bbf0e58da4 |
File details
Details for the file segmentation-0.2.2-cp38-cp38-manylinux2010_x86_64.whl
.
File metadata
- Download URL: segmentation-0.2.2-cp38-cp38-manylinux2010_x86_64.whl
- Upload date:
- Size: 491.2 kB
- Tags: CPython 3.8, manylinux: glibc 2.12+ x86-64
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3545b1d228605d587183e49f531e1c4805727b648f07e0fed61a3a69f7f3a29 |
|
MD5 | 6a02d7ddeaa7ca41af95ca063359003d |
|
BLAKE2b-256 | 88dff7ae318505a7f2d15ac883f447ca642f565ad4c9e629fe16b7642b8988da |
File details
Details for the file segmentation-0.2.2-cp38-cp38-manylinux1_x86_64.whl
.
File metadata
- Download URL: segmentation-0.2.2-cp38-cp38-manylinux1_x86_64.whl
- Upload date:
- Size: 491.2 kB
- Tags: CPython 3.8
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43fcdc76f29a5cf5355d8489812cc09ae3ae21acfbf9c62f1ac29ca8e964d67f |
|
MD5 | 9c040fe0b7c6425cbe2a47243af9e1fc |
|
BLAKE2b-256 | 431a061a083bdff6e5bd784c6dd44ac5565ba0d314f51f81188b72f9742568ff |
File details
Details for the file segmentation-0.2.2-cp37-cp37m-manylinux2010_x86_64.whl
.
File metadata
- Download URL: segmentation-0.2.2-cp37-cp37m-manylinux2010_x86_64.whl
- Upload date:
- Size: 449.8 kB
- Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 062baafc99605edd79ed7f8dc2a028880940214c167a3e52376e9892fa663815 |
|
MD5 | 6e4b166d104793a09f8f67dbed2f6cbd |
|
BLAKE2b-256 | 631f23c82571f516822042ab9b56ac201f0c3e6501556ff2af9bf666585a2097 |
File details
Details for the file segmentation-0.2.2-cp37-cp37m-manylinux1_x86_64.whl
.
File metadata
- Download URL: segmentation-0.2.2-cp37-cp37m-manylinux1_x86_64.whl
- Upload date:
- Size: 449.8 kB
- Tags: CPython 3.7m
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7aa4684fcb58897201c63b546bd8fe4c894984a9582a7b2f8e39522b1b59465 |
|
MD5 | d06ad4ec6cbf8a30faeaf5416d2966ec |
|
BLAKE2b-256 | ebce9e46467d9c0e3198e82c5a2536b00c6dfb4cc4b67f45089b1e01b919661a |
File details
Details for the file segmentation-0.2.2-cp36-cp36m-manylinux2010_x86_64.whl
.
File metadata
- Download URL: segmentation-0.2.2-cp36-cp36m-manylinux2010_x86_64.whl
- Upload date:
- Size: 450.1 kB
- Tags: CPython 3.6m, manylinux: glibc 2.12+ x86-64
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 157ffdd7f54d15bca418c507c333ae9050e8b1f89d66bf6e31cc37188f02ec7c |
|
MD5 | c681011d7ea04eba0a7b72421d48e9ba |
|
BLAKE2b-256 | df8a0186f2b64480efb235a417a7d1ed63a2f08f742ae1a0eaaf3b5d67c08cd8 |
File details
Details for the file segmentation-0.2.2-cp36-cp36m-manylinux1_x86_64.whl
.
File metadata
- Download URL: segmentation-0.2.2-cp36-cp36m-manylinux1_x86_64.whl
- Upload date:
- Size: 450.1 kB
- Tags: CPython 3.6m
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 382592137e75b08f6de804b298cf1db94b79d5c7b98ab2156bb92ec78f221309 |
|
MD5 | 698511a97fa824b06195e71eef059437 |
|
BLAKE2b-256 | 0f4f0309c8e5c6ad7c7facf9ae15ecbc2075244580122b217943f28ab914f8e1 |