convert pixel counts to an area based on the known area of an identifier-dot.
Source:R/convert_pixels_to_area.R
convert_pixels_to_area.Rd
convert pixel counts to an area based on the known area of an identifier-dot.
Arguments
- pixel.counts
list containing any of the following pixel-counts:
"green"
"drought"
"complete"
"identifier"
The pixel-count for
identifier
must be present, whereas the others are optional. The calculated area is internally unit-less. However, as the default value forduflor.default_identifier_area
is 0.503 [cm^2], the areas computed by this function is also in [cm^2].The assumed area of the identifier can be modified by excuting
options(duflor.default_identifier_area = <value_in_square_centimeters>)
prior to calling this function