sampleLandmarks: Sample landmarks in an image.

View source: R/sampleLandmarks.R

sampleLandmarksR 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 makeList.

resampleFactor

Integer for downsampling the image(s) used by redRes.

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)


patternize documentation built on Aug. 22, 2023, 5:07 p.m.