Skip to content

PlantCV v3.2.0

Compare
Choose a tag to compare
@nfahlgren nfahlgren released this 08 Mar 20:18
ad35fe5

DOI

PlantCV v3.2.0 adds new functionality and fixes several bugs and usability issues.

Summary of changes:

  • Added functionality to the plantcv.print_results function. It now allows users to print the data returned, naming the .txt file whatever they would like.
  • Added complete scripts at the bottom of each PlantCV tutorial in the documentation.
  • Added new function plantcv.roi.multi, allowing users to specify parameters for a grid of regions of interest (ROIs) or supply a list of centers for ROIs if they are not in a grid arrangement.
    Restructure the way plantcv.analyze_* functions return outputs. Each function now returns the images so the user can save them.
  • Enhancements to the plantcv.pseudocolor function including the addition of an “image” background option, adding the option to turn off titles/axes and colorbar, and an auto-crop option.
    Changed Matplotlib import (now imported globally in plantcv.__init__.py), fixing the non-fatal warning from setting the matplotlib backend multiple times.
  • Added debug mode to plantcv.analyze_color function.
    plantcv.analyze_bound_horizontal was previously determining line position differently than the rest of the functions in PlantCV. Instead of line_position=0 signifying the bottom of the image, it will now signify the top of the image.
  • Add a line_thickness graphics options to the params class so users can change the line thickness for the functions plotting lines onto images (analyze_object, all ROI functions, analyze_bound_horizontal, analyze_bound_vertical, acute_vertex, x_axis_pseudolandmark, y_axis_pseudolandmark, scale_features, roi_objects, object_composition).
  • Add a link in the table of contents to the PlantCV Hyperspectral subproject documentation.
  • Add an “image” background option to the plantcv.auto_crop function.
  • Improved code testing coverage to 100%.
  • Allow string arguments to be case insensitive.
  • Added a new option to roi_type in plantcv.roi_objects which allows only the largest contour to to be kept.
  • Standardize argument order and naming across functions.
  • Updated functionality of the plantcv.plot_hist function, including adding an optional mask argument and allowing users to save histograms.