Description Usage Arguments Value Examples
View source: R/SCALPEL_helper.R
This step allows the user to read in Y, the matrix of raw or processed video data, to use with several plotting functions.
1 |
scalpelOutput |
An object returned by one of the SCALPEL functions:
|
videoType |
Specify whether to read in the processed data from Step 0 (default; |
part |
The part of the video to read in, if it is split across multiple files. The default is NULL, which means that all parts will be read in and combined. |
An object of class scalpelY
that can be provided as the Y
argument in plotFrame
,
plotVideoVariance
, plotBrightest
, plotThresholdedFrame
, and plotCandidateFrame
.
If would like to call these functions many times, this avoids reading the video into memory repeatedly.
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
### many of the functions in this package are interconnected so the
### easiest way to learn to use the package is by working through the vignette,
### which is available at ajpete.com/software
#assumes you have run the example for the "scalpel" function
#read in the raw data
rawY = getY(scalpelOutput = scalpelOutput, videoType = "raw")
#read in the processed data from Step 0
processedY = getY(scalpelOutput = scalpelOutput, videoType = "processed")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.