Description Usage Arguments Value Examples
Create a Random Matrix: image-patch
1 | RandMatImagePatch(p, d, ih, iw, pwMin, pwMax, ...)
|
p |
the number of dimensions. |
d |
the number of desired columns in the projection matrix. |
ih |
the height (px) of the image. |
iw |
the width (px) of the image. |
pwMin |
the minimum patch size to sample. |
pwMax |
the maximum patch size to sample. |
... |
used to handle superfluous arguments passed in using paramList. |
A random matrix to use in running RerF
.
1 2 3 4 5 6 7 8 | p <- 28^2
d <- 8
ih <- iw <- 28
pwMin <- 3
pwMax <- 6
paramList <- list(p = p, d = d, ih = ih, iw = iw, pwMin = pwMin, pwMax = pwMax)
set.seed(8)
(a <- do.call(RandMatImagePatch, paramList))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.