forked from neurodata/SPORF
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRandMatImageControl.Rd
More file actions
40 lines (33 loc) · 952 Bytes
/
RandMatImageControl.Rd
File metadata and controls
40 lines (33 loc) · 952 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RandMat.R
\name{RandMatImageControl}
\alias{RandMatImageControl}
\title{Create a Random Matrix: image-control}
\usage{
RandMatImageControl(p, d, ih, iw, pwMin, pwMax, ...)
}
\arguments{
\item{p}{the number of dimensions.}
\item{d}{the number of desired columns in the projection matrix.}
\item{ih}{the height (px) of the image.}
\item{iw}{the width (px) of the image.}
\item{pwMin}{the minimum patch size to sample.}
\item{pwMax}{the maximum patch size to sample.}
\item{...}{used to handle superfluous arguments passed in using paramList.}
}
\value{
A random matrix to use in running \code{\link{RerF}}.
}
\description{
Create a Random Matrix: image-control
}
\examples{
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(RandMatImageControl, paramList))
}