Learn R Programming

rcaiman (version 2.0.1)

CAnopy IMage ANalysis

Description

Tools for preprocessing and processing canopy photographs with support for raw data reading. Provides methods to address variability in sky brightness and to mitigate errors from image acquisition in non-diffuse light. Works with all types of fish-eye lenses, and some methods also apply to conventional lenses.

Copy Link

Version

Install

install.packages('rcaiman')

Monthly Downloads

201

Version

2.0.1

License

GPL-3

Maintainer

Gast<c3><b3>n Mauro D<c3><ad>az

Last Published

September 2nd, 2025

Functions in rcaiman (2.0.1)

cie_image

CIE sky image
display_caim

Display a canopy image
correct_vignetting

Correct vignetting effect
crop_caim

Crop a canopy image
conventional_lens_image

Generate conventional-lens-like image
defuzzify

Defuzzify a fuzzy classification
crosscalibrate_lens

Cross-calibrate lens
complementary_gradients

Calculate complementary gradients
compute_canopy_openness

Calculate canopy openness
cie_table

Set of 15 CIE Standard Skies
estimate_sun_angles

Estimate sun angular coordinates
fit_cie_model

Fit CIE sky model
extract_dn

Extract digital numbers from sky points
extract_radiometry

Extract radiometry data for calibration
extract_rr

Extract digital numbers at sky points and normalize by estimated zenith radiance
fisheye_to_pano

Fisheye to panoramic
extract_feature

Extract feature
fisheye_to_equidistant

Fisheye to equidistant
extract_sky_points

Extract sky points
expand_noncircular

Expand non-circular
interpolate_planar

Interpolate in planar space
ootb_bin

Out-of-the-box reliable binarized image
hsp_compat

HSP compatibility functions
fit_trend_surface

Fit a trend surface to sky digital numbers
fit_coneshaped_model

Fit cone-shaped model
grow_black

Grow black regions in a binary mask
lens

Access the lens database
normalize_minmax

Normalize data using min-max rescaling
interpolate_spherical

Interpolate in spherical space
invert_gamma_correction

Gamma back correction of JPEG images
rcaiman-package

rcaiman: CAnopy IMage ANalysis
read_bin

Write and read binarized images
ootb_sky_cie

Out-of-the-box CIE sky model and raster
ootb_sky_above

Out-of-the-box above-canopy sky
optim_dist_to_black

Optimize minimum distance to black pixels
polar_qtree

Generate polar quadtree segmentation
read_caim

Read a canopy image from a file
read_caim_raw

Read a canopy image from a raw file
optim_sun_angles

Optimize sun angular coordinates
paint_with_mask

Paint with mask
test_lens_coef

Test lens projection function
rem_outliers

Remove statistical outliers in sky points
sector_segmentation

Assign azimuth-sector labels
sky_grid_centers

Map sky-grid centers to raster coordinates
rem_isolated_black_pixels

Remove isolated black pixels
ring_segmentation

Assign zenith-ring labels
thr_isodata

Compute IsoData threshold
sky_grid_segmentation

Assign sky-grid labels
select_sky_region

Select sky region
rem_nearby_points

Remove nearby sky points
write_caim

Write canopy image
thr_mblt

Compute model-based thresholds
zenith_image

Build Zenith image
validate_cie_model

Validate CIE sky models
write_sky_cie

Write and read out-of-the-box CIE sky model and raster
zenith_azimuth_from_row_col

Map between zenith–azimuth angles and raster coordinates
thr_twocorner

Compute two-corner thresholds
calc_diameter

Calculate diameter
binarize_with_thr

Binarize with known thresholds
calc_spherical_distance

Calculate spherical distance
binarize_by_region

Regional thresholding of greyscale images
azimuth_image

Build azimuth image
chessboard

Perform chessboard segmentation
apply_by_direction

Apply a method by direction using a constant field of view
calc_relative_radius

Calculate relative radius
calibrate_lens

Calibrate lens
calc_zenith_colrow

Calculate zenith raster coordinates