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
segmentation-0.2.0.tar.gz
(139.8 kB
view hashes)
Built Distributions
Close
Hashes for segmentation-0.2.0-cp38-cp38-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f305ca28a8eb08ddfcb9b1478b04dbd9f6dd3f3f192b1d5741eb8a36475b57e |
|
MD5 | 3f64610c92d9b33164107dc4f653b980 |
|
BLAKE2b-256 | 6c27929cc33e85f388481c8ac2387ecb2843c35676be767f9744ef6e52e4cfae |
Close
Hashes for segmentation-0.2.0-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4aadfe73a680c58676146db4f4a39e222468df1a391eabc8788f30520fef57d6 |
|
MD5 | ced7e4f0205382fb3bd573ad519be22b |
|
BLAKE2b-256 | ba41520c03fb1a70a8f3f8c72cb73164dee2594990ce10198b5cf1f1cb750fee |
Close
Hashes for segmentation-0.2.0-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a8a687cde5483db67bad2f01bcebf430979af719edc05c7546b09cb5657db0c |
|
MD5 | 22f654b78a61f664f7b34d66ce31a5e8 |
|
BLAKE2b-256 | def3a72980e20f492b699ce58ae1b939448dc0382714e6f5a404ed12a0464a41 |
Close
Hashes for segmentation-0.2.0-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e451e70224d050692a88e9d41beba2c667d025226b37cc04cb9f3d9ab9dd37a2 |
|
MD5 | 970cb6aab9c40f708ed87d559b39c2fb |
|
BLAKE2b-256 | d97da2f62d506453e44ff3e9d36131634670f3ef38000f7b5f81a08e3822d6f5 |
Close
Hashes for segmentation-0.2.0-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 113b76be3ffc2ebd81b249673a220d1632911c0a4759e358f4a12c94054cc4d6 |
|
MD5 | b66dee6f0519c766d5239a3ccb9a10f2 |
|
BLAKE2b-256 | 3862aed81294730dccb81d507356d0140acda376f657de08e6a602aa59fd3356 |
Close
Hashes for segmentation-0.2.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9585ce13339358a8aff1f8d135b60c10394fc44ed1846320f7085db43487f1b5 |
|
MD5 | 4abf24a274248ac244717cfa739ea2fe |
|
BLAKE2b-256 | be2e88870feec44e9e8a639877738f7c7ef883e9b148abdd35b49eb98ebed24d |
Close
Hashes for segmentation-0.2.0-cp35-cp35m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 112276f54e551b9568572873907e7135e63520a7c3441379b35bcf140fc1e87a |
|
MD5 | 71dec50312a13c44677c121bd4a0a747 |
|
BLAKE2b-256 | a8b7b7691a53d7114cb1eabdd551a03453a59018dba151a2fb1ca624898a6588 |
Close
Hashes for segmentation-0.2.0-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd9aa42652ad3369e7c4db943d8b9241d83b814ff143ed7310c262ee3f0ecb3d |
|
MD5 | 76957ad9493942dfba127fbd95a6564e |
|
BLAKE2b-256 | 8a7e75919d213c4cce34c15978b87ed0116c3e2713ac737fe12825641b8632ba |
Close
Hashes for segmentation-0.2.0-cp27-cp27m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7914a205b5f281c9d661456478c243ccd3ffb3d0302d2651914c1ed348eef84 |
|
MD5 | 683bd23ae68a12254fdbe6b7fada4fb3 |
|
BLAKE2b-256 | 6e143ed1755bc5949793a9165b864987d98e4ccbb8e2b0c97b60e986c9ea6f51 |
Close
Hashes for segmentation-0.2.0-cp27-cp27m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 576cea7b7b651465a73bf7a53af2f31cf9933631bf674c809514413531ebde0b |
|
MD5 | 75ea764bc899297fb9c16e7706f9c361 |
|
BLAKE2b-256 | e95d017193cdf43e1c55d65f24f2098b9a91b0945d768f60edb609743f20e83d |