Package: pliman 2.1.0

Tiago Olivoto

pliman: Tools for Plant Image Analysis

Tools for single or batch image manipulation and analysis as described by Olivoto (2022) <doi:10.1111/2041-210X.13803> that can be used to quantify plant leaf area, assess disease severity, count objects, obtain shape measures, object landmarks, and compute Elliptical Fourier Analysis of the object outline, as described by Claude (2008) <doi:10.1007/978-0-387-77789-4>. Additionally, the package includes tools for analyzing grids, which enables high throughput field phenotyping using RGB imagery captured by unmanned aerial vehicles.

Authors:Tiago Olivoto [aut, cre]

pliman_2.1.0.tar.gz
pliman_2.1.0.tar.gz(r-4.5-noble)pliman_2.1.0.tar.gz(r-4.4-noble)
pliman_2.1.0.tgz(r-4.4-emscripten)pliman_2.1.0.tgz(r-4.3-emscripten)
pliman.pdf |pliman.html
pliman/json (API)
NEWS

# Install 'pliman' in R:
install.packages('pliman', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/tiagoolivoto/pliman/issues

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library
Datasets:
  • contours - Contour outlines from five leaves

2.54 score 348 scripts 552 downloads 188 exports 22 dependencies

Last updated 1 years agofrom:737cb28473. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKOct 08 2024
R-4.5-linux-x86_64OKOct 08 2024

Exports:%>%analyze_objectsanalyze_objects_iteranalyze_objects_shpapply_fun_to_imgsas_imagecalibratecm_to_dpicm_to_pixelscolumn_to_rownamesconv_hullconv_hull_unifiedcustom_palettedist_transformdistancedpidpi_to_cmdraw_circledraw_n_tagondraw_rectangledraw_squaredraw_trian_equidraw_trian_rectefourierefourier_coefsefourier_errorefourier_invefourier_normefourier_powerefourier_shapeellipsefile_dirfile_extensionfile_nameget_biplotget_measuresget_pliman_viewerget_wd_hereggplot_colorimage_alignimage_augmentimage_autocropimage_binaryimage_blurimage_closingimage_combineimage_contrastimage_createimage_cropimage_dilateimage_dimensionimage_erodeimage_expandimage_exportimage_filterimage_horizontalimage_hreflectimage_importimage_indeximage_openingimage_paletteimage_plimanimage_prepareimage_resizeimage_rotateimage_segmentimage_segment_iterimage_segment_kmeansimage_segment_manualimage_segment_maskimage_shpimage_skeletonimage_squareimage_thinningimage_thinning_guo_hallimage_to_matimage_trimimage_verticalimage_viewimage_vreflectlandmarkslandmarks_addlandmarks_anglelandmarks_distlandmarks_regradileading_zerosmake_brushmake_maskmanipulate_filesmax_listmean_listmeasure_diseasemeasure_disease_bylmeasure_disease_itermeasure_disease_shpmin_listmosaic_cropmosaic_exportmosaic_indexmosaic_inputmosaic_to_plimanmosaic_to_rgbmosaic_viewnpixelsobject_contourobject_coordobject_edgeobject_exportobject_export_shpobject_idobject_isolateobject_labelobject_mapobject_markobject_rgbobject_splitobject_split_shpobject_to_coloropen_wdopen_wd_hereotsupcapick_coordspick_countpick_palettepick_rgbpixel_indexpixels_to_cmpliman_indexespliman_indexes_eqplot_contourplot_ellipseplot_indexplot_index_shpplot_lwplot_massplot_measuresplot_polygonpoly_alignpoly_anglespoly_apex_base_anglepoly_areapoly_caliperpoly_centdistpoly_centerpoly_checkpoly_circularitypoly_circularity_haralickpoly_circularity_normpoly_closepoly_convexitypoly_distptspoly_eccentricitypoly_elongationpoly_flip_xpoly_flip_ypoly_is_closedpoly_jitterpoly_limitspoly_lwpoly_masspoly_measurespoly_pcvpoly_perimeterpoly_rotatepoly_samplepoly_sample_proppoly_slidepoly_smoothpoly_soliditypoly_splinepoly_unclosepoly_width_atprepare_to_shprandom_colorremove_rownamesrgb_to_hsbrgb_to_labrgb_to_srgbround_colsrownames_to_columnsadsd_listseparate_colset_pliman_viewerset_wd_heresummary_indexwatershed2

Dependencies:abindclassclassIntcodetoolsDBIdoParallele1071foreachiteratorsKernSmoothmagrittrMASSproxyRcppRcppArmadillorlangs2sfstarsterraunitswk

Readme and manuals

Help Manual

Help pageTopics
Analyzes objects in an imageanalyze_objects analyze_objects_iter plot.anal_obj
Analyzes objects using shapefilesanalyze_objects_shp
Apply a function to imagesapply_fun_to_imgs
Create an 'Image' objectas_image
Calibrates distances of landmarkscalibrate
Contour outlines from five leavescontours
Generate Custom Color Palettecustom_palette
Distance map transformdist_transform
Elliptical Fourier Analysisefourier
Get Fourier coefficientsefourier_coefs
Erros between the original and reconstructed outlineefourier_error
Inverse Elliptical Fourier Analysisefourier_inv
Normalized Fourier coefficientsefourier_norm
Power in Fourier Analysisefourier_power
Draw shapes based on Fourier coefficientsefourier_shape
Confidence ellipseellipse
Get the value of the pliman_viewer optionget_pliman_viewer
ggplot2-like colors generationggplot_color
Aligns an 'Image' object by handimage_align
Augment Imagesimage_augment
Creates a binary imageimage_binary
Combines images to a gridimage_combine
Create an 'Image' object of a given colorimage_create
Expands an imageimage_expand
Image indexesimage_index plot.image_index
Prepare an imageimage_prepare
Image segmentationimage_segment image_segment_iter
Image segmentation using k-means clusteringimage_segment_kmeans
Image segmentation by handimage_segment_manual
Segment an 'Image' object using a brush maskimage_segment_mask
Construct a shape file from an imageimage_shp
Squares an imageimage_square
Perform Guo-Hall thinning on a binary image or list of binary imagesimage_thinning_guo_hall
Convert an image to a data.frameimage_to_mat
Create an interactive map view of an imageimage_view
Create image landmarkslandmarks
Artificially inflates the number of landmarkslandmarks_add
Angles between landmarkslandmarks_angle
Distances between landmarkslandmarks_dist
Pseudolandmarks with equally spaced angleslandmarks_regradi
Add leading zeros to a numeric sequenceleading_zeros
Makes a brushmake_brush
Makes a mask in an imagemake_mask
Performs plant disease measurementsmeasure_disease measure_disease_iter
Performs plant disease measurements by leafmeasure_disease_byl
Measure disease using shapefilesmeasure_disease_shp
Crop a mosaicmosaic_crop
Mosaic Indexmosaic_index
Create and Export mosaicsmosaic_export mosaic_input
Prepare a mosaicmosaic_prepare
Mosaic to plimanmosaic_to_pliman
Mosaic to RGBmosaic_to_rgb
Mosaic Viewmosaic_view
Object edgesobject_edge
Export multiple objects from an image to multiple imagesobject_export
Export multiple objects from an image to multiple imagesobject_export_shp
Labels objectsobject_label
Map Object Distancesobject_map
Mark Object Pointsobject_mark
Extract red, green and blue values from objectsobject_rgb
Splits objects from an image into multiple imagesobject_split
Splits image objects based on a shape fileobject_split_shp
Apply color to image objectsobject_to_color
Calculate Otsu's thresholdotsu
Create image palettesimage_palette palettes
Forward-pipe operator%>% pipe
Get the pixel indices for a given row of a binary imagepixel_index
Sample imagespliman_images
Global option for controlling the viewer in pliman packagepliman_viewer
Plot an image indexplot_index
Plot rectangles colored by a quantitative attribute and overlay on an RGB imageplot_index_shp
Plot length and width lines on objectsplot_lw
S3 method 'plot' for 'image_shp' objectsplot.image_shp
Calculate the apex and base angles of an objectpoly_apex_base_angle
Compute Perimeter Complexity Value (PCV)poly_pcv
Width at a given heightpoly_width_at
Prepare images to analyze_objects_shp()prepare_to_shp
Random built-in color namesrandom_color
Produces Santandard Area Diagramssad
Turns a single character column into multiple columns.separate_col
Set the value of the pliman_viewer optionset_pliman_viewer
Summary an object indexsummary_index
Convert between colour spacesrgb_to_hsb rgb_to_lab rgb_to_srgb utils_colorspace
Utilities for image resolutioncm_to_dpi cm_to_pixels distance dpi dpi_to_cm npixels pixels_to_cm utils_dpi
Utilities for file manipulationfile_dir file_extension file_name manipulate_files pliman_indexes pliman_indexes_eq utils_file
Import and export imagesimage_export image_import image_pliman utils_image
Utilities for object measuresget_measures plot_measures utils_measures
Utilities for working with image objectsobject_contour object_coord object_id object_isolate utils_objects
Utilities for Principal Component Axis analysisget_biplot pca plot.pca utils_pca
Utilities for picking up points in an imagepick_coords pick_count pick_palette pick_rgb utils_pick
Utilities for Polygonsconv_hull conv_hull_unified poly_align poly_angles poly_area poly_caliper poly_centdist poly_center poly_check poly_circularity poly_circularity_haralick poly_circularity_norm poly_close poly_convexity poly_distpts poly_eccentricity poly_elongation poly_flip_x poly_flip_y poly_is_closed poly_jitter poly_limits poly_lw poly_mass poly_measures poly_perimeter poly_rotate poly_sample poly_sample_prop poly_slide poly_smooth poly_solidity poly_spline poly_unclose utils_polygon
Utilities for plotting polygonsplot_contour plot_ellipse plot_mass plot_polygon utils_polygon_plot
Utilities for handling with rows and columnscolumn_to_rownames remove_rownames round_cols rownames_to_column utils_rows_cols
Utilities for drawing coordinates of known shapesdraw_circle draw_n_tagon draw_rectangle draw_square draw_trian_equi draw_trian_rect utils_shapes
These functions applies common statistics to a list of objects, returning a numeric vector.max_list mean_list min_list sd_list utils_stats
Spatial transformationsimage_autocrop image_blur image_closing image_contrast image_crop image_dilate image_dimension image_erode image_filter image_horizontal image_hreflect image_opening image_resize image_rotate image_skeleton image_thinning image_trim image_vertical image_vreflect utils_transform
Set and get the Working Directory quickyget_wd_here open_wd open_wd_here set_wd_here utils_wd
Alternative watershed algorithmwatershed2