Skip to contents

Generate a dataframe of summary infformation for each chip defined using makeDynamicChipsSF().

Usage

checkDynamicChips(chipsSF, chipSize = 512, cellSize = 1)

Arguments

chipsSF

sf object created by makeDynamicChipsSF().

chipSize

Size of desired image chips. Default is 512 (512x512 cells)

cellSize

Cells size of input data. Default is 1 m.

Value

Dataframe of summary information about image chips.

Details

Generate set of summary information about each chip defined by makeDynamicChipsSF() including all the information in the sf object generated by makeDynamicChipsSF() and the number of columns of cells in the predictor variable raster and mask ("cCntImg" and "cCntMsk"), number of rows of cells in the predictor variable raster and mask ("rCntImg" and "rCntMsk"), number of input predictor variables ("bCntImg"), and count of NA pixels in the predictor variable raster and mask ("naCntImg" and "naCntMsk"). This function is used primarily to check the chips prior to attempting to use them in a training or validation process.