threshold_apply {vmeasur} | R Documentation |
Threshold a video with pre-determined parameters
Description
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.
Usage
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
)
Arguments
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 |
Value
Saves the quantified CSV and overlaid video in the same directory as the video
[Package vmeasur version 0.1.4 Index]