View source: R/thresholdPlot.R
thresholdPlot | R Documentation |
Plot a selected image from the image stack with values below threshold set to black (grayscale = 0). Can be used to select threshold and cutoff values used in good.fibes.
thresholdPlot(images, n, threshold)
images |
A character vector of image stack file names. Generated with list.files |
n |
The number of the selected image in the vector "images" |
threshold |
The cutoff value for grayscale values. All voxels with grayscales below threshold will be displayed as black. |
Returns a plot
J. Arbour
Arbour, J. In Prep. GoodFibes: an R package for the detection of muscle fibers from diceCT scans.
sequencePlot
images <- dir(system.file("extdata", package = "GoodFibes"), ".png", full.names = TRUE)
thresholdPlot(images, 1, 0.3)
thresholdPlot(images, 1, 0.4)
thresholdPlot(images, 1, 0.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.