Skip to content

Digital Imaging of Root Traits: Extract trait measurements from images of monocot and dicot roots.

Notifications You must be signed in to change notification settings

Computational-Plant-Science/DIRT

Repository files navigation


DIRT 1.1 - An automatic high throughput root phenotyping platform (c) 2014,2016 Alexander Bucksch - bucksch@uga.edu Web application by Abhiram Das - abhiram.das@gmail.com

http://dirt.iplantcollaborative.org

User and developer group: https://groups.google.com/forum/#!forum/dirt-users

University of Georgia, Athens

The software is written and tested in:

The software depends on:

Optionally binaries of standard OCR and BarCode software can be used for tag recognition:

Usage: full path to the root image ID which will be a folder name in the working directory. Integer value needed. multiplier for the automatically determined mask threshold. 1.0 works fine and is default. For example, if a flashlight is used to take root images, then 0.6 is a good choice. number of roots placed at the right of the root crown, 0 - excised root analysis is off 1 - crown root analysis is on, 0 - crown root analysis is off 1 - is on, 0 - is off. Off refers to a pre-existing segmention done with DIRT. Binary masks as input images are detected automatically. a simple decimal e.g. 25.4. If 0.0 is used, then the output will have pixels as unit. 1 - reconstruction is turned on, 0 - reconstruction is turned off 1 - plotting data is stored, 0 - plotting data is not stored 1 - the full trait set is put into one excel file containing empty cells for traits that were not computed, 0 - only computed files are written to the output file full path to folder were the result is stored full path to .csv file containing the traits to be computed'

Example: python main.py /Documents/image_name.jpg 8 25.0 1 1 1 25.1 0 0 0 /Documents/image_folder/ /Documents/traits.csv

Notes on common questions:

  • Input is restricted to .jpg, .png and .tif images
  • It is not possible to analyze only an excised root when a root crown is in the image. However, it is possible to analyze compute images containing only excised roots.

For convenience we provide the runOnFolder script, that executes DIRT on all images in a specified folder. Note we made the masking threshold available on the command line because of user requests.

Example: python runOnFolder.py /Users/image_folder/

Please adjust line 86 according to the description above and note that the script uses 6 cores to compute images in parallel. The number of cores can be adjusted in line 80.


Updates in DIRT 1.1 (21 June 2019):

  • Some bug fixes on the avg. root density. There was a problem with very young and sparse root system. The formula changed and is now normed to the max. width instead of the max. width of the line. The bug was found by Peng Wang at the University of Nebraska.

Updates in DIRT 1.1 (11 January 2016):

  • Minor bug fixes in Preprocessing.py to allow smaller circle markers and fix a possible missdetection of the experiment tag as the circle. Thanks to Linda Zamariola (U Bologna) for finding this issue.

Updates in DIRT 1.1 (4 November 2015):

  • Minor bug fixes in the excised root calculations. Thanks to Alexandre Grondin (U Nebraska) for discovering and validating the fixes.

Changes in DIRT 1.1 (14 January 2015):

  • storage of trait values is changed from a list data structure to a dictionary to allow trait selection controlled by the file traits.csv
  • added support for trait selection to reduce computation time. See example file traits.csv (1 - trait is computed, 0 - trait is not computed)
  • removed unused tip-diameter switch on the command line
  • add stem reconstruction switch on the command line to turn the experimental stem reconstruction on/off
  • output file now uses the codes in the trait.csv file and only contains selected traits
  • removed several unused variables and minor bugs fixed
  • added command line option to turn storage of numpy arrays on/off. These files can be used to plot the individual root statistics and can be found in the "Plots" folders.
  • new (experimental, not validated) traits added due to community requests: projected root area, width and depth of the skeleton (medial axis), top and bottom angle for monocots, segmentation of adventious and basal roots for legumes to retrieve taproot and hypocotyl diameter and adventious and basal root counts.
  • added computational statistics such as computation time and graph size to help balancing grid installations
  • added an option to have an output file with all possible traits that contains empty cells for not computed traits in the output.csv file. This was a developer request to enable faster ingestion into data bases