Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

pliman 1.0.0

Compare
Choose a tag to compare
@TiagoOlivoto TiagoOlivoto released this 10 Nov 11:09

New functions

  • analyze_objects() is now used as the main function to compute the number and shape of objects.
  • measure_disease() is now used as the main function to perform phytopatometry studies. The function can compute symptomatic area, as well as the number and shape of lesions.
  • image_segment_iter() is used to performs iterative image segmentation.
  • conv_hull(), poly_area(), poly_mass(), poly_spline(), plot_contour(), and plot_ellipse() as utilities for analyzing polygons.
  • dpi() to compute the resolution (dots per inch) of an image.
  • tune_tolerance() for tunning the tolerance parameter.

Deprecated functions.

  • objects_rgb() will be depracated in the future. Now, to compute an index for each object use the object_index argument in analyze_objects(), for example, analyze_objects(object_index = "B").
  • leaf_area() will be depracated in the future. Now, combine analyze_objects() with get_measures() to obtain the area and shape of objects (leaves).
  • prop_segmented() is now deprecated in favour of image_segment_iter().
  • count_lesions() is now deprecated. Now, to compute the number and shape of lesions, use the argument show_features = TRUE in measure_disease().
  • image_show() is now deprecated in favour of plot().

Minor improvements

  • Include fill_hull argument in symptomatic_area() and count_lesions()
  • Improve image_contrast() function to avoid error regarding image resolution.
  • New argument subfolder in image_export() to export an image to a subfolder.
  • Now EBImage installation is checked when pliman is installed.
  • image_import() now returns the image object instead of the path to the image. So, it is not necessarily to call it within image_import().