dual_thresholding: Classify a single-channel fisheye image using a dual...

View source: R/dual_thresholding.R

dual_thresholdingR Documentation

Classify a single-channel fisheye image using a dual thresholding, and return a binary fisheye image of canopy (0) and gap (1) pixels

Description

Dual thresholding method proposed by Macfarlane 2011 \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1016/j.agrformet.2011.01.019")}

Usage

dual_thresholding(img)

Arguments

img

SpatRaster. A single layer image imported by the terra::rast() functionality.

Value

A binary single-layer image (SpatRaster)

See Also

Macfarlane 2011 \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1016/j.agrformet.2011.01.019")}


coveR2 documentation built on Dec. 2, 2026, 5:07 p.m.