Skip to main content

A phenotyping pipeline for python

Project description


About pyOpenSci Author License
Testing Coverage Status Windows Ubuntu
Docs Website Website

phenopype

phenopype is a Python package for rapid extraction of phenotypic information from standardized images. It comes with a basic toolset for image preprocessing and signal-processing-based segmentation, but also leverages state of the art AI segmentation models like Fast Segment Anything through a growing set of plugins. Additionally, phenopype includes functionality for visualization of image processing results and export into various file and training data formats (json, csv, coco, ...).

phenopype is aiming to augment, rather than replace the utility of existing computer vision libraries. Put differently, phenopype does not intend to be an exhaustive library of granular image processing functions, like OpenCV, scikit-image or ImageJ, but instead provides a set of wrappers and convenient management tools to allow users to get their data fast without having to fiddle with too much code. As such, phenopype may also serve as a stepping stone for ecologists and evolutionary biologists who are interested in implementing computer vision workflows.


Quickstart

https://www.phenopype.org/docs/quickstart/

Main features

(For a complete list check the API reference)

  • image analysis workflow:
    • preprocessing (automatic reference-card and QR-code detection, colour and size correction, morphology operations)
    • segmentation (thresholding, watershed, contour-filtering, foreground-background subtraction)
    • measurement (pixel intensities, landmarks, shape features, texture features)
    • visualization (various options) and export (csv, json, ROI images, ...)
    • video analysis module for object tracking
  • project management tools to organize images and data (automatic creation of project directory tree)
  • customizable analysis-templates that allow anyone to reproduce all collected data with only a few lines of code (suitable for repositories like Dryad or OSF).

Contributions and feedback

phenopype development is ongoing and contributions towards making it more broadly applicable and user-friendly are more than welcome. This can be done by submitting issues or feature requests in the issue tracker. You can also get in touch with me directly if you would like to contribute.

How to cite phenopype

Lürig, M. D. (2021). phenopype : A phenotyping pipeline for Python. Methods in Ecology and Evolution. https://doi.org/10.1111/2041-210x.13771

@ARTICLE{Lurig2022-pb,
  title     = "phenopype : A phenotyping pipeline for Python",
  author    = "L{\"u}rig, Moritz D",
  journal   = "Methods in ecology and evolution / British Ecological Society",
  publisher = "Wiley",
  volume    =  13,
  number    =  3,
  pages     = "569--576",
  month     =  mar,
  year      =  2022,
  copyright = "http://creativecommons.org/licenses/by-nc/4.0/",
  language  = "en",
  issn      = "2041-210X",
  doi       = "10.1111/2041-210x.13771"
}

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

phenopype-6.0.0.tar.gz (115.3 kB view hashes)

Uploaded Source

Built Distribution

phenopype-6.0.0-py3-none-any.whl (123.6 kB view hashes)

Uploaded Python 3

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