Learn R Programming

xROI (version 0.1.1)

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

Description

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

Usage

extractCCCTimeSeries(rmskList, mIndex, paths)

Arguments

rmskList

rasters of mask as list

mIndex

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

paths to the JPEG files

Value

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