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. (2022). phenopype : A phenotyping pipeline for Python. Methods in Ecology and Evolution.

@ARTICLE{Lurig2022-pb,
  title     = "\textit{phenopype} : A phenotyping pipeline for Python",
  author    = "Lürig, Moritz D",
  journal   = "Methods in Ecology and Evolution",
  publisher = "Wiley",
  volume    =  13,
  number    =  3,
  pages     = "569--576",
  month     =  mar,
  year      =  2022,
  doi       = "10.1111/2041-210X.13771",
  issn      = "2041-210X,2041-210X",
  language  = "en"
}

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.1.0.tar.gz (121.6 kB view details)

Uploaded Source

Built Distribution

phenopype-6.1.0-py3-none-any.whl (131.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for phenopype-6.1.0.tar.gz
Algorithm Hash digest
SHA256 cf333420e51a3f3e3ee5551cc4417d062ab74f042bbae19cbf2e120479b86833
MD5 4158d0462aeec421023503e2051e503d
BLAKE2b-256 95ca10b7734d877dbc5bd5b8fc9d0d6bd55787b31f2286a35c16e226d5dea099

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for phenopype-6.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 52874d934afafe0c0691837f0f7c792f567fd5a68ee693248ad8a73e07e7393b
MD5 4517ab53892aa378d359c3b013f79885
BLAKE2b-256 6c6a0c7e0aad77ccf32fc3b69043178f33a40518fdd4b57ce95ab9deceb64607

See more details on using hashes here.

Supported by

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