View source: R/checkDynamicChips.R
| checkDynamicChips | R Documentation |
Generate a dataframe of summary infformation for each chip defined using makeDynamicChipsSF().
checkDynamicChips(
chipsSF,
chipSize = 512,
cellSize = 1,
doJitter = FALSE,
jitterSD = 15,
useSeed = TRUE,
seed = 42
)
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. |
doJitter |
Whether or not to add random noise to chip center coordinates. Default is FALSE. |
jitterSD |
If doJitter is TRUE, standard deviation of random positional noise to add in both the x and y directions. Default is 15 (15 meters). |
useSeed |
Whether or not to use a random seed for added jitter noise. Default is FALSE. |
seed |
Random seed value. |
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.
Dataframe of summary information about image chips.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.