Package: coiR
Type: Package
Title: Analysis of Canopy Openness Index from Fisheye Images
Version: 0.1.0
Authors@R: c(
    person(
      "Edson Nilton de Moura Silva-Júnior",
      email = "edsonbbiologia@gmail.com",
      role = c("aut", "cre")
    )
  )
Description: Tools to estimate the Canopy Openness Index (COI) from
    hemispherical (fisheye) canopy photographs. The package imports canopy
    images, crops them to the circular area delimited by the fisheye lens,
    binarizes them to separate sky from vegetation pixels, and computes the
    index as the proportion of sky pixels in the cropped image. Canopy
    openness is a measure related to canopy closure, canopy cover and
    understorey illumination, as discussed in Jennings, Brown and Sheil
    (1999) "Assessing forest canopies and understorey illumination: canopy
    closure, canopy cover and other measures" <doi:10.1093/forestry/72.1.59>.
    Example canopy images are included so users can test the workflow.
URL: https://github.com/Edbbioeco/coiR
BugReports: https://github.com/Edbbioeco/coiR/issues
License: MIT + file LICENSE
Encoding: UTF-8
Depends: R (>= 4.1)
Imports: ggplot2, dplyr, terra, tidyterra, rlang
Suggests: testthat (>= 3.0.0), purrr
Config/testthat/edition: 3
Config/roxygen2/version: 8.1.0
NeedsCompilation: no
Packaged: 2026-10-14 21:17:24 UTC; LENOVO
Author: Edson Nilton de Moura Silva-Júnior [aut, cre]
Maintainer: Edson Nilton de Moura Silva-Júnior <edsonbbiologia@gmail.com>
Repository: CRAN
Date/Publication: 2026-10-24 09:00:10 UTC
