Description Usage Arguments Value Examples
The specified data set is loaded (images that have been loaded with load_pgm_images
before) and face images are converted to face vectors. The mean face is subtracted from all face vectors. Subsequently, the covariance matrix is computed and eigenvalues and corresponding eigenvectors (the eigenfaces) are determined.
1 | load_dataset(images, max_eigenfaces = 0L, standardized = TRUE)
|
images |
double array; Images for which eigenfaces will be computed. (required) |
max_eigenfaces |
integer; Number of eigenfaces that will be computed. (optional) |
standardized |
logical; Specify whether or not images should be standerdized (subtract mean image from every image). (optional) |
A list containing the eigenfaces and other information (?dataset
for more information).
1 2 3 4 | ## Not run:
my_dataset <- load_dataset(my_dataset_images, max_eigenfaces=100L, standardized=TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.