Description Usage Arguments Value See Also Examples
We plot a specified frame of the raw video that we began with in Step 0 of SCALPEL, or the processed video that results from Step 0 of SCALPEL.
1 2 3 4 5 6 7 8 9 10 11 |
scalpelOutput |
An object returned by one of the SCALPEL functions:
|
frame |
The frame to plot. |
videoType |
Specify whether to plot the processed data from Step 0 (default; |
shrinkLargest |
Logical value indicating whether the values above |
shrinkCutoff |
The value above which pixel values will be shrunk. By default, this will be chosen as
|
title |
Label for the title. By default, it is the frame number. |
col |
Vector of colors to use, which by default is grayscale. |
addToPlot |
Logical value indicating whether to add to the current plot. |
Y |
An object of class |
None
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | ## 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
#simplest example with default parameters:
plotFrame(scalpelOutput = scalpelOutput, frame = 100)
#example with optional parameters:
#plot raw data instead of processed
plotFrame(scalpelOutput = scalpelOutput, frame = 100, videoType = "raw")
#same plot but if you have video data read in already
#using 'getY' function, you can provide it
rawY = getY(scalpelOutput = scalpelOutput, videoType = "raw")
plotFrame(scalpelOutput = scalpelOutput, frame = 100, Y = rawY)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.