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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: phenopype-6.0.0.tar.gz
  • Upload date:
  • Size: 115.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.14

File hashes

Hashes for phenopype-6.0.0.tar.gz
Algorithm Hash digest
SHA256 3c1c12e8d39a96cecd804cf48d8aee5eb948b5750ff1d2ed578588de80ebf548
MD5 8544d85061a59726352ddc4d73a36815
BLAKE2b-256 fa718a75ec45a70bc8af70ef84ed8ba92759890ac6bdbb8798fe25e22e95dbb2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: phenopype-6.0.0-py3-none-any.whl
  • Upload date:
  • Size: 123.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.14

File hashes

Hashes for phenopype-6.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 09098f11ce2daa1f4dd515054d40d6defd90b8437e02c51e3848ba0a324be7df
MD5 8a78a5c17f3aa412efdfcca4073b1a15
BLAKE2b-256 1c52cd18cd481e753ca75c3f8e08a3988291698156bdef81b2d8644210236412

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