utilities for common tasks in plantcv pipelines
Project description
cppcpyutils
Utilities for image processing pipelines at the Compact Plants Phenomics Center at Washingtion State University - Pullman. Pipelines are designed around PlantCV
Installation
Install latest release
pip install cppcpyutils
Install dev version
pip install git+https://github.com/CougPhenomics/cppcpyutils.git
Use
There are two components to the package:
- A command line interface to download images from the LemnaTec database which is documented here
- A python package that wraps some commonly used processes in the PlantCV workflows.
At the top of a PlantCV workflow starts with:
#!/usr/bin/env python
import os
import argparse
import cppcpyutils as cppc
from plantcv import plantcv as pcv
In the workflow you will need to assign cppc.pixelresolution
to the pixel resolution of the camera you are analyzing.
The main user facing function is cppc.roi.iterate_rois()
which will run a loop through each roi and save to the PlantCV Outputs for each plant.
You have some options for which outputs to compute and save but plant_area (in mm2) and shape dimensions are always saved. Optionally you can save greenness index (gi
) with a pseudocolor image, all color information (hist
) with the histogram saved, or just hsv (hue
) with a hue pseudocolor image
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
Built Distribution
Hashes for cppcpyutils-0.2.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fdb920c8aacbdcbfd049bd7285459da50f6ba343cdd13becc6d4a0f782815078 |
|
MD5 | bbacdcd9ffdca6326766eb2140c0e1c0 |
|
BLAKE2b-256 | 44c42f70bc9d7b105c5821b869289838e8a9e2d48b2c864a9b99c0633360d9b3 |