Skip to main content

Extract seminal root angle from rhizobox images

Project description

Seminal root angle extraction

Used for high-throughput phenotyping of rhizobox images.

Install

The latest version is available via PyPI (https://pypi.org/project/seminal-root-angle) for convenient installation with pip

pip install seminal-root-angle

Example usage

Assuming the following folder structure:

output
data
├── photos
│   ├── photo1.JPG
│   ├── photo2.JPG
│   └── ....
├── root_segmentations
│   ├── photo1.png
│   ├── photo2.png
│   └── ....
└── seed_segmentations
    ├── photo1.png
    └── photo2.png
    └── ....

Then the angles can be extracted to the output/angles.csv with the following python code:

from seminal_root_angle.extract import extract_all_angles
extract_all_angles(root_seg_dir='data/root_segmentations',
                   im_dataset_dir='data/photos',
                   seed_seg_dir='data/seed_segmentations',
                   max_seed_points_per_im=2,
                   debug_image_dir='output/debug_images',
                   output_csv_path='output/angles.csv',
                   error_csv_path='output/errors.csv')

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

seminal_root_angle-0.0.5.tar.gz (18.8 kB view details)

Uploaded Source

File details

Details for the file seminal_root_angle-0.0.5.tar.gz.

File metadata

  • Download URL: seminal_root_angle-0.0.5.tar.gz
  • Upload date:
  • Size: 18.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.5

File hashes

Hashes for seminal_root_angle-0.0.5.tar.gz
Algorithm Hash digest
SHA256 0cc8de0a39cacde78a1577d3afeaca45fc9d65d13b292bf465b11b94cc9519b4
MD5 4c089113dcc84be0876b766d6cf01dc9
BLAKE2b-256 b91e4d1a33fcc6976555e83ab62f7253effebf3c6a38a3e846106e5434b33b28

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