Learn R Programming

xROI (version 0.9.20)

extractCCCTimeSeries: Extract chromatic coefficients and their statistics for an array of JPEG files

Description

This function apples a list of mask matrices to a vector of jpeg images and extract statstical metrics for each chromatic coordinate on R, G and B.

Usage

extractCCCTimeSeries(rmskList, mIndex, paths)

Arguments

rmskList

a list, rasters of mask as list

mIndex

a numeric vector, a vector of integer numbers as the index of mask files, same length as paths. This vector shows which mask should be used with which JPEG file.

paths

a vector of character strings, paths to the JPEG files

Value

This function returns statistical metrics for each color channel. The function returns NULL, if dimensions do not agree.