plotFacialKeypoints: Plot some images incl. keypoints

Usage Arguments Examples

View source: R/helper.R

Usage

1
2
3
plotFacialKeypoints(imgSet, imgIndex, keypointPositions = NULL,
  meanIntensity = NULL, histEqualize = FALSE, order = c("normalize",
  "equalize"))

Arguments

imgSet

The image set as Matrix with 9216 columns

imgIndex

The index of the image that should be plotted

keypointPositions

The keypoint positions as data.frame

meanIntensity

Value between 0 and 255 determining the average intensity the printed image should have

histEqualize

If set to true the image will be histogram equalized before printing

order

Determines wether the image should be normalized or equalized first if both functions should be applied

Examples

1
2
3
4
plotFacialKeypoints(im.train, 1, d.train)
plotFacialKeypoints(im.test, 1)
plotFacialKeypoints(im.train.equalized, 1, d.train)
plotFacialKeypoints(im.test.equalized, 1)

lstegger/fkdR documentation built on May 21, 2019, 8:40 a.m.