updateThreshold: Review and update the chosen threshold for image segmentation...

Description Usage Arguments Value See Also Examples

View source: R/SCALPEL_reviewNeurons.R

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

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## 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)

scalpel documentation built on Feb. 3, 2021, 9:05 a.m.