lanArray | R Documentation |
Morpho
.Build landmark array for Morpho
.
lanArray(sampleList, adjustCoords = FALSE, imageList = NULL, imageIDs = NULL)
sampleList |
List of landmark matrices as returned by |
adjustCoords |
Adjust landmark coordinates in case they are reversed compared to pixel coordinates (default = FALSE). |
imageList |
List of RasterStacks as returned by |
imageIDs |
A list of IDs to match landmarks to images if landmarkList and imageList don't have the same length. |
X x Y x n array, where X and Y define the coordinates of the landmark points and n is the sample size.
## Not run:
IDlist <- c('BC0077','BC0071','BC0050','BC0049','BC0004')
prepath <- system.file("extdata", package = 'patternize')
extension <- '_landmarks_LFW.txt'
landmarkList <- makeList(IDlist, 'landmark', prepath, extension)
landmarkArray <- lanArray(landmarkList)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.