extracts pixels from image based on their coordinates

extract_samples_from_image(
  ImPath,
  coordPix,
  MaxRAM = FALSE,
  Already.Split = FALSE
)

Arguments

ImPath

character. path for image

coordPix

numeric. pixel coordinates

MaxRAM

numeric.

Already.Split

Boolean.

Value

samples from image corresponding to coordPix