Description Usage Arguments Value
View source: R/multiple_processing_threshold_v3.R
Using pre-determined values this function generates ROI from a video. If parameters are not known, use select_roi() This function is optimized to run in parallel, so should be relatively rapid. If running slowly, check the scratch disk is set correctly.
1 2 3 4 5 6 7 8 9 10 11 12 | threshold_apply(
threshold = 0.5,
roi_name = "test",
video_path = "image826.avi",
radians = 0.217604550320612,
xlength = 60,
ylength = 242,
xstart = 696,
ystart = 323,
image_list = NULL,
fps = NULL
)
|
threshold |
The threshold for the red channel. Range 0-1. |
roi_name |
Name assigned to the region of interest |
video_path |
Location of the video file to process |
radians |
Degrees to rotate the image, in radians |
xlength |
Number of x pixels in the ROI |
ylength |
Number of y pixels in the ROI |
xstart |
ROI starting x co-ordinate |
ystart |
ROI starting y co-ordinate |
image_list |
If pre-computed, a list of images to use rather than a video |
fps |
Number of fps to process, this can be set lower for validation |
Saves the quantified CSV and overlaid video in the same directory as the video
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.