Forest_cover: Give the percent of forest covarage

Description Usage Arguments Value Examples

View source: R/ImaginR.R

Description

Give the percent of forest covarage by comparing two pictures : the first one (x) is the original (aerial) image and the second (y) is the same image but without the soil (only forest cover is keep).

Usage

1

Arguments

x

path of the original image

y

path of the same image but without the soil (only forest cover is keep)

Value

Percentage of forest cover (0 to 100

Examples

1
2
Forest_cover("A1_DJI_0026_cleaned_empty_before.JPG", "A1_DJI_0026_cleaned_empty.JPG")
# 26.82175

PLStenger/ImaginR documentation built on May 7, 2021, 11:07 p.m.