Skip to main content

PartSeg is python GUI for bio imaging analysis especially nucleus analysis,

Project description

PartSeg

Travis Build Status Tests PyPI version Documentation Status Azure Pipelines Build Status DOI Total alerts Language grade: Python Codacy Badge Requirements Status Code Style

PartSeg is gui and library for segmentation algorithms.

This application is designed to help biologist with segmentation based on threshold and connected components

interface

Tutorials

  • Tutorial: Chromosome 1 (as gui) link
  • Data for chromosome 1 tutorial link
  • Tutorial: Different neuron types (as library) link

Installing

  • From binaries:

    • Windows (build on Windows 10)
    • Linux (build on Ubuntu 18.04)
    • MacOS (build on MacOS Mojave)
  • With pip (on linux you need to install numpy and cython earlier)

    • From pypi: pip install PartSeg[pyqt]
    • From repository: pip install git+https://github.com/4DNucleome/PartSeg.git

Running

If you download binaries look for PartSeg_exec file inside the PartSeg folder

If you install from repository or from pip you cat run it with PartSeg command or python -m PartSeg. First option do not work on Windows.

PartSeg export few commandline options:

  • --no_report - disable reporting errors to authors
  • --no_dialog - disable reporting errors to authors and showing error dialog. Use only when running from terminal.
  • segmentation_analysis - skip launcher and start analysis gui
  • segmentation - skip launcher and start segmentation gui

Additional remarks

PartSeg use current imagecodecs-lite as backed for tifffile. You may install full version if imagecodecs manually.

Save Format

Saved project are tar files compressed with gzip or bz2

Metadata are saved in data.json file (in json format) images/mask are saved as *.npy (numpy array format)

Interface

Launcher. Chose program that you will launch:

launcher

Main window of Segmentation Analysis:

interface

Main window of Segmentation Analysis with view on measurement result:

interface

Window for creating set of measurements:

statistics

Main window of Mask Segmentation:

mask interface

Laboratory

Laboratory of functional and structural genomics http://4dnucleome.cent.uw.edu.pl/

Changelog

0.10.7

  • in measurements, on empty list of components mean will return 0

0.10.6

  • fix border rim preview
  • fix problem with size of image preview
  • zoom with scroll and moving if rectangle zoom is not marked

0.10.5

  • make PartSeg PEP517 compatible.
  • fix multiple files widget on Windows (path normalisation)

0.10.4

  • fix slow zoom

0.10.3

  • deterministic order of elements in batch processing.

0.10.2

  • bugfixes

0.10.1

  • bugfixes

0.10.0

  • Add creating custom label coloring.
  • Change execs interpreter to python 3.7.
  • Add masking operation in Segmentation Mask.
  • Change license to BSD.
  • Allow select root type in batch processing.
  • Add median filter in preview.

0.9.7

  • fix bug in compare mask

0.9.6

  • fix bug in loading project with mask
  • upgrade PyInstaller version (bug GHSA-7fcj-pq9j-wh2r)

0.9.5

  • fix bug in loading project in "Segmentation analysis"

0.9.4

  • read mask segmentation projects
  • choose source type in batch
  • add initial support to OIF and CZI file format
  • extract utils to PartSegCore module
  • add automated tests of example notebook
  • reversed mask
  • load segmentation parameters in mask segmentation
  • allow use sprawl in segmentation tool
  • add radial split of mask for measurement
  • add all measurement results in batch, per component sheet

0.9.3

  • start automated build documentation
  • change color map backend and allow for user to create custom color map.
  • segmentation compare
  • update test engines
  • support of PySide2

0.9.2.3

  • refactor code to make easier create plugin for mask segmentation
  • create class base updater for update outdated algorithm description
  • fix save functions
  • fix different bugs

0.9.2.2

  • extract static data to separated package
  • update marker of fix range and add mark of gauss in channel control

0.9.2.1

  • add VoteSmooth and add choosing of smooth algorithm

0.9.2

  • add pypi base check for update

  • remove resetting image state when change state in same image

  • in stack segmentation add options to picking components from segmentation's

  • in mask segmentation add:

    • preview of segmentation parameters per component,
    • save segmentation parameters in save file
    • new implementation of batch mode.

0.9.1

  • Add multiple files widget

  • Add Calculating distances between segmented object and mask

  • Batch processing plan fixes:

    • Fix adding pipelines to plan
    • Redesign mask widget
  • modify measurement backend to allow calculate multi channel measurements.

0.9

Begin of changelog

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PartSeg-0.10.7.tar.gz (1.1 MB view hashes)

Uploaded Source

Built Distributions

PartSeg-0.10.7-cp38-cp38-win_amd64.whl (1.8 MB view hashes)

Uploaded CPython 3.8 Windows x86-64

PartSeg-0.10.7-cp38-cp38-manylinux2014_x86_64.whl (5.0 MB view hashes)

Uploaded CPython 3.8

PartSeg-0.10.7-cp38-cp38-manylinux2010_x86_64.whl (5.5 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.12+ x86-64

PartSeg-0.10.7-cp38-cp38-manylinux1_x86_64.whl (5.5 MB view hashes)

Uploaded CPython 3.8

PartSeg-0.10.7-cp38-cp38-macosx_10_14_x86_64.whl (1.9 MB view hashes)

Uploaded CPython 3.8 macOS 10.14+ x86-64

PartSeg-0.10.7-cp38-cp38-macosx_10_9_x86_64.whl (1.9 MB view hashes)

Uploaded CPython 3.8 macOS 10.9+ x86-64

PartSeg-0.10.7-cp37-cp37m-win_amd64.whl (1.8 MB view hashes)

Uploaded CPython 3.7m Windows x86-64

PartSeg-0.10.7-cp37-cp37m-manylinux2014_x86_64.whl (4.6 MB view hashes)

Uploaded CPython 3.7m

PartSeg-0.10.7-cp37-cp37m-manylinux2010_x86_64.whl (5.1 MB view hashes)

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

PartSeg-0.10.7-cp37-cp37m-manylinux1_x86_64.whl (5.1 MB view hashes)

Uploaded CPython 3.7m

PartSeg-0.10.7-cp37-cp37m-macosx_10_14_x86_64.whl (1.9 MB view hashes)

Uploaded CPython 3.7m macOS 10.14+ x86-64

PartSeg-0.10.7-cp37-cp37m-macosx_10_9_x86_64.whl (1.9 MB view hashes)

Uploaded CPython 3.7m macOS 10.9+ x86-64

PartSeg-0.10.7-cp36-cp36m-win_amd64.whl (1.8 MB view hashes)

Uploaded CPython 3.6m Windows x86-64

PartSeg-0.10.7-cp36-cp36m-manylinux2014_x86_64.whl (4.6 MB view hashes)

Uploaded CPython 3.6m

PartSeg-0.10.7-cp36-cp36m-manylinux2010_x86_64.whl (5.1 MB view hashes)

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

PartSeg-0.10.7-cp36-cp36m-manylinux1_x86_64.whl (5.1 MB view hashes)

Uploaded CPython 3.6m

PartSeg-0.10.7-cp36-cp36m-macosx_10_14_x86_64.whl (1.9 MB view hashes)

Uploaded CPython 3.6m macOS 10.14+ x86-64

PartSeg-0.10.7-cp36-cp36m-macosx_10_9_x86_64.whl (1.9 MB view hashes)

Uploaded CPython 3.6m macOS 10.9+ x86-64

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