Description Usage Arguments Details Value Author(s) See Also
View source: R/matchExposure.R
This function allows to match exposure values extracted from RGB and IR images based on image timestamp
1 2 3 4 5 | matchExposure(exposure.df=NULL,
exposure.RGB=NULL, exposure.IR=NULL, pattern.RGB="RGB",
pattern.IR="IR", tol=1,
matching.column='timestamp')
|
exposure.df |
A dataframe where exposures from RGB and IR images are in the same data.frame. It is however suggested to provide separate data.frames for RGB and IR images. The format of the data.frame must be as in ooutput from the |
exposure.RGB |
When |
exposure.IR |
When |
pattern.RGB |
When |
pattern.IR |
When |
tol |
A tolerance value to be used to match timestamps of RGB and IR images. Available values include 1 (the default; perfect matching, i.e. the RGB image and the associated IR image has the same timestamp in the filename, rounded to minutes), 10, which means that images recorded within 10 minutes between each other are considered as matched. Higher values are allowed but it is suggested to avoid them |
matching.column |
A character giving the name of the column that must be used for the matching. |
This function is designed to receive in input two data.frames as in output from getExposure()
, one with RGB exposures and one with IR exposures. Alternatively, one can provide a single data.frame with both RGB and IR exposures, and specify patterns of the image name (column 'images' as output from getExposure()
) to match the two image types. Duplicates in image names are removed prior to the matching.
A data.frame with expousre values for both RGB and IR images, the original timestamps and the rounded time.stamp.
The format is suited to enter NDVI()
function.
Jeroen Staab <jeroen.staab@posteo.de>, Gianluca Filippa <gian.filippa@gmail.com>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.