Learn R Programming

pliman (version 3.1.0)

Tools for Plant Image Analysis

Description

Tools for both single and batch image manipulation and analysis (Olivoto, 2022 ) and phytopathometry (Olivoto et al., 2022 ). The tools can be used for the quantification of leaf area, object counting, extraction of image indexes, shape measurement, object landmark identification, and Elliptical Fourier Analysis of object outlines (Claude (2008) ). The package also provides a comprehensive pipeline for generating shapefiles with complex layouts and supports high-throughput phenotyping of RGB, multispectral, and hyperspectral orthomosaics. This functionality facilitates field phenotyping using UAV- or satellite-based imagery.

Copy Link

Version

Install

install.packages('pliman')

Monthly Downloads

959

Version

3.1.0

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Tiago Olivoto

Last Published

August 19th, 2025

Functions in pliman (3.1.0)

apply_fun_to_imgs

Apply a function to images
ccc

Lin's Concordance Correlation Coefficient (CCC)
analyze_objects_shp

Analyzes objects using shapefiles
analyze_objects

Analyzes objects in an image
calibrate

Calibrates distances of landmarks
contours

Contour outlines from five leaves
as_image

Create an Image object
custom_palette

Generate Custom Color Palette
dist_transform

Distance map transform
entropy

Compute Shannon Entropy
ellipse

Confidence ellipse
efourier_shape

Draw shapes based on Fourier coefficients
ggplot_color

ggplot2-like colors generation
get_uuid

Extract UUID from filenames
image_line_segment

Line Segment Detection in an Image
image_label

Label Connected Components in a Binary Image
get_pliman_viewer

Get the value of the pliman_viewer option
efourier_norm

Normalized Fourier coefficients
efourier_power

Power in Fourier Analysis
image_canny_edge

Canny Edge Detector
image_combine

Combines images to a grid
image_binary

Creates a binary image
image_augment

Augment Images
image_prepare

Prepare an image
image_segment

Image segmentation
landmarks_regradi

Pseudolandmarks with equally spaced angles
landmarks_add

Artificially inflates the number of landmarks
landmarks

Create image landmarks
image_to_mat

Convert an image to a data.frame
image_shp

Construct a shape file from an image
image_segment_mask

Segment an Image object using a brush mask
mosaic_analyze_iter

Analyze mosaics iteratively
mosaic_analyze

Analyze a mosaic of remote sensing data
mosaic_clip

Clip Raster Mosaic by Polygons
image_view

Create an interactive map view of an image
line_on_halfplot

Extract mid‐lines from half‐plots
mosaic_crop

Crop or Mask a Mosaic Raster
make_brush

Makes a brush
analyze_objects_minimal

Analyzes objects in an image
leading_zeros

Add leading zeros to a numeric sequence
measure_disease_byl

Performs plant disease measurements by leaf
efourier

Elliptical Fourier Analysis
efourier_coefs

Get Fourier coefficients
image_align

Aligns an Image object by hand
efourier_error

Erros between the original and reconstructed outline
image_create

Create an Image object of a given color
efourier_inv

Inverse Elliptical Fourier Analysis
mosaic_extract

Extract Values from a Raster Mosaic Using a Shapefile
image_contour_line

Smooth Contour Line Detection
measure_disease_shp

Measure disease using shapefiles
mosaic_index

Mosaic Index
mosaic_hist

A wrapper around terra::hist()
mosaic_index2

Mosaic Index with GDAL
object_split

Splits objects from an image into multiple images
object_rgb

Extract red, green and blue values from objects
image_segment_manual

Image segmentation by hand
mosaic_draw

Drawing Lines or Polygons with Raster Information
image_alpha

Add Alpha Layer to an RGB Image
image_segment_kmeans

Image segmentation using k-means clustering
mosaic_epsg

Determine EPSG Code for a Mosaic
image_expand

Expands an image
make_mask

Makes a mask in an image
landmarks_angle

Angles between landmarks
landmarks_dist

Distances between landmarks
measure_disease

Performs plant disease measurements
mosaic_resample

A wrapper around terra::resample()
mosaic_project

Project a Mosaic to a New Coordinate Reference System (CRS)
mosaic_chm_mask

Apply a height mask to CHM data
object_bbox

Compute Bounding Boxes from Contours
object_map

Map Object Distances
mosaic_view

Mosaic View
mosaic_chm

Calculate Canopy Height Model and Volume
mosaic_vectorize

Vectorize a SpatRaster mask to an sf object
image_square

Squares an image
image_index

Image indexes
mosaic_to_rgb

Mosaic to RGB
mosaic_chm_extract

Extracts height metrics and plot quality from a Canopy Height Model (CHM)
object_mark

Mark Object Points
mosaic_to_pliman

Mosaic to pliman
mosaic_plot

A wrapper around terra::plot()
mosaic_classify

Classify a Mosaic Based on Index Breaks
mosaic_lonlat2epsg

Project a Mosaic from Lon/Lat to EPSG-based CRS
mosaic_segment_pick

Segments a mosaic interactively
object_export_shp

Export multiple objects from an image to multiple images
object_label

Labels objects
image_thinning_guo_hall

Perform Guo-Hall thinning on a binary image or list of binary images
mosaic_plot_rgb

A wrapper around terra::plotRGB()
shapefile_plot

A wrapper around terra::plot()
poly_apex_base_angle

Calculate the apex and base angles of an object
poly_pcv

Compute Perimeter Complexity Value (PCV)
shapefile_surface

Generate a spatial surface plot based on interpolated values
utils_wd

Set and get the Working Directory quicky
utils_transform

Spatial transformations
object_split_shp

Splits image objects based on a shape file
pipe

Forward-pipe operator
object_to_color

Apply color to image objects
measure_injury

Measures Injury in Images
pliman_images

Sample images
pliman_indexes_ican_compute

List Computable Indexes Based on Available Bands
shapefile_interpolate

Interpolate values at specific points based on coordinates and a target variable
prepare_to_shp

Prepare images to analyze_objects_shp()
shapefile_edit

Edit Features in a Shapefile
poly_width_at

Width at a given height
utils_objects

Utilities for working with image objects
utils_measures

Utilities for object measures
watershed2

Alternative watershed algorithm
uuid

Generate Version 7 UUIDs or Random UUIDs
mosaic_prepare

Prepare a mosaic
object_edge

Object edges
mosaic_interpolate

Mosaic interpolation
mosaic_input

Create and Export mosaics
mosaic_aggregate

SpatRaster aggregation
mosaic_rotate

Rotate a mosaic image by specified angles
mosaic_segment

Segment a mosaic
pixel_index

Get the pixel indices for a given row of a binary image
set_pliman_viewer

Set the value of the pliman_viewer option
shapefile_build

Build a shapefile from a mosaic raster
plot_index

Plot an image index
otsu

Calculate Otsu's threshold
random_color

Random built-in color names
pliman_viewer

Global option for controlling the viewer in pliman package
plot.image_shp

S3 method plot for image_shp objects
palettes

Create image palettes
shapefile_operations

Spatial Operations on Shapefiles
shapefile_measures

Extract geometric measures from a shapefile object
sad

Produces Santandard Area Diagrams
object_export

Export multiple objects from an image to multiple images
plot_bbox

Add Bounding Boxes to an Existing Plot
plot_index_shp

Plot rectangles colored by a quantitative attribute and overlay on an RGB image
separate_col

Turns a single character column into multiple columns.
sentinel_to_tif

Convert Sentinel data to GeoTIFF format
summary_index

Summary an object index
plot_line_segment

Plot Detected Line Segments
utils_colorspace

Convert between colour spaces
utils_indexes

Utilities for image indexes
utils_image

Import and export images
plot_id

Generate plot IDs with different layouts
utils_polygon

Utilities for Polygons
utils_dpi

Utilities for image resolution
plot_lw

Plot length and width lines on objects
utils_polygon_plot

Utilities for plotting polygons
utils_shapefile

Import/export shapefiles.
utils_rows_cols

Utilities for handling with rows and columns
utils_pick

Utilities for picking up points in an image
utils_pca

Utilities for Principal Component Axis analysis
utils_stats

These functions applies common statistics to a list of objects, returning a numeric vector.
utils_shapes

Utilities for drawing coordinates of known shapes
utils_file

Utilities for file manipulation