updateThreshold {scalpel}R Documentation

Review and update the chosen threshold for image segmentation in Step 1 of SCALPEL.

Description

We plot random frames from the video processed in Step 0 of SCALPEL with shading to indicate the smallest of the automatically chosen thresholds that will be used to perform image segmentation in Step 1 of SCALPEL. The user is given the option to try out different thresholds and if desired, update the threshold to use.

Usage

updateThreshold(step0Output)

Arguments

step0Output

An object of class scalpel or scalpelStep0, which result from running the scalpel or scalpelStep0 functions, respectively.

Value

An object identical to step0Output, except it may (depending on the user's decision) have lowThreshold updated.

See Also

scalpelStep0

Examples

## 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

#update the smallest threshold used for image segmentation in Step 1
scalpelOutput = updateThreshold(step0Output = scalpelOutput)

## End(Not run)

[Package scalpel version 1.0.3 Index]