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

  • rapid manual image labelling (~1s per image)
  • 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.1.tar.gz (116.5 kB view details)

Uploaded Source

Built Distribution

phenopype-6.0.1-py3-none-any.whl (124.8 kB view details)

Uploaded Python 3

File details

Details for the file phenopype-6.0.1.tar.gz.

File metadata

  • Download URL: phenopype-6.0.1.tar.gz
  • Upload date:
  • Size: 116.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for phenopype-6.0.1.tar.gz
Algorithm Hash digest
SHA256 d4876677413df281b7d57cd686f5a19b7afdd2011829bf07d9ba8af1648afb4a
MD5 665048f2dca7cdac98333b5a0c98ff61
BLAKE2b-256 67afe3c431165aaa13d70bbaf0b0f10f0715ed57ce7c03dd4da33b708eb5587d

See more details on using hashes here.

File details

Details for the file phenopype-6.0.1-py3-none-any.whl.

File metadata

  • Download URL: phenopype-6.0.1-py3-none-any.whl
  • Upload date:
  • Size: 124.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for phenopype-6.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9351106e5fee1bf32c6cf2a47feca9cf135f26fbf02eec59ee1fc1964aaa04fa
MD5 a7c1a83bf0c6197d92fd2b8f8bf55965
BLAKE2b-256 bb057fb3deabaeb30d771b391e95eb95d2d4fbdf20e8944f993af991b3fe3179

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