sampleLandmarks {patternize} | R Documentation |
Sample landmarks in an image.
Description
Sample landmarks in an image.
Usage
sampleLandmarks(sampleList, resampleFactor = NULL, crop = c(0, 0, 0, 0))
Arguments
sampleList |
RasterStack or list of RasterStack objects as obtained
by |
resampleFactor |
Integer for downsampling the image(s) used by |
crop |
Vector c(xmin, xmax, ymin, ymax) that specifies the pixel coordinates to crop the original image. |
Value
landmark matrix or landmark list
Examples
## Not run:
IDlist <- c('BC0077','BC0071')
prepath <- system.file("extdata", package = 'patternize')
extension <- '.jpg'
imageList <- makeList(IDlist, 'image', prepath, extension)
landmarkList <- sampleLandmarks(imageList)
## End(Not run)
[Package patternize version 0.0.5 Index]