Skip to main content

Mixture model segmentation

Project description

Python package

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 details)

Uploaded Source

Built Distributions

segmentation-0.2.1-cp38-cp38-manylinux2010_x86_64.whl (492.1 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.12+ x86-64

segmentation-0.2.1-cp38-cp38-manylinux1_x86_64.whl (492.1 kB view details)

Uploaded CPython 3.8

segmentation-0.2.1-cp37-cp37m-manylinux2010_x86_64.whl (450.0 kB view details)

Uploaded CPython 3.7m manylinux: glibc 2.12+ x86-64

segmentation-0.2.1-cp37-cp37m-manylinux1_x86_64.whl (450.0 kB view details)

Uploaded CPython 3.7m

segmentation-0.2.1-cp36-cp36m-manylinux2010_x86_64.whl (451.3 kB view details)

Uploaded CPython 3.6m manylinux: glibc 2.12+ x86-64

segmentation-0.2.1-cp36-cp36m-manylinux1_x86_64.whl (451.3 kB view details)

Uploaded CPython 3.6m

segmentation-0.2.1-cp35-cp35m-manylinux2010_x86_64.whl (444.9 kB view details)

Uploaded CPython 3.5m manylinux: glibc 2.12+ x86-64

segmentation-0.2.1-cp35-cp35m-manylinux1_x86_64.whl (444.9 kB view details)

Uploaded CPython 3.5m

segmentation-0.2.1-cp27-cp27m-manylinux2010_x86_64.whl (438.0 kB view details)

Uploaded CPython 2.7m manylinux: glibc 2.12+ x86-64

segmentation-0.2.1-cp27-cp27m-manylinux1_x86_64.whl (438.0 kB view details)

Uploaded CPython 2.7m

File details

Details for the file segmentation-0.2.1.tar.gz.

File metadata

  • Download URL: segmentation-0.2.1.tar.gz
  • Upload date:
  • Size: 141.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for segmentation-0.2.1.tar.gz
Algorithm Hash digest
SHA256 dc126348efa731ff602190d29c0ddf44cfa2a3a86c5adbfb1ebe538119f45141
MD5 a2e651fce7ed9e0a03b63383225f16b1
BLAKE2b-256 329bc8ee7b73b54ab794b07526f0b83a005ceac0c96d8f132bdf02de1316e765

See more details on using hashes here.

File details

Details for the file segmentation-0.2.1-cp38-cp38-manylinux2010_x86_64.whl.

File metadata

  • Download URL: segmentation-0.2.1-cp38-cp38-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 492.1 kB
  • Tags: CPython 3.8, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for segmentation-0.2.1-cp38-cp38-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 90f2f7048e04d6444cd801ebdaca274ce239d5be72e9fde1de12e7566e7bd381
MD5 009dc1e2f598b723a3f063a70ce7d7a4
BLAKE2b-256 346caed74692258d5ba0c17b9bf6d3bd2dcd286fe6474f8d1bed8bff4b126e56

See more details on using hashes here.

File details

Details for the file segmentation-0.2.1-cp38-cp38-manylinux1_x86_64.whl.

File metadata

  • Download URL: segmentation-0.2.1-cp38-cp38-manylinux1_x86_64.whl
  • Upload date:
  • Size: 492.1 kB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for segmentation-0.2.1-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 0bb0b4ac72dd75a73cb263c161cd2d08761689d6878428e4913514c1f4d1fc2a
MD5 fc842792b02766278ae986d1a66b4d66
BLAKE2b-256 83adae6574718a13da5ba6ab177597d5bdc585bf92660565580b909a16d89d87

See more details on using hashes here.

File details

Details for the file segmentation-0.2.1-cp37-cp37m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: segmentation-0.2.1-cp37-cp37m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 450.0 kB
  • Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for segmentation-0.2.1-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 7af75dcd3bec975571b7aee227fcb9371c515973969348aed161fc4ba12e65df
MD5 999a39d6bfbb0f30270331518263369a
BLAKE2b-256 e2a7c1e150642b8900bdb9c3b00e32d475f70cd0a8110ea83e553a71e645d228

See more details on using hashes here.

File details

Details for the file segmentation-0.2.1-cp37-cp37m-manylinux1_x86_64.whl.

File metadata

  • Download URL: segmentation-0.2.1-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 450.0 kB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for segmentation-0.2.1-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 af257e29c7901e03ce83e4eac21f23f8c1d289801c6458586dd64ecf1cf64bcd
MD5 2d64e86fbcbcd9b05b2476002cf3178a
BLAKE2b-256 cbeeab043d769be1ab7228428fefbce793f3e1e09fdb5ba96551d0be034f444e

See more details on using hashes here.

File details

Details for the file segmentation-0.2.1-cp36-cp36m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: segmentation-0.2.1-cp36-cp36m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 451.3 kB
  • Tags: CPython 3.6m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for segmentation-0.2.1-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 ca14ce55d24e5f689c52c9c64280c2a4aeb973134505cb0d1684ba9bd287cee1
MD5 91f20d1aa7c730741092020e8a0e9579
BLAKE2b-256 dd54e08df502fc1f8e7e5037a74b309c28c6f990a7cef0ba280cbb064fb2d0d2

See more details on using hashes here.

File details

Details for the file segmentation-0.2.1-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

  • Download URL: segmentation-0.2.1-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 451.3 kB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for segmentation-0.2.1-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 1fd663b886d4f6c06220c5bf4014a0c3c32aa3d32187809062253c11b4f92b8c
MD5 93aea67bdf9a7453cbb400d0c6039953
BLAKE2b-256 1b5938f5c6fe1de02849bb6642a862c478c8f41059628aafe38c8dbd00e27c2d

See more details on using hashes here.

File details

Details for the file segmentation-0.2.1-cp35-cp35m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: segmentation-0.2.1-cp35-cp35m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 444.9 kB
  • Tags: CPython 3.5m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for segmentation-0.2.1-cp35-cp35m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 9dacc1bbc3211b5c7ecab473a0b86264646504a82e79718b965982e0b960d88e
MD5 92b94fed98aa767c04465ec8b9a772a0
BLAKE2b-256 f7535117e5b5f6721dba6ecd201274ed525df5468f9834fb8f9f8b3f109f06fb

See more details on using hashes here.

File details

Details for the file segmentation-0.2.1-cp35-cp35m-manylinux1_x86_64.whl.

File metadata

  • Download URL: segmentation-0.2.1-cp35-cp35m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 444.9 kB
  • Tags: CPython 3.5m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for segmentation-0.2.1-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 07d5c80823488a0f256ac91c9fcfb345d59647dc8e93d0f8601e2ecca0c8349a
MD5 9ebb3b18b633438b28c1316c77081665
BLAKE2b-256 0d74d75efd5797a423212189f843e9636ba8c76498a2350d29932db11670f23a

See more details on using hashes here.

File details

Details for the file segmentation-0.2.1-cp27-cp27m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: segmentation-0.2.1-cp27-cp27m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 438.0 kB
  • Tags: CPython 2.7m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for segmentation-0.2.1-cp27-cp27m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 48c470e42de7c41a2185ac49a6dc466ffdfe0170823039223fccdc55adfe9eb0
MD5 b6fdf6521914c743fe6c03e53212dc87
BLAKE2b-256 045cbac0c0f5179525826f1ab72df3f9f3d26dbb93a14d2b8aba589b0ce42bd8

See more details on using hashes here.

File details

Details for the file segmentation-0.2.1-cp27-cp27m-manylinux1_x86_64.whl.

File metadata

  • Download URL: segmentation-0.2.1-cp27-cp27m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 438.0 kB
  • Tags: CPython 2.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for segmentation-0.2.1-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 cfce902246f12288788a443357724e02efbee9bf235a80ecde6b56cf3c3a2741
MD5 7af5744073c81217c5a011e7e7de490a
BLAKE2b-256 e2e5625b2dad97400ea4bec8a58a7dd23c73a518b9bc70bfbf8e62345813338e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page