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.1.tar.gz
(141.2 kB
view hashes)
Built Distributions
Close
Hashes for segmentation-0.2.1-cp38-cp38-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90f2f7048e04d6444cd801ebdaca274ce239d5be72e9fde1de12e7566e7bd381 |
|
MD5 | 009dc1e2f598b723a3f063a70ce7d7a4 |
|
BLAKE2b-256 | 346caed74692258d5ba0c17b9bf6d3bd2dcd286fe6474f8d1bed8bff4b126e56 |
Close
Hashes for segmentation-0.2.1-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0bb0b4ac72dd75a73cb263c161cd2d08761689d6878428e4913514c1f4d1fc2a |
|
MD5 | fc842792b02766278ae986d1a66b4d66 |
|
BLAKE2b-256 | 83adae6574718a13da5ba6ab177597d5bdc585bf92660565580b909a16d89d87 |
Close
Hashes for segmentation-0.2.1-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7af75dcd3bec975571b7aee227fcb9371c515973969348aed161fc4ba12e65df |
|
MD5 | 999a39d6bfbb0f30270331518263369a |
|
BLAKE2b-256 | e2a7c1e150642b8900bdb9c3b00e32d475f70cd0a8110ea83e553a71e645d228 |
Close
Hashes for segmentation-0.2.1-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | af257e29c7901e03ce83e4eac21f23f8c1d289801c6458586dd64ecf1cf64bcd |
|
MD5 | 2d64e86fbcbcd9b05b2476002cf3178a |
|
BLAKE2b-256 | cbeeab043d769be1ab7228428fefbce793f3e1e09fdb5ba96551d0be034f444e |
Close
Hashes for segmentation-0.2.1-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca14ce55d24e5f689c52c9c64280c2a4aeb973134505cb0d1684ba9bd287cee1 |
|
MD5 | 91f20d1aa7c730741092020e8a0e9579 |
|
BLAKE2b-256 | dd54e08df502fc1f8e7e5037a74b309c28c6f990a7cef0ba280cbb064fb2d0d2 |
Close
Hashes for segmentation-0.2.1-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1fd663b886d4f6c06220c5bf4014a0c3c32aa3d32187809062253c11b4f92b8c |
|
MD5 | 93aea67bdf9a7453cbb400d0c6039953 |
|
BLAKE2b-256 | 1b5938f5c6fe1de02849bb6642a862c478c8f41059628aafe38c8dbd00e27c2d |
Close
Hashes for segmentation-0.2.1-cp35-cp35m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9dacc1bbc3211b5c7ecab473a0b86264646504a82e79718b965982e0b960d88e |
|
MD5 | 92b94fed98aa767c04465ec8b9a772a0 |
|
BLAKE2b-256 | f7535117e5b5f6721dba6ecd201274ed525df5468f9834fb8f9f8b3f109f06fb |
Close
Hashes for segmentation-0.2.1-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07d5c80823488a0f256ac91c9fcfb345d59647dc8e93d0f8601e2ecca0c8349a |
|
MD5 | 9ebb3b18b633438b28c1316c77081665 |
|
BLAKE2b-256 | 0d74d75efd5797a423212189f843e9636ba8c76498a2350d29932db11670f23a |
Close
Hashes for segmentation-0.2.1-cp27-cp27m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48c470e42de7c41a2185ac49a6dc466ffdfe0170823039223fccdc55adfe9eb0 |
|
MD5 | b6fdf6521914c743fe6c03e53212dc87 |
|
BLAKE2b-256 | 045cbac0c0f5179525826f1ab72df3f9f3d26dbb93a14d2b8aba589b0ce42bd8 |
Close
Hashes for segmentation-0.2.1-cp27-cp27m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cfce902246f12288788a443357724e02efbee9bf235a80ecde6b56cf3c3a2741 |
|
MD5 | 7af5744073c81217c5a011e7e7de490a |
|
BLAKE2b-256 | e2e5625b2dad97400ea4bec8a58a7dd23c73a518b9bc70bfbf8e62345813338e |